// File: yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Reply::Reply(char*, KVStore*)
Reply(char* s, KVStore* kv) {
        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, kv)->serialize();
        } else {
            reply_msg_ = serialData;
        }
        reply_msg_ = JSONHelper::getValueFromKey("msg_", payload)->c_str();
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1b0, %rsp            # imm = 0x1B0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xf0(%rbp)
callq 0x9b00
movq -0xf0(%rbp), %rax
leaq 0x10a03(%rip), %rcx     # 0x3bac8
movq %rcx, (%rax)
movl $0x1, %edi
callq 0x8290
movq %rax, -0xe8(%rbp)
jmp 0x2b0db
movq -0xe8(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0xf8(%rbp)
jmp 0x2b0f8
movq -0xf8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x100(%rbp)
jmp 0x2b111
movq -0x100(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rsi
leaq 0x11d4(%rip), %rdi      # 0x2c2fb
callq 0x12db0
movq %rax, -0x108(%rbp)
jmp 0x2b135
movq -0x108(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x110(%rbp)
jmp 0x2b14e
leaq -0x59(%rbp), %rdi
movq %rdi, -0x118(%rbp)
callq 0x8410
movq -0x110(%rbp), %rsi
movq -0x118(%rbp), %rdx
leaq -0x58(%rbp), %rdi
callq 0x8310
jmp 0x2b177
xorl %eax, %eax
movl %eax, %esi
leaq -0x58(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x11c(%rbp)
jmp 0x2b191
movq -0xf0(%rbp), %rax
movl -0x11c(%rbp), %ecx
movl %ecx, 0x10(%rax)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x1143(%rip), %rdi      # 0x2c301
callq 0x12db0
movq %rax, -0x128(%rbp)
jmp 0x2b1cc
movq -0x128(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x130(%rbp)
jmp 0x2b1e5
leaq -0x81(%rbp), %rdi
movq %rdi, -0x138(%rbp)
callq 0x8410
movq -0x130(%rbp), %rsi
movq -0x138(%rbp), %rdx
leaq -0x80(%rbp), %rdi
callq 0x8310
jmp 0x2b211
xorl %eax, %eax
movl %eax, %esi
leaq -0x80(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x13c(%rbp)
jmp 0x2b22b
movq -0xf0(%rbp), %rax
movl -0x13c(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x18(%rax)
leaq -0x80(%rbp), %rdi
callq 0x8190
leaq -0x81(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x10aa(%rip), %rdi      # 0x2c309
callq 0x12db0
movq %rax, -0x148(%rbp)
jmp 0x2b26d
movq -0x148(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x150(%rbp)
jmp 0x2b286
leaq -0xa9(%rbp), %rdi
movq %rdi, -0x158(%rbp)
callq 0x8410
movq -0x150(%rbp), %rsi
movq -0x158(%rbp), %rdx
leaq -0xa8(%rbp), %rdi
callq 0x8310
jmp 0x2b2b5
xorl %eax, %eax
movl %eax, %esi
leaq -0xa8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x15c(%rbp)
jmp 0x2b2d2
movq -0xf0(%rbp), %rax
movl -0x15c(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x20(%rax)
leaq -0xa8(%rbp), %rdi
callq 0x8190
leaq -0xa9(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x1343(%rip), %rdi      # 0x2c64c
callq 0x12db0
movq %rax, -0x168(%rbp)
jmp 0x2b317
movq -0x168(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x170(%rbp)
jmp 0x2b330
leaq -0xd1(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0x8410
movq -0x170(%rbp), %rsi
movq -0x178(%rbp), %rdx
leaq -0xd0(%rbp), %rdi
callq 0x8310
jmp 0x2b35f
xorl %eax, %eax
movl %eax, %esi
leaq -0xd0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x17c(%rbp)
jmp 0x2b37c
movq -0xf0(%rbp), %rax
movl -0x17c(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x28(%rax)
leaq -0xd0(%rbp), %rdi
callq 0x8190
leaq -0xd1(%rbp), %rdi
callq 0x82d0
movq -0x38(%rbp), %rsi
leaq 0x1c5d(%rip), %rdi      # 0x2d010
callq 0x12db0
movq %rax, -0x188(%rbp)
jmp 0x2b3c1
movq -0x188(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x190(%rbp)
jmp 0x2b3da
movq -0x190(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0xe0(%rbp), %rdi
callq 0x13010
testb $0x1, %al
jne 0x2b3fd
jmp 0x2b52b
movq -0x20(%rbp), %rdi
movq -0xe0(%rbp), %rsi
movq -0x18(%rbp), %rdx
callq 0x21400
movq %rax, -0x198(%rbp)
jmp 0x2b41a
movq -0x198(%rbp), %rdi
movq (%rdi), %rax
movq 0x38(%rax), %rax
callq *%rax
movq %rax, -0x1a0(%rbp)
jmp 0x2b433
movq -0xf0(%rbp), %rax
movq -0x1a0(%rbp), %rcx
movq %rcx, 0x30(%rax)
jmp 0x2b53d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2b58a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2b47e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x8190
leaq -0x59(%rbp), %rdi
callq 0x82d0
jmp 0x2b58a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2b4af
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x80(%rbp), %rdi
callq 0x8190
leaq -0x81(%rbp), %rdi
callq 0x82d0
jmp 0x2b58a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2b4e6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xa8(%rbp), %rdi
callq 0x8190
leaq -0xa9(%rbp), %rdi
callq 0x82d0
jmp 0x2b58a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x2b51d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xd0(%rbp), %rdi
callq 0x8190
leaq -0xd1(%rbp), %rdi
callq 0x82d0
jmp 0x2b58a
movq -0xf0(%rbp), %rax
movq -0xe0(%rbp), %rcx
movq %rcx, 0x30(%rax)
movq -0x38(%rbp), %rsi
leaq 0x1ac8(%rip), %rdi      # 0x2d010
callq 0x12db0
movq %rax, -0x1a8(%rbp)
jmp 0x2b556
movq -0x1a8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b0(%rbp)
jmp 0x2b56f
movq -0xf0(%rbp), %rax
movq -0x1b0(%rbp), %rcx
movq %rcx, 0x30(%rax)
addq $0x1b0, %rsp            # imm = 0x1B0
popq %rbp
retq
movq -0xf0(%rbp), %rdi
callq 0x9cb0
movq -0x28(%rbp), %rdi
callq 0x8400
nop