// File: BohangZhang[P]Sorcery-C-Project/player.cc
// Function: Player::Player(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Player::Player(string name) : name{name} {
    hp = 20;
    magic = 3;
    ritual = shared_ptr<Ritual>(nullptr);
    deck = shared_ptr<Deck>(new Deck());
    hand = shared_ptr<Hand>(new Hand());
    slot = shared_ptr<Slot>(new Slot());
    graveyard = shared_ptr<Graveyard>(new Graveyard());
    game = shared_ptr<Game>(nullptr);
    database = shared_ptr<Database>(nullptr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
movq %rdi, %rax
movq %rax, -0xe8(%rbp)
callq 0x6100
movq -0xb0(%rbp), %rdi
addq $0x28, %rdi
movq %rdi, -0xe0(%rbp)
callq 0x3a6f0
movq -0xb0(%rbp), %rdi
addq $0x38, %rdi
movq %rdi, -0xd8(%rbp)
callq 0x3a710
movq -0xb0(%rbp), %rdi
addq $0x48, %rdi
movq %rdi, -0xd0(%rbp)
callq 0x3a730
movq -0xb0(%rbp), %rdi
addq $0x58, %rdi
movq %rdi, -0xc8(%rbp)
callq 0x3a750
movq -0xb0(%rbp), %rdi
addq $0x68, %rdi
movq %rdi, -0xa8(%rbp)
callq 0x13370
movq -0xb0(%rbp), %rdi
addq $0x78, %rdi
movq %rdi, -0xc0(%rbp)
callq 0x3a770
movq -0xb0(%rbp), %rdi
addq $0x88, %rdi
movq %rdi, -0xb8(%rbp)
callq 0x13400
movq -0xb0(%rbp), %rax
movl $0x14, 0x20(%rax)
movl $0x3, 0x24(%rax)
xorl %eax, %eax
movl %eax, %esi
leaq -0x20(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
callq 0x12e50
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0x3a790
movq -0xa0(%rbp), %rdi
callq 0x12e70
movl $0x20, %edi
callq 0x6290
movq %rax, -0x98(%rbp)
jmp 0x2a2ec
movq -0x98(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rdi)
movaps %xmm0, (%rdi)
callq 0x3a7c0
movq -0x98(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x3a7f0
jmp 0x2a314
movq -0xe8(%rbp), %rdi
addq $0x28, %rdi
leaq -0x30(%rbp), %rsi
movq %rsi, -0xf8(%rbp)
callq 0x3a820
movq -0xf8(%rbp), %rdi
callq 0x25da0
movl $0x18, %edi
callq 0x6290
movq %rax, -0xf0(%rbp)
jmp 0x2a34e
movq -0xf0(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0x3a850
movq -0xf0(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x3a870
jmp 0x2a37a
movq -0xe8(%rbp), %rdi
addq $0x38, %rdi
leaq -0x50(%rbp), %rsi
movq %rsi, -0x108(%rbp)
callq 0x3a8a0
movq -0x108(%rbp), %rdi
callq 0x12e30
movl $0x18, %edi
callq 0x6290
movq %rax, -0x100(%rbp)
jmp 0x2a3b4
movq -0x100(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0x3a8d0
movq -0x100(%rbp), %rsi
leaq -0x60(%rbp), %rdi
callq 0x3a8f0
jmp 0x2a3e0
movq -0xe8(%rbp), %rdi
addq $0x48, %rdi
leaq -0x60(%rbp), %rsi
movq %rsi, -0x118(%rbp)
callq 0x3a920
movq -0x118(%rbp), %rdi
callq 0x12b30
movl $0x18, %edi
callq 0x6290
movq %rax, -0x110(%rbp)
jmp 0x2a41a
movq -0x110(%rbp), %rdi
xorps %xmm0, %xmm0
movaps %xmm0, (%rdi)
movq $0x0, 0x10(%rdi)
callq 0x3a950
movq -0x110(%rbp), %rsi
leaq -0x70(%rbp), %rdi
callq 0x3a970
jmp 0x2a446
movq -0xe8(%rbp), %rdi
addq $0x58, %rdi
leaq -0x70(%rbp), %rsi
callq 0x3a9a0
leaq -0x70(%rbp), %rdi
callq 0x3a9d0
leaq -0x80(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x12e90
movq -0xe8(%rbp), %rdi
addq $0x88, %rdi
leaq -0x80(%rbp), %rsi
callq 0x3a9f0
leaq -0x80(%rbp), %rdi
callq 0x12a70
leaq -0x90(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x3aa20
movq -0xe8(%rbp), %rdi
addq $0x78, %rdi
leaq -0x90(%rbp), %rsi
callq 0x3aa40
leaq -0x90(%rbp), %rdi
callq 0x15bd0
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq -0xb8(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
callq 0x12a70
movq -0xc0(%rbp), %rdi
callq 0x15bd0
movq -0xa8(%rbp), %rdi
callq 0x12e70
movq -0xc8(%rbp), %rdi
callq 0x3a9d0
movq -0xd0(%rbp), %rdi
callq 0x12b30
movq -0xd8(%rbp), %rdi
callq 0x12e30
movq -0xe0(%rbp), %rdi
callq 0x25da0
movq -0xb0(%rbp), %rdi
callq 0x64c8
movq -0x38(%rbp), %rdi
callq 0x6460
nopw %cs:(%rax,%rax)