; ; CharacterColorPage::activeColorForMode from 0x10065e790 to 0x10065e7e6 (86 bytes) ; ; 0 xrefs: ; ; 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, 0x10065e790 mov rbp, rsp ; +0x1, 0x10065e791 cmp esi, 2 ; +0x4, 0x10065e794 jz short loc_10065E7D0 ; +0x7, 0x10065e797 cmp esi, 1 ; +0x9, 0x10065e799 jz short loc_10065E7BA ; +0xc, 0x10065e79c xor eax, eax ; +0xe, 0x10065e79e test esi, esi ; +0x10, 0x10065e7a0 jnz short loc_10065E7E4 ; +0x12, 0x10065e7a2 call GameManager__sharedState ; +0x14, 0x10065e7a4 mov rcx, rax ; +0x19, 0x10065e7a9 mov eax, [rax+304h] ; +0x1c, 0x10065e7ac sub eax, [rcx+308h] ; +0x22, 0x10065e7b2 pop rbp ; +0x28, 0x10065e7b8 retn ; +0x29, 0x10065e7b9 call GameManager__sharedState ; +0x2a, 0x10065e7ba mov rcx, rax ; +0x2f, 0x10065e7bf mov eax, [rax+310h] ; +0x32, 0x10065e7c2 sub eax, [rcx+314h] ; +0x38, 0x10065e7c8 pop rbp ; +0x3e, 0x10065e7ce retn ; +0x3f, 0x10065e7cf call GameManager__sharedState ; +0x40, 0x10065e7d0 mov rcx, rax ; +0x45, 0x10065e7d5 mov eax, [rax+31Ch] ; +0x48, 0x10065e7d8 sub eax, [rcx+320h] ; +0x4e, 0x10065e7de pop rbp ; +0x54, 0x10065e7e4 retn ; +0x55, 0x10065e7e5