; ; ColorSelectPopup::onHSVLegacyMode from 0x140129a60 to 0x140129aea (138 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x140128090 ; > @ 0x14089848c ; > @ 0x14089849c ; > @ 0x140916a78 ; ; 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:00 +0000 ; push rbx ; +0x0, 0x140129a60 sub rsp, 20h ; +0x2, 0x140129a62 cmp byte ptr [rcx+47Ah], 0 ; +0x6, 0x140129a66 mov rbx, rcx ; +0xd, 0x140129a6d setz al ; +0x10, 0x140129a70 mov [rcx+47Ah], al ; +0x13, 0x140129a73 mov rcx, [rcx+2A8h] ; +0x19, 0x140129a79 test rcx, rcx ; +0x20, 0x140129a80 jz short loc_140129A91 ; +0x23, 0x140129a83 mov [rcx+674h], al ; +0x25, 0x140129a85 add rsp, 20h ; +0x2b, 0x140129a8b pop rbx ; +0x2f, 0x140129a8f retn ; +0x30, 0x140129a90 mov rcx, [rbx+2B0h] ; +0x31, 0x140129a91 test rcx, rcx ; +0x38, 0x140129a98 jz short loc_140129AE4 ; +0x3b, 0x140129a9b mov [rsp+28h+arg_0], rdi ; +0x3d, 0x140129a9d xor edi, edi ; +0x42, 0x140129aa2 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x44, 0x140129aa4 test eax, eax ; +0x4a, 0x140129aaa jz short loc_140129ADF ; +0x4c, 0x140129aac xchg ax, ax ; +0x4e, 0x140129aae mov rcx, [rbx+2B0h] ; +0x50, 0x140129ab0 mov edx, edi ; +0x57, 0x140129ab7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x140129ab9 movzx ecx, byte ptr [rbx+47Ah] ; +0x5f, 0x140129abf inc edi ; +0x66, 0x140129ac6 mov [rax+674h], cl ; +0x68, 0x140129ac8 mov rcx, [rbx+2B0h] ; +0x6e, 0x140129ace call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x140129ad5 cmp edi, eax ; +0x7b, 0x140129adb jb short loc_140129AB0 ; +0x7d, 0x140129add mov rdi, [rsp+28h+arg_0] ; +0x7f, 0x140129adf add rsp, 20h ; +0x84, 0x140129ae4 pop rbx ; +0x88, 0x140129ae8 retn ; +0x89, 0x140129ae9