; ; ColorSelectPopup::onPlayerColor1 from 0x100727fc0 to 0x10072807e (190 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::init @ 0x100725a07 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbp ; +0x0, 0x100727fc0 mov rbp, rsp ; +0x1, 0x100727fc1 push r14 ; +0x4, 0x100727fc4 push rbx ; +0x6, 0x100727fc6 mov rbx, rdi ; +0x7, 0x100727fc7 mov rdi, [rdi+3F0h] ; +0xa, 0x100727fca xor esi, esi ; +0x11, 0x100727fd1 call CCMenuItemToggler__toggle ; +0x13, 0x100727fd3 mov ecx, [rbx+424h] ; +0x18, 0x100727fd8 xor eax, eax ; +0x1e, 0x100727fde cmp ecx, 1 ; +0x20, 0x100727fe0 setnz al ; +0x23, 0x100727fe3 mov [rbx+424h], eax ; +0x26, 0x100727fe6 mov rdx, [rbx+290h] ; +0x2c, 0x100727fec test rdx, rdx ; +0x33, 0x100727ff3 jz short loc_10072800E ; +0x36, 0x100727ff6 cmp ecx, 1 ; +0x38, 0x100727ff8 setnz byte ptr [rdx+5CDh] ; +0x3b, 0x100727ffb mov byte ptr [rdx+5CEh], 0 ; +0x42, 0x100728002 pop rbx ; +0x49, 0x100728009 pop r14 ; +0x4a, 0x10072800a pop rbp ; +0x4c, 0x10072800c retn ; +0x4d, 0x10072800d mov rdi, [rbx+298h] ; +0x4e, 0x10072800e test rdi, rdi ; +0x55, 0x100728015 jz short loc_10072806A ; +0x58, 0x100728018 call sub_100720070 ; +0x5a, 0x10072801a test eax, eax ; +0x5f, 0x10072801f jz short loc_100728009 ; +0x61, 0x100728021 xor r14d, r14d ; +0x63, 0x100728023 nop word ptr [rax+rax+00000000h] ; +0x66, 0x100728026 mov rdi, [rbx+298h] ; +0x70, 0x100728030 mov esi, r14d ; +0x77, 0x100728037 call sub_1007200C0 ; +0x7a, 0x10072803a cmp dword ptr [rbx+424h], 1 ; +0x7f, 0x10072803f setz byte ptr [rax+5CDh] ; +0x86, 0x100728046 mov byte ptr [rax+5CEh], 0 ; +0x8d, 0x10072804d inc r14d ; +0x94, 0x100728054 mov rdi, [rbx+298h] ; +0x97, 0x100728057 call sub_100720070 ; +0x9e, 0x10072805e cmp r14d, eax ; +0xa3, 0x100728063 jb short loc_100728030 ; +0xa6, 0x100728066 jmp short loc_100728009 ; +0xa8, 0x100728068 mov rcx, [rbx+430h] ; +0xaa, 0x10072806a test rcx, rcx ; +0xb1, 0x100728071 jz short loc_100728009 ; +0xb4, 0x100728074 mov [rcx+58h], eax ; +0xb6, 0x100728076 pop rbx ; +0xb9, 0x100728079 pop r14 ; +0xba, 0x10072807a pop rbp ; +0xbc, 0x10072807c retn ; +0xbd, 0x10072807d