; ; ColorSelectPopup::onTintGround from 0x1400909e0 to 0x140090a6b (139 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x14008eb73 ; > @ 0x140669278 ; > @ 0x140669288 ; > @ 0x1406c6f0c ; ; 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, 0x1400909e0 sub rsp, 20h ; +0x2, 0x1400909e2 cmp byte ptr [rcx+439h], 0 ; +0x6, 0x1400909e6 mov rbx, rcx ; +0xd, 0x1400909ed setz al ; +0x10, 0x1400909f0 movzx ecx, al ; +0x13, 0x1400909f3 mov [rbx+439h], al ; +0x16, 0x1400909f6 mov rax, [rbx+290h] ; +0x1c, 0x1400909fc test rax, rax ; +0x23, 0x140090a03 jz short loc_140090A14 ; +0x26, 0x140090a06 mov [rax+5DCh], cl ; +0x28, 0x140090a08 add rsp, 20h ; +0x2e, 0x140090a0e pop rbx ; +0x32, 0x140090a12 retn ; +0x33, 0x140090a13 mov rcx, [rbx+298h] ; +0x34, 0x140090a14 test rcx, rcx ; +0x3b, 0x140090a1b jz short loc_140090A65 ; +0x3e, 0x140090a1e mov [rsp+28h+arg_0], rdi ; +0x40, 0x140090a20 xor edi, edi ; +0x45, 0x140090a25 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x140090a27 test eax, eax ; +0x4d, 0x140090a2d jz short loc_140090A60 ; +0x4f, 0x140090a2f mov rcx, [rbx+298h] ; +0x51, 0x140090a31 mov edx, edi ; +0x58, 0x140090a38 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x5a, 0x140090a3a movzx ecx, byte ptr [rbx+439h] ; +0x60, 0x140090a40 inc edi ; +0x67, 0x140090a47 mov [rax+5DCh], cl ; +0x69, 0x140090a49 mov rcx, [rbx+298h] ; +0x6f, 0x140090a4f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x76, 0x140090a56 cmp edi, eax ; +0x7c, 0x140090a5c jb short loc_140090A31 ; +0x7e, 0x140090a5e mov rdi, [rsp+28h+arg_0] ; +0x80, 0x140090a60 add rsp, 20h ; +0x85, 0x140090a65 pop rbx ; +0x89, 0x140090a69 retn ; +0x8a, 0x140090a6a