; ; ColorSelectPopup::onToggleTintMode from 0x1007281d0 to 0x10072827b (171 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::init @ 0x100725bff ; ; 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, 0x1007281d0 mov rbp, rsp ; +0x1, 0x1007281d1 push r14 ; +0x4, 0x1007281d4 push rbx ; +0x6, 0x1007281d6 mov eax, [rdi+428h] ; +0x7, 0x1007281d7 xor ecx, ecx ; +0xd, 0x1007281dd cmp eax, 1 ; +0xf, 0x1007281df setnz cl ; +0x12, 0x1007281e2 mov [rdi+428h], ecx ; +0x15, 0x1007281e5 mov rcx, [rdi+290h] ; +0x1b, 0x1007281eb test rcx, rcx ; +0x22, 0x1007281f2 jz short loc_100728206 ; +0x25, 0x1007281f5 cmp eax, 1 ; +0x27, 0x1007281f7 setnz byte ptr [rcx+5CFh] ; +0x2a, 0x1007281fa pop rbx ; +0x31, 0x100728201 pop r14 ; +0x32, 0x100728202 pop rbp ; +0x34, 0x100728204 retn ; +0x35, 0x100728205 mov rbx, rdi ; +0x36, 0x100728206 mov rdi, [rdi+298h] ; +0x39, 0x100728209 test rdi, rdi ; +0x40, 0x100728210 jz short loc_100728263 ; +0x43, 0x100728213 call sub_100720070 ; +0x45, 0x100728215 test eax, eax ; +0x4a, 0x10072821a jz short loc_100728201 ; +0x4c, 0x10072821c xor r14d, r14d ; +0x4e, 0x10072821e nop word ptr [rax+rax+00000000h] ; +0x51, 0x100728221 mov rdi, [rbx+298h] ; +0x60, 0x100728230 mov esi, r14d ; +0x67, 0x100728237 call sub_1007200C0 ; +0x6a, 0x10072823a cmp dword ptr [rbx+428h], 0 ; +0x6f, 0x10072823f setnz byte ptr [rax+5CFh] ; +0x76, 0x100728246 inc r14d ; +0x7d, 0x10072824d mov rdi, [rbx+298h] ; +0x80, 0x100728250 call sub_100720070 ; +0x87, 0x100728257 cmp r14d, eax ; +0x8c, 0x10072825c jb short loc_100728230 ; +0x8f, 0x10072825f jmp short loc_100728201 ; +0x91, 0x100728261 mov rcx, [rbx+430h] ; +0x93, 0x100728263 test rcx, rcx ; +0x9a, 0x10072826a jz short loc_100728201 ; +0x9d, 0x10072826d cmp eax, 1 ; +0x9f, 0x10072826f setnz byte ptr [rcx+54h] ; +0xa2, 0x100728272 pop rbx ; +0xa6, 0x100728276 pop r14 ; +0xa7, 0x100728277 pop rbp ; +0xa9, 0x100728279 retn ; +0xaa, 0x10072827a