// File: /workspace/github_cpp_makefile_star2_O2/yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Reply::Reply(char*)
Reply(char* s) {
        Deserializable* ds = new Deserializable();
        char* payload = JSONHelper::getPayloadValue(s)->c_str();
        kind_ = (enum MsgKind)std::stoi(JSONHelper::getValueFromKey("kind_", payload)->c_str());
        sender_ = std::stoi(JSONHelper::getValueFromKey("sender_", payload)->c_str());
        target_ = std::stoi(JSONHelper::getValueFromKey("target_", payload)->c_str());
        id_ = std::stoi(JSONHelper::getValueFromKey("id_", payload)->c_str());
        char* serialData = JSONHelper::getValueFromKey("msg_", payload)->c_str();
        if(JSONHelper::isObject(serialData)) {
            reply_msg_ = ds->deserialize(serialData)->serialize();
        } else {
            reply_msg_ = serialData;
        }
        reply_msg_ = JSONHelper::getValueFromKey("msg_", payload)->c_str();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
andq $0x0, 0x8(%rdi)
movq %rsi, %rdi
leaq 0xf50d(%rip), %rax      # 0x24a80
movq %rax, (%rbx)
callq 0xc014
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r14
leaq 0x2ce8(%rip), %rdi      # 0x18276
movq %rax, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
movl %eax, 0x10(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x2cac(%rip), %rdi      # 0x1827c
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x18(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x2c6f(%rip), %rdi      # 0x18284
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x20(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x2f6d(%rip), %rdi      # 0x185c7
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
leaq -0x40(%rbp), %rdi
leaq -0x19(%rbp), %rdx
movq %rax, %rsi
callq 0x70f0
leaq -0x40(%rbp), %rdi
pushq $0xa
popq %rdx
xorl %esi, %esi
callq 0x771e
cltq
movq %rax, 0x28(%rbx)
leaq -0x40(%rbp), %rdi
callq 0x7120
leaq 0x38e9(%rip), %rdi      # 0x18f88
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, %r15
movq %rax, %rdi
callq 0xc2d4
testb %al, %al
je 0x156d3
movq %r15, %rsi
callq 0x12f4c
movq (%rax), %rcx
movq %rax, %rdi
callq *0x38(%rcx)
movq %rax, %r15
movq %r15, 0x30(%rbx)
leaq 0x38aa(%rip), %rdi      # 0x18f88
movq %r14, %rsi
callq 0xc140
movq (%rax), %rcx
movq %rax, %rdi
callq *0x30(%rcx)
movq %rax, 0x30(%rbx)
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
jmp 0x1570a
jmp 0x15720
jmp 0x1570a
jmp 0x15720
jmp 0x1570a
jmp 0x15720
movq %rax, %rbx
leaq -0x40(%rbp), %rdi
callq 0x7120
jmp 0x15723
jmp 0x15720
jmp 0x15720
jmp 0x15720
jmp 0x15720
movq %rax, %rbx
movq %rbx, %rdi
callq 0x7390
nop