; ; ColorSelectPopup::updateCustomColorIdx from 0x14012c250 to 0x14012c2e9 (153 bytes) ; ; 6 xrefs: ; > ColorSelectPopup::onUpdateCustomColor @ 0x14012bc39 ; > ColorSelectPopup::textChanged @ 0x14012bd95 ; > ColorSelectPopup::colorSelectClosed @ 0x14012c73c ; > @ 0x1408987a0 ; > @ 0x1408987b0 ; > @ 0x140916c34 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:27:01 +0000 ; push rbx ; +0x0, 0x14012c250 sub rsp, 20h ; +0x2, 0x14012c252 mov eax, [rcx+480h] ; +0x6, 0x14012c256 mov rbx, rcx ; +0xc, 0x14012c25c mov ecx, 1 ; +0xf, 0x14012c25f cmp eax, ecx ; +0x14, 0x14012c264 cmovl eax, ecx ; +0x16, 0x14012c266 mov rcx, [rbx+2A8h] ; +0x19, 0x14012c269 mov [rbx+480h], eax ; +0x20, 0x14012c270 test rcx, rcx ; +0x26, 0x14012c276 jz short loc_14012C287 ; +0x29, 0x14012c279 mov [rcx+408h], eax ; +0x2b, 0x14012c27b add rsp, 20h ; +0x31, 0x14012c281 pop rbx ; +0x35, 0x14012c285 retn ; +0x36, 0x14012c286 mov rcx, [rbx+2B0h] ; +0x37, 0x14012c287 test rcx, rcx ; +0x3e, 0x14012c28e jz short loc_14012C2E3 ; +0x41, 0x14012c291 mov [rsp+28h+arg_0], rdi ; +0x43, 0x14012c293 xor edi, edi ; +0x48, 0x14012c298 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a, 0x14012c29a test eax, eax ; +0x50, 0x14012c2a0 jz short loc_14012C2DE ; +0x52, 0x14012c2a2 nop dword ptr [rax+00h] ; +0x54, 0x14012c2a4 nop dword ptr [rax+rax+00000000h] ; +0x58, 0x14012c2a8 mov rcx, [rbx+2B0h] ; +0x60, 0x14012c2b0 mov edx, edi ; +0x67, 0x14012c2b7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x14012c2b9 mov ecx, [rbx+480h] ; +0x6f, 0x14012c2bf inc edi ; +0x75, 0x14012c2c5 mov [rax+408h], ecx ; +0x77, 0x14012c2c7 mov rcx, [rbx+2B0h] ; +0x7d, 0x14012c2cd call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x84, 0x14012c2d4 cmp edi, eax ; +0x8a, 0x14012c2da jb short loc_14012C2B0 ; +0x8c, 0x14012c2dc mov rdi, [rsp+28h+arg_0] ; +0x8e, 0x14012c2de add rsp, 20h ; +0x93, 0x14012c2e3 pop rbx ; +0x97, 0x14012c2e7 retn ; +0x98, 0x14012c2e8