// File: tyhsu[P]Ewn/tree_node.cpp
// Function: Tree_node::node_status()
void Tree_node::node_status() {
	cout << "vvvvvvvvvvvvvvv NODE_STATUS vvvvvvvvvvvvvvv" << endl;
	cout << "node : " << this << endl;
	this->game.print_board();
	this->game.print_status();
	printf("win_count: %d, visit: %d, status: %d\n", this->win_count, this->visit_count, this->game_status);

	printf("check in board                  :");
	for(int i = 0; i < 18; i ++ )
		printf("%c ", this->game.check_in_board(Movement(i/3, i%3)) ? 'T' : 'F'); printf("\n");

	printf("is exist                        :");
	for(int i = 0; i < 18; i ++ )
		printf("%c ", this->game.get_cur_chs_list(i/3).exist ? 'T' : 'F'); printf("\n");
	cout << "^^^^^^^^^^^^^^^ NODE_STATUS ^^^^^^^^^^^^^^^" << endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movq 0xa4fd(%rip), %rdi      # 0x11fc8
leaq 0x5c36(%rip), %rsi      # 0xd708
callq 0x2150
movq %rax, %rdi
movq 0xa4d7(%rip), %rsi      # 0x11fb8
callq 0x2190
movq 0xa4db(%rip), %rdi      # 0x11fc8
leaq 0x5c40(%rip), %rsi      # 0xd734
callq 0x2150
movq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x20f0
movq %rax, %rdi
movq 0xa4a9(%rip), %rsi      # 0x11fb8
callq 0x2190
movq -0x48(%rbp), %rdi
addq $0x10, %rdi
callq 0xab80
movq -0x48(%rbp), %rdi
addq $0x10, %rdi
callq 0xb4b0
movq -0x48(%rbp), %rax
movl (%rax), %esi
movl 0x4(%rax), %edx
movl 0x8(%rax), %ecx
leaq 0x5bfb(%rip), %rdi      # 0xd73c
movb $0x0, %al
callq 0x2030
leaq 0x5c13(%rip), %rdi      # 0xd762
movb $0x0, %al
callq 0x2030
movl $0x0, -0xc(%rbp)
cmpl $0x12, -0xc(%rbp)
jge 0x7be2
movq -0x48(%rbp), %rax
addq $0x10, %rax
movq %rax, -0x58(%rbp)
movl -0xc(%rbp), %eax
movl $0x3, %ecx
cltd
idivl %ecx
movl %eax, -0x18(%rbp)
movl -0xc(%rbp), %eax
movl $0x3, %ecx
cltd
idivl %ecx
movl %edx, -0x1c(%rbp)
leaq -0x14(%rbp), %rdi
leaq -0x18(%rbp), %rsi
leaq -0x1c(%rbp), %rdx
callq 0x7cc0
movq -0x58(%rbp), %rdi
leaq -0x14(%rbp), %rsi
callq 0xafe0
movb %al, %cl
movb $0x54, %al
movb $0x46, %dl
movb %dl, -0x4a(%rbp)
testb $0x1, %cl
movb %al, -0x49(%rbp)
jne 0x7bc0
movb -0x4a(%rbp), %al
movb %al, -0x49(%rbp)
movb -0x49(%rbp), %al
movsbl %al, %esi
leaq 0x5bb7(%rip), %rdi      # 0xd784
movb $0x0, %al
callq 0x2030
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x7b5d
leaq 0x5b77(%rip), %rdi      # 0xd760
movb $0x0, %al
callq 0x2030
leaq 0x5b91(%rip), %rdi      # 0xd788
movb $0x0, %al
callq 0x2030
movl $0x0, -0x20(%rbp)
cmpl $0x12, -0x20(%rbp)
jge 0x7c83
movq -0x48(%rbp), %rdi
addq $0x10, %rdi
movslq -0x20(%rbp), %rax
imulq $0x55555556, %rax, %rax # imm = 0x55555556
movq %rax, %rcx
shrq $0x3f, %rcx
shrq $0x20, %rax
addl %ecx, %eax
movl %eax, -0x30(%rbp)
leaq -0x30(%rbp), %rsi
callq 0xb810
movl %edx, -0x38(%rbp)
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x2c(%rbp)
movl -0x38(%rbp), %eax
movl %eax, -0x24(%rbp)
movb -0x2b(%rbp), %cl
movb $0x54, %al
movb $0x46, %dl
movb %dl, -0x5a(%rbp)
testb $0x1, %cl
movb %al, -0x59(%rbp)
jne 0x7c64
movb -0x5a(%rbp), %al
movb %al, -0x59(%rbp)
movb -0x59(%rbp), %al
movsbl %al, %esi
leaq 0x5b13(%rip), %rdi      # 0xd784
movb $0x0, %al
callq 0x2030
movl -0x20(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x20(%rbp)
jmp 0x7c05
leaq 0x5ad6(%rip), %rdi      # 0xd760
movb $0x0, %al
callq 0x2030
movq 0xa330(%rip), %rdi      # 0x11fc8
leaq 0x5b0b(%rip), %rsi      # 0xd7aa
callq 0x2150
movq %rax, %rdi
movq 0xa30a(%rip), %rsi      # 0x11fb8
callq 0x2190
addq $0x60, %rsp
popq %rbp
retq
nopl (%rax)