; ; ColorSelectPopup::updateCustomColorIdx from 0x140093330 to 0x1400933c9 (153 bytes) ; ; 6 xrefs: ; > ColorSelectPopup::onUpdateCustomColor @ 0x140092d63 ; > ColorSelectPopup::textChanged @ 0x140092eb6 ; > ColorSelectPopup::colorSelectClosed @ 0x14009381c ; > @ 0x14066959c ; > @ 0x1406695ac ; > @ 0x1406c70f8 ; ; 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 rbx ; +0x0, 0x140093330 sub rsp, 20h ; +0x2, 0x140093332 mov eax, [rcx+440h] ; +0x6, 0x140093336 mov rbx, rcx ; +0xc, 0x14009333c mov ecx, 1 ; +0xf, 0x14009333f cmp eax, ecx ; +0x14, 0x140093344 cmovl eax, ecx ; +0x16, 0x140093346 mov rcx, [rbx+290h] ; +0x19, 0x140093349 mov [rbx+440h], eax ; +0x20, 0x140093350 test rcx, rcx ; +0x26, 0x140093356 jz short loc_140093367 ; +0x29, 0x140093359 mov [rcx+408h], eax ; +0x2b, 0x14009335b add rsp, 20h ; +0x31, 0x140093361 pop rbx ; +0x35, 0x140093365 retn ; +0x36, 0x140093366 mov rcx, [rbx+298h] ; +0x37, 0x140093367 test rcx, rcx ; +0x3e, 0x14009336e jz short loc_1400933C3 ; +0x41, 0x140093371 mov [rsp+28h+arg_0], rdi ; +0x43, 0x140093373 xor edi, edi ; +0x48, 0x140093378 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4a, 0x14009337a test eax, eax ; +0x50, 0x140093380 jz short loc_1400933BE ; +0x52, 0x140093382 nop dword ptr [rax+00h] ; +0x54, 0x140093384 nop dword ptr [rax+rax+00000000h] ; +0x58, 0x140093388 mov rcx, [rbx+298h] ; +0x60, 0x140093390 mov edx, edi ; +0x67, 0x140093397 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x140093399 mov ecx, [rbx+440h] ; +0x6f, 0x14009339f inc edi ; +0x75, 0x1400933a5 mov [rax+408h], ecx ; +0x77, 0x1400933a7 mov rcx, [rbx+298h] ; +0x7d, 0x1400933ad call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x84, 0x1400933b4 cmp edi, eax ; +0x8a, 0x1400933ba jb short loc_140093390 ; +0x8c, 0x1400933bc mov rdi, [rsp+28h+arg_0] ; +0x8e, 0x1400933be add rsp, 20h ; +0x93, 0x1400933c3 pop rbx ; +0x97, 0x1400933c7 retn ; +0x98, 0x1400933c8