; ; ColorSelectPopup::onCopyOpacity from 0x140090bc0 to 0x140090c60 (160 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x14008ef4c ; > @ 0x1406692c0 ; > @ 0x1406692d0 ; > @ 0x1406c6f60 ; ; 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, 0x140090bc0 sub rsp, 20h ; +0x2, 0x140090bc2 cmp byte ptr [rcx+44Ch], 0 ; +0x6, 0x140090bc6 mov rbx, rcx ; +0xd, 0x140090bcd setz cl ; +0x10, 0x140090bd0 mov rax, [rbx+290h] ; +0x13, 0x140090bd3 mov [rbx+44Ch], cl ; +0x1a, 0x140090bda test rax, rax ; +0x20, 0x140090be0 jz short loc_140090BF1 ; +0x23, 0x140090be3 mov [rax+670h], cl ; +0x25, 0x140090be5 add rsp, 20h ; +0x2b, 0x140090beb pop rbx ; +0x2f, 0x140090bef retn ; +0x30, 0x140090bf0 mov rax, [rbx+298h] ; +0x31, 0x140090bf1 test rax, rax ; +0x38, 0x140090bf8 jz short loc_140090C4B ; +0x3b, 0x140090bfb mov [rsp+28h+arg_0], rdi ; +0x3d, 0x140090bfd mov rcx, rax ; +0x42, 0x140090c02 xor edi, edi ; +0x45, 0x140090c05 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x47, 0x140090c07 test eax, eax ; +0x4d, 0x140090c0d jz short loc_140090C40 ; +0x4f, 0x140090c0f mov rcx, [rbx+298h] ; +0x51, 0x140090c11 mov edx, edi ; +0x58, 0x140090c18 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x5a, 0x140090c1a movzx ecx, byte ptr [rbx+44Ch] ; +0x60, 0x140090c20 inc edi ; +0x67, 0x140090c27 mov [rax+670h], cl ; +0x69, 0x140090c29 mov rcx, [rbx+298h] ; +0x6f, 0x140090c2f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x76, 0x140090c36 cmp edi, eax ; +0x7c, 0x140090c3c jb short loc_140090C11 ; +0x7e, 0x140090c3e mov rdi, [rsp+28h+arg_0] ; +0x80, 0x140090c40 add rsp, 20h ; +0x85, 0x140090c45 pop rbx ; +0x89, 0x140090c49 retn ; +0x8a, 0x140090c4a mov rax, [rbx+428h] ; +0x8b, 0x140090c4b test rax, rax ; +0x92, 0x140090c52 jz short loc_140090C45 ; +0x95, 0x140090c55 mov [rax+7Dh], cl ; +0x97, 0x140090c57 add rsp, 20h ; +0x9a, 0x140090c5a pop rbx ; +0x9e, 0x140090c5e retn ; +0x9f, 0x140090c5f