// File: /workspace/github_cpp_makefile_star2_O1/lotuskip[P]yuxtapa/client/class_cpv.cpp
// Function: ClassCPV::state_upd(SerialBuffer&)
void ClassCPV::state_upd(SerialBuffer &data)
{
	char oldhp = hp;
	hp = static_cast<char>(data.read_ch());
	// if got hurt but not dead and ouch is defined, send ouch:
	if(hp > 0 && hp < oldhp && Config::do_ouch())
		Network::send_line(Config::get_ouch(), false);
	tohit = static_cast<char>(data.read_ch());
	dam_add = static_cast<char>(data.read_ch());
	dv = data.read_ch();
	poisoned = bool(data.read_ch());
	sector = e_Dir(data.read_ch());
	torch_sym[0] = data.read_ch();

	reprint_pcinfo();

	// if died, abort any action in the client end:
	if(hp <= 0)
	{
		if(clientstate == CS_AIMING || clientstate == CS_DIR)
			clientstate = CS_NORMAL;
		Base::print_walk((walkmode = false));
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rbx
movb 0x10334(%rip), %r14b    # 0x17d44
callq 0xf480
movb %al, 0x10329(%rip)      # 0x17d44
testb %al, %al
jle 0x7a3c
cmpb %r14b, %al
jge 0x7a3c
callq 0xe0ae
testb %al, %al
je 0x7a3c
callq 0xe0a1
movq %rax, %rdi
xorl %esi, %esi
callq 0xca58
movq %rbx, %rdi
callq 0xf480
movb %al, 0x102fe(%rip)      # 0x17d48
movq %rbx, %rdi
callq 0xf480
movb %al, 0x102f1(%rip)      # 0x17d49
movq %rbx, %rdi
callq 0xf480
movb %al, 0x102e0(%rip)      # 0x17d46
movq %rbx, %rdi
callq 0xf480
testb %al, %al
setne 0x102d3(%rip)           # 0x17d4a
movq %rbx, %rdi
callq 0xf480
movzbl %al, %eax
movl %eax, 0x102c4(%rip)     # 0x17d4c
movq %rbx, %rdi
callq 0xf480
movb %al, 0xf92a(%rip)       # 0x173c0
leaq -0x78(%rbp), %rax
movq %rax, -0x10(%rax)
movw $0x28, (%rax)
movq $0x1, -0x8(%rax)
movl 0x1029b(%rip), %eax     # 0x17d4c
shlq $0x5, %rax
leaq 0x10004(%rip), %rcx     # 0x17ac0
movq (%rax,%rcx), %rsi
movq 0x8(%rax,%rcx), %rdx
leaq -0x88(%rbp), %rdi
callq 0x4120
leaq 0x89a2(%rip), %rsi      # 0x1047a
leaq -0x88(%rbp), %rdi
callq 0x46f0
movq -0x88(%rbp), %rdi
movl 0xf8cb(%rip), %eax      # 0x173bc
leaq 0x8854(%rip), %rcx      # 0x1034c
movzbl (%rax,%rcx), %esi
movl $0x34, %edx
movl $0x3, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
movsbl 0x1022c(%rip), %esi     # 0x17d44
leaq -0xc8(%rbp), %rdi
callq 0xfe83
leaq 0x8952(%rip), %rcx      # 0x1047d
leaq -0xc8(%rbp), %rdi
movl $0x4, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
leaq -0x98(%rbp), %r15
movq %r15, -0x10(%r15)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7b6e
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x7b75
movups (%rcx), %xmm0
movups %xmm0, (%r15)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rdi), %rsi
movl $0x1, %ecx
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x46e0
leaq -0x58(%rbp), %r13
movq %r13, -0x10(%r13)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7bcd
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x7bd5
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0xf7c6(%rip), %eax      # 0x173b8
leaq (%rax,%rax,2), %rcx
leaq (%rax,%rcx,4), %rax
leaq 0x874f(%rip), %rcx      # 0x10350
movsbl 0x3(%rcx,%rax), %esi
leaq -0xe8(%rbp), %rdi
callq 0xfe83
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xe0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x7c33
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7c56
leaq -0xd8(%rbp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x7c51
movq -0xd8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7c68
movq -0xe8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x4120
jmp 0x7c78
leaq -0xe8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
leaq -0x38(%rbp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x7c99
movq %rsi, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x7c9f
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x88(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0x4490
movq (%rbx), %rdi
leaq -0x38(%rbp), %r14
cmpq %r14, %rdi
je 0x7ce6
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43a0
leaq -0xd8(%rbp), %r12
movq -0x10(%r12), %rdi
cmpq %r12, %rdi
je 0x7d06
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x7d1b
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7d36
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43a0
leaq -0xb8(%rbp), %r15
movq -0x10(%r15), %rdi
cmpq %r15, %rdi
je 0x7d55
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpq $0x9, -0x80(%rbp)
ja 0x7d77
leaq -0x88(%rbp), %rbx
movq %rbx, %rdi
movl $0x20, %esi
callq 0x4310
cmpq $0xa, -0x80(%rbp)
jb 0x7d63
movq -0x88(%rbp), %rdi
movl 0xf638(%rip), %eax      # 0x173bc
leaq 0x85c1(%rip), %rcx      # 0x1034c
movzbl (%rax,%rcx), %esi
movl $0x25, %edx
movl $0x4, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
movsbl 0xff9b(%rip), %esi      # 0x17d46
leaq -0xc8(%rbp), %rdi
callq 0xfe83
leaq 0x86c4(%rip), %rcx      # 0x10482
leaq -0xc8(%rbp), %rdi
movl $0x6, %r8d
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
leaq -0x98(%rbp), %rsi
movq %rsi, -0xa8(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7e04
movq %rdx, -0xa8(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x98(%rbp)
jmp 0x7e0a
movups (%rcx), %xmm0
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
leaq -0xa8(%rbp), %rdi
movq %rdx, 0x8(%rdi)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq 0x8(%rdi), %rsi
movl $0x1, %ecx
xorl %edx, %edx
movl $0x2f, %r8d
callq 0x46e0
movq %r13, -0x68(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x7e5e
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x7e66
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movsbl 0xfec3(%rip), %esi      # 0x17d47
leaq -0xe8(%rbp), %rdi
callq 0xfe83
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xe0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x7eb1
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7ed0
movl $0xf, %esi
cmpq %r12, -0xe8(%rbp)
je 0x7ecb
movq -0xd8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x7ee2
movq -0xe8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x4120
jmp 0x7ef2
leaq -0xe8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
movq %r14, -0x48(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x7f0f
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x7f16
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq -0x88(%rbp), %rdi
leaq -0x48(%rbp), %rbx
movq %rbx, %rsi
callq 0x4490
movq (%rbx), %rdi
cmpq %r14, %rdi
je 0x7f59
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x7f74
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x7f89
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x7fab
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x7fc6
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpq $0x9, -0x80(%rbp)
ja 0x7fe8
leaq -0x88(%rbp), %rbx
movq %rbx, %rdi
movl $0x20, %esi
callq 0x4310
cmpq $0xa, -0x80(%rbp)
jb 0x7fd4
movq -0x88(%rbp), %rdi
movl 0xf3c7(%rip), %eax      # 0x173bc
leaq 0x8350(%rip), %rcx      # 0x1034c
movzbl (%rax,%rcx), %esi
movl $0x25, %edx
movl $0x5, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
movq $0x0, -0x80(%rbp)
movq -0x88(%rbp), %rax
movb $0x0, (%rax)
cmpb $0x0, 0xfd1a(%rip)      # 0x17d48
jle 0x8041
leaq -0x88(%rbp), %rdi
movl $0x2b, %esi
callq 0x4310
movsbl 0xfd00(%rip), %esi      # 0x17d48
leaq -0xa8(%rbp), %rdi
callq 0xfe83
leaq 0x842e(%rip), %rsi      # 0x10489
leaq -0xa8(%rbp), %rdi
callq 0x46f0
movq %r13, -0x68(%rbp)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0x8087
movq %rdx, -0x68(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x58(%rbp)
jmp 0x808f
movups (%rcx), %xmm0
movups %xmm0, (%r13)
movq 0x8(%rax), %rdx
movq %rdx, -0x60(%rbp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movsbl 0xfc98(%rip), %esi      # 0x17d45
leaq -0xc8(%rbp), %rdi
callq 0xfe83
movq -0x68(%rbp), %rcx
movq -0x60(%rbp), %r8
movq -0xc0(%rbp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r13, %rcx
je 0x80da
movq -0x58(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x80f9
movl $0xf, %esi
cmpq %r15, -0xc8(%rbp)
je 0x80f4
movq -0xb8(%rbp), %rsi
cmpq %rsi, %rax
jbe 0x810b
movq -0xc8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x4120
jmp 0x811b
leaq -0xc8(%rbp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x4410
movq %r14, -0x48(%rbp)
movq (%rax), %rdx
leaq 0x10(%rax), %rcx
cmpq %rcx, %rdx
je 0x8138
movq %rdx, -0x48(%rbp)
movq (%rcx), %rdx
movq %rdx, -0x38(%rbp)
jmp 0x813f
movups (%rcx), %xmm0
movups %xmm0, (%r14)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, -0x40(%rbp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x4120
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x8184
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x819f
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
leaq -0x98(%rbp), %rbx
je 0x81bb
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
movq -0xa8(%rbp), %rdi
cmpq %rbx, %rdi
je 0x81d6
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpb $0x0, 0xfb6c(%rip)      # 0x17d49
jle 0x81f0
leaq -0x88(%rbp), %rdi
movl $0x2b, %esi
callq 0x4310
movsbl 0xfb52(%rip), %esi      # 0x17d49
testl %esi, %esi
je 0x822d
leaq -0x48(%rbp), %rdi
callq 0xfe83
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
leaq -0x88(%rbp), %rdi
callq 0x4120
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x822d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpq $0x9, -0x80(%rbp)
ja 0x824f
leaq -0x88(%rbp), %rbx
movq %rbx, %rdi
movl $0x20, %esi
callq 0x4310
cmpq $0xa, -0x80(%rbp)
jb 0x823b
movq -0x88(%rbp), %rdi
movl 0xf160(%rip), %eax      # 0x173bc
leaq 0x80e9(%rip), %rcx      # 0x1034c
movzbl (%rax,%rcx), %esi
movl $0x25, %edx
movl $0x6, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
leaq -0x88(%rbp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x81ff(%rip), %rax      # 0x1048d
leaq 0x81da(%rip), %rcx      # 0x1046f
cmpb $0x0, 0xfaae(%rip)      # 0x17d4a
cmovneq %rax, %rcx
movl $0xa, %r8d
xorl %esi, %esi
callq 0x45b0
movq -0x88(%rbp), %rdi
movl 0xf102(%rip), %eax      # 0x173bc
leaq 0x808b(%rip), %rcx      # 0x1034c
movzbl (%rax,%rcx), %esi
movl $0x25, %edx
movl $0x7, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
leaq 0xf0df(%rip), %rdi      # 0x173c0
movl $0x41, %esi
movl $0x33, %edx
movl $0x4, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x68af
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x8317
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x43a0
cmpb $0x0, 0xfa26(%rip)      # 0x17d44
jg 0x8348
leaq 0xfb59(%rip), %rax      # 0x17e80
movl (%rax), %ecx
andl $-0x2, %ecx
cmpl $0x6, %ecx
jne 0x8337
movl $0x0, (%rax)
leaq 0xfb46(%rip), %rax      # 0x17e84
movb $0x0, (%rax)
xorl %edi, %edi
callq 0x6d03
addq $0xc8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x84fe
movq -0x38(%rbp), %rsi
jmp 0x84e9
jmp 0x84fb
movq %rax, %rbx
movq -0x48(%rbp), %rdi
cmpq %r14, %rdi
je 0x8395
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x8395
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
je 0x83b5
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x83b5
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x83cf
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x83cf
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x84fe
movq -0x98(%rbp), %rsi
jmp 0x84e9
jmp 0x84fb
movq %rax, %rbx
movq -0xe8(%rbp), %rdi
cmpq %r12, %rdi
je 0x841a
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x841a
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x8434
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x8434
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
leaq -0x98(%rbp), %rax
cmpq %rax, %rdi
je 0x845b
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x845b
movq %rax, %rbx
movq -0xc8(%rbp), %rdi
cmpq %r15, %rdi
jne 0x84e2
jmp 0x84fe
jmp 0x84fb
movq %rax, %rbx
leaq -0xd8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x8498
movq -0xd8(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x8498
movq %rax, %rbx
movq -0x68(%rbp), %rdi
cmpq %r13, %rdi
je 0x84b2
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x84b2
movq %rax, %rbx
movq -0xa8(%rbp), %rdi
cmpq %r15, %rdi
je 0x84d2
movq -0x98(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x84d2
movq %rax, %rbx
leaq -0xb8(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x84fe
movq -0xb8(%rbp), %rsi
incq %rsi
callq 0x43a0
jmp 0x84fe
jmp 0x84fb
jmp 0x84fb
jmp 0x84fb
jmp 0x84fb
movq %rax, %rbx
movq -0x88(%rbp), %rdi
leaq -0x78(%rbp), %rax
cmpq %rax, %rdi
je 0x851a
movq -0x78(%rbp), %rsi
incq %rsi
callq 0x43a0
movq %rbx, %rdi
callq 0x4670
nop