// File: lotuskip[P]yuxtapa/client/base.cpp
// Function: Base::print_teams_upd(unsigned char, unsigned char, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
void Base::print_teams_upd(const unsigned char greens,
	const unsigned char purples, const std::string &obj_state_str)
{
	wmove(windows[STAT_WIN], 0, 0);
	change_colour(windows[STAT_WIN], BASE_LIGHT_GRAY);
	waddstr(windows[STAT_WIN], obj_state_str.c_str());
	wclrtoeol(windows[STAT_WIN]);

	wmove(windows[STAT_WIN], 1, 0);
	change_colour(windows[STAT_WIN], C_GREEN_PC);
	string str = "Green team: "
		+ lex_cast(greens)
		+ " players ";
	waddstr(windows[STAT_WIN], str.c_str());
	change_colour(windows[STAT_WIN], C_PURPLE_PC);
	str = " Purple team: "
		+ lex_cast(purples)
		+ " players";
	waddstr(windows[STAT_WIN], str.c_str());
	wclrtoeol(windows[STAT_WIN]);
	wrefresh(windows[STAT_WIN]);
	return_cursor(cursor_in_view);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x120, %rsp            # imm = 0x120
movb %sil, %al
movb %dil, %cl
movb %cl, -0x1(%rbp)
movb %al, -0x2(%rbp)
movq %rdx, -0x10(%rbp)
movq 0x1ef6e(%rip), %rdi     # 0x28ad0
xorl %edx, %edx
movl %edx, -0xec(%rbp)
movl %edx, %esi
callq 0x5300
movq 0x1ef58(%rip), %rdi     # 0x28ad0
movl $0x7, %esi
callq 0x9540
movq 0x1ef47(%rip), %rax     # 0x28ad0
movq %rax, -0xf8(%rbp)
movq -0x10(%rbp), %rdi
callq 0x5200
movq -0xf8(%rbp), %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5860
movq 0x1ef1c(%rip), %rdi     # 0x28ad0
callq 0x56e0
movl -0xec(%rbp), %edx
movq 0x1ef0a(%rip), %rdi     # 0x28ad0
movl $0x1, %esi
callq 0x5300
movq 0x1eef9(%rip), %rdi     # 0x28ad0
movl $0x1e, %esi
callq 0x9540
movzbl -0x1(%rbp), %esi
leaq -0x70(%rbp), %rdi
movq %rdi, -0xe8(%rbp)
callq 0x1b3b0
movq -0xe8(%rbp), %rdx
leaq 0x1246b(%rip), %rsi     # 0x1c06e
leaq -0x50(%rbp), %rdi
callq 0xa220
jmp 0x9c0e
leaq 0x12466(%rip), %rdx     # 0x1c07b
leaq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0xa1d0
jmp 0x9c24
leaq -0x50(%rbp), %rdi
callq 0x5968
leaq -0x70(%rbp), %rdi
callq 0x5968
movq 0x1ee93(%rip), %rax     # 0x28ad0
movq %rax, -0x100(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5200
movq -0x100(%rbp), %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5860
jmp 0x9c63
movq 0x1ee66(%rip), %rdi     # 0x28ad0
movl $0x1f, %esi
callq 0x9540
jmp 0x9c76
movzbl -0x2(%rbp), %esi
leaq -0xe0(%rbp), %rdi
callq 0x1b3b0
jmp 0x9c88
leaq 0x123f6(%rip), %rsi     # 0x1c085
leaq -0xc0(%rbp), %rdi
leaq -0xe0(%rbp), %rdx
callq 0xa220
jmp 0x9ca4
leaq 0x123e9(%rip), %rdx     # 0x1c094
leaq -0xa0(%rbp), %rdi
leaq -0xc0(%rbp), %rsi
callq 0xa1d0
jmp 0x9cc0
leaq -0x30(%rbp), %rdi
movq %rdi, -0x110(%rbp)
leaq -0xa0(%rbp), %rsi
movq %rsi, -0x118(%rbp)
callq 0x5600
movq -0x118(%rbp), %rdi
callq 0x5968
leaq -0xc0(%rbp), %rdi
callq 0x5968
leaq -0xe0(%rbp), %rdi
callq 0x5968
movq -0x110(%rbp), %rdi
movq 0x1edc0(%rip), %rax     # 0x28ad0
movq %rax, -0x108(%rbp)
callq 0x5200
movq -0x108(%rbp), %rdi
movq %rax, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x5860
jmp 0x9d32
movq 0x1ed97(%rip), %rdi     # 0x28ad0
callq 0x56e0
jmp 0x9d40
movq 0x1ed89(%rip), %rdi     # 0x28ad0
callq 0x55a0
jmp 0x9d4e
movzbl 0x1e76b(%rip), %edi     # 0x284c0
andl $0x1, %edi
callq 0x9690
jmp 0x9d5f
leaq -0x30(%rbp), %rdi
callq 0x5968
addq $0x120, %rsp            # imm = 0x120
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x9d94
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0x50(%rbp), %rdi
callq 0x5968
leaq -0x70(%rbp), %rdi
callq 0x5968
jmp 0x9de8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x9ddf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
jmp 0x9dd3
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x78(%rbp)
movl %eax, -0x7c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x5968
leaq -0xe0(%rbp), %rdi
callq 0x5968
leaq -0x30(%rbp), %rdi
callq 0x5968
movq -0x78(%rbp), %rdi
callq 0x5830
nopw %cs:(%rax,%rax)