; ; ColorSelectPopup::onHSVLegacyMode from 0x140090b30 to 0x140090bbb (139 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x14008f178 ; > @ 0x14066929c ; > @ 0x1406692ac ; > @ 0x1406c6f3c ; ; 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, 0x140090b30 sub rsp, 20h ; +0x2, 0x140090b32 cmp byte ptr [rcx+43Ah], 0 ; +0x6, 0x140090b36 mov rbx, rcx ; +0xd, 0x140090b3d setz al ; +0x10, 0x140090b40 movzx ecx, al ; +0x13, 0x140090b43 mov [rbx+43Ah], al ; +0x16, 0x140090b46 mov rax, [rbx+290h] ; +0x1c, 0x140090b4c test rax, rax ; +0x23, 0x140090b53 jz short loc_140090B64 ; +0x26, 0x140090b56 mov [rax+674h], cl ; +0x28, 0x140090b58 add rsp, 20h ; +0x2e, 0x140090b5e pop rbx ; +0x32, 0x140090b62 retn ; +0x33, 0x140090b63 mov rcx, [rbx+298h] ; +0x34, 0x140090b64 test rcx, rcx ; +0x3b, 0x140090b6b jz short loc_140090BB5 ; +0x3e, 0x140090b6e mov [rsp+28h+arg_0], rdi ; +0x40, 0x140090b70 xor edi, edi ; +0x45, 0x140090b75 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x140090b77 test eax, eax ; +0x4d, 0x140090b7d jz short loc_140090BB0 ; +0x4f, 0x140090b7f mov rcx, [rbx+298h] ; +0x51, 0x140090b81 mov edx, edi ; +0x58, 0x140090b88 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x5a, 0x140090b8a movzx ecx, byte ptr [rbx+43Ah] ; +0x60, 0x140090b90 inc edi ; +0x67, 0x140090b97 mov [rax+674h], cl ; +0x69, 0x140090b99 mov rcx, [rbx+298h] ; +0x6f, 0x140090b9f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x76, 0x140090ba6 cmp edi, eax ; +0x7c, 0x140090bac jb short loc_140090B81 ; +0x7e, 0x140090bae mov rdi, [rsp+28h+arg_0] ; +0x80, 0x140090bb0 add rsp, 20h ; +0x85, 0x140090bb5 pop rbx ; +0x89, 0x140090bb9 retn ; +0x8a, 0x140090bba