; ; ColorSelectPopup::onCopyOpacity from 0x140129af0 to 0x140129b8f (159 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::init @ 0x140127e48 ; > @ 0x1408984b0 ; > @ 0x1408984c0 ; > @ 0x140916a9c ; ; 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, 0x140129af0 sub rsp, 20h ; +0x2, 0x140129af2 cmp byte ptr [rcx+48Ch], 0 ; +0x6, 0x140129af6 mov rbx, rcx ; +0xd, 0x140129afd setz al ; +0x10, 0x140129b00 mov [rcx+48Ch], al ; +0x13, 0x140129b03 mov rcx, [rcx+2A8h] ; +0x19, 0x140129b09 test rcx, rcx ; +0x20, 0x140129b10 jz short loc_140129B21 ; +0x23, 0x140129b13 mov [rcx+670h], al ; +0x25, 0x140129b15 add rsp, 20h ; +0x2b, 0x140129b1b pop rbx ; +0x2f, 0x140129b1f retn ; +0x30, 0x140129b20 mov rcx, [rbx+2B0h] ; +0x31, 0x140129b21 test rcx, rcx ; +0x38, 0x140129b28 jz short loc_140129B7A ; +0x3b, 0x140129b2b mov [rsp+28h+arg_0], rdi ; +0x3d, 0x140129b2d xor edi, edi ; +0x42, 0x140129b32 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x44, 0x140129b34 test eax, eax ; +0x4a, 0x140129b3a jz short loc_140129B6F ; +0x4c, 0x140129b3c xchg ax, ax ; +0x4e, 0x140129b3e mov rcx, [rbx+2B0h] ; +0x50, 0x140129b40 mov edx, edi ; +0x57, 0x140129b47 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x140129b49 movzx ecx, byte ptr [rbx+48Ch] ; +0x5f, 0x140129b4f inc edi ; +0x66, 0x140129b56 mov [rax+670h], cl ; +0x68, 0x140129b58 mov rcx, [rbx+2B0h] ; +0x6e, 0x140129b5e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x75, 0x140129b65 cmp edi, eax ; +0x7b, 0x140129b6b jb short loc_140129B40 ; +0x7d, 0x140129b6d mov rdi, [rsp+28h+arg_0] ; +0x7f, 0x140129b6f add rsp, 20h ; +0x84, 0x140129b74 pop rbx ; +0x88, 0x140129b78 retn ; +0x89, 0x140129b79 mov rcx, [rbx+468h] ; +0x8a, 0x140129b7a test rcx, rcx ; +0x91, 0x140129b81 jz short loc_140129B74 ; +0x94, 0x140129b84 mov [rcx+7Dh], al ; +0x96, 0x140129b86 add rsp, 20h ; +0x99, 0x140129b89 pop rbx ; +0x9d, 0x140129b8d retn ; +0x9e, 0x140129b8e