// File: yasz24[P]eau2/src/network/../serialize/../network/network.h
// Function: Register::Register(char*)
Register(char* s) {
        char* payload = JSONHelper::getPayloadValue(s)->c_str();
        //std::cout << "payload: " << payload << "\n";
        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());
        port_ = std::stoi(JSONHelper::getValueFromKey("port", payload)->c_str());
        client = JSONHelper::getValueFromKey("client", s)->c_str();
        //std::cout << "here\n";
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1c0, %rsp            # imm = 0x1C0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x100(%rbp)
callq 0x9b00
movq -0x100(%rbp), %rax
leaq 0x1313f(%rip), %rcx     # 0x3a270
movq %rcx, (%rax)
movq -0x10(%rbp), %rdi
callq 0x12b70
movq %rax, -0xf8(%rbp)
jmp 0x27146
movq -0xf8(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x108(%rbp)
jmp 0x2715f
movq -0x108(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
leaq 0x5186(%rip), %rdi      # 0x2c2fb
callq 0x12db0
movq %rax, -0x110(%rbp)
jmp 0x27183
movq -0x110(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x118(%rbp)
jmp 0x2719c
leaq -0x49(%rbp), %rdi
movq %rdi, -0x120(%rbp)
callq 0x8410
movq -0x118(%rbp), %rsi
movq -0x120(%rbp), %rdx
leaq -0x48(%rbp), %rdi
callq 0x8310
jmp 0x271c5
xorl %eax, %eax
movl %eax, %esi
leaq -0x48(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x124(%rbp)
jmp 0x271df
movq -0x100(%rbp), %rax
movl -0x124(%rbp), %ecx
movl %ecx, 0x10(%rax)
leaq -0x48(%rbp), %rdi
callq 0x8190
leaq -0x49(%rbp), %rdi
callq 0x82d0
movq -0x18(%rbp), %rsi
leaq 0x50f5(%rip), %rdi      # 0x2c301
callq 0x12db0
movq %rax, -0x130(%rbp)
jmp 0x2721a
movq -0x130(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x138(%rbp)
jmp 0x27233
leaq -0x71(%rbp), %rdi
movq %rdi, -0x140(%rbp)
callq 0x8410
movq -0x138(%rbp), %rsi
movq -0x140(%rbp), %rdx
leaq -0x70(%rbp), %rdi
callq 0x8310
jmp 0x2725c
xorl %eax, %eax
movl %eax, %esi
leaq -0x70(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x144(%rbp)
jmp 0x27276
movq -0x100(%rbp), %rax
movl -0x144(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x18(%rax)
leaq -0x70(%rbp), %rdi
callq 0x8190
leaq -0x71(%rbp), %rdi
callq 0x82d0
movq -0x18(%rbp), %rsi
leaq 0x5062(%rip), %rdi      # 0x2c309
callq 0x12db0
movq %rax, -0x150(%rbp)
jmp 0x272b5
movq -0x150(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x158(%rbp)
jmp 0x272ce
leaq -0x99(%rbp), %rdi
movq %rdi, -0x160(%rbp)
callq 0x8410
movq -0x158(%rbp), %rsi
movq -0x160(%rbp), %rdx
leaq -0x98(%rbp), %rdi
callq 0x8310
jmp 0x272fd
xorl %eax, %eax
movl %eax, %esi
leaq -0x98(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x164(%rbp)
jmp 0x2731a
movq -0x100(%rbp), %rax
movl -0x164(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x20(%rax)
leaq -0x98(%rbp), %rdi
callq 0x8190
leaq -0x99(%rbp), %rdi
callq 0x82d0
movq -0x18(%rbp), %rsi
leaq 0x52fb(%rip), %rdi      # 0x2c64c
callq 0x12db0
movq %rax, -0x170(%rbp)
jmp 0x2735f
movq -0x170(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x178(%rbp)
jmp 0x27378
leaq -0xc1(%rbp), %rdi
movq %rdi, -0x180(%rbp)
callq 0x8410
movq -0x178(%rbp), %rsi
movq -0x180(%rbp), %rdx
leaq -0xc0(%rbp), %rdi
callq 0x8310
jmp 0x273a7
xorl %eax, %eax
movl %eax, %esi
leaq -0xc0(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x184(%rbp)
jmp 0x273c4
movq -0x100(%rbp), %rax
movl -0x184(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x28(%rax)
leaq -0xc0(%rbp), %rdi
callq 0x8190
leaq -0xc1(%rbp), %rdi
callq 0x82d0
movq -0x18(%rbp), %rsi
leaq 0x4fce(%rip), %rdi      # 0x2c3c9
callq 0x12db0
movq %rax, -0x190(%rbp)
jmp 0x27409
movq -0x190(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x198(%rbp)
jmp 0x27422
leaq -0xe9(%rbp), %rdi
movq %rdi, -0x1a0(%rbp)
callq 0x8410
movq -0x198(%rbp), %rsi
movq -0x1a0(%rbp), %rdx
leaq -0xe8(%rbp), %rdi
callq 0x8310
jmp 0x27451
xorl %eax, %eax
movl %eax, %esi
leaq -0xe8(%rbp), %rdi
movl $0xa, %edx
callq 0x89a0
movl %eax, -0x1a4(%rbp)
jmp 0x2746e
movq -0x100(%rbp), %rax
movl -0x1a4(%rbp), %ecx
movslq %ecx, %rcx
movq %rcx, 0x38(%rax)
leaq -0xe8(%rbp), %rdi
callq 0x8190
leaq -0xe9(%rbp), %rdi
callq 0x82d0
movq -0x10(%rbp), %rsi
leaq 0x4f29(%rip), %rdi      # 0x2c3ce
callq 0x12db0
movq %rax, -0x1b0(%rbp)
jmp 0x274b3
movq -0x1b0(%rbp), %rdi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
movq %rax, -0x1b8(%rbp)
jmp 0x274cc
movq -0x100(%rbp), %rax
movq -0x1b8(%rbp), %rcx
movq %rcx, 0x30(%rax)
addq $0x1c0, %rsp            # imm = 0x1C0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x275f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x2751b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x48(%rbp), %rdi
callq 0x8190
leaq -0x49(%rbp), %rdi
callq 0x82d0
jmp 0x275f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x2754c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x8190
leaq -0x71(%rbp), %rdi
callq 0x82d0
jmp 0x275f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x27580
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x8190
leaq -0x99(%rbp), %rdi
callq 0x82d0
jmp 0x275f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x275b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x8190
leaq -0xc1(%rbp), %rdi
callq 0x82d0
jmp 0x275f4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0x275e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
leaq -0xe8(%rbp), %rdi
callq 0x8190
leaq -0xe9(%rbp), %rdi
callq 0x82d0
movq -0x100(%rbp), %rdi
callq 0x9cb0
movq -0x20(%rbp), %rdi
callq 0x8400
nopl (%rax)