; ; ColorSelectPopup::updateOpacity from 0x14012a2a0 to 0x14012a344 (164 bytes) ; ; 5 xrefs: ; > ColorSelectPopup::onDefault @ 0x140129f42 ; > ColorSelectPopup::sliderChanged @ 0x14012a1e4 ; > @ 0x140898594 ; > @ 0x1408985a4 ; > @ 0x140916b2c ; ; 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, 0x14012a2a0 sub rsp, 20h ; +0x2, 0x14012a2a2 mov rbx, rcx ; +0x6, 0x14012a2a6 mov rcx, [rcx+2A8h] ; +0x9, 0x14012a2a9 test rcx, rcx ; +0x10, 0x14012a2b0 jz short loc_14012A2C7 ; +0x13, 0x14012a2b3 mov eax, [rbx+464h] ; +0x15, 0x14012a2b5 mov [rcx+5C0h], eax ; +0x1b, 0x14012a2bb add rsp, 20h ; +0x21, 0x14012a2c1 pop rbx ; +0x25, 0x14012a2c5 retn ; +0x26, 0x14012a2c6 mov rcx, [rbx+2B0h] ; +0x27, 0x14012a2c7 test rcx, rcx ; +0x2e, 0x14012a2ce jz short loc_14012A329 ; +0x31, 0x14012a2d1 mov [rsp+28h+arg_0], rdi ; +0x33, 0x14012a2d3 xor edi, edi ; +0x38, 0x14012a2d8 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3a, 0x14012a2da test eax, eax ; +0x40, 0x14012a2e0 jz short loc_14012A31E ; +0x42, 0x14012a2e2 nop dword ptr [rax+00h] ; +0x44, 0x14012a2e4 nop dword ptr [rax+rax+00000000h] ; +0x48, 0x14012a2e8 mov rcx, [rbx+2B0h] ; +0x50, 0x14012a2f0 mov edx, edi ; +0x57, 0x14012a2f7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x59, 0x14012a2f9 mov ecx, [rbx+464h] ; +0x5f, 0x14012a2ff inc edi ; +0x65, 0x14012a305 mov [rax+5C0h], ecx ; +0x67, 0x14012a307 mov rcx, [rbx+2B0h] ; +0x6d, 0x14012a30d call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x74, 0x14012a314 cmp edi, eax ; +0x7a, 0x14012a31a jb short loc_14012A2F0 ; +0x7c, 0x14012a31c mov rdi, [rsp+28h+arg_0] ; +0x7e, 0x14012a31e add rsp, 20h ; +0x83, 0x14012a323 pop rbx ; +0x87, 0x14012a327 retn ; +0x88, 0x14012a328 mov rcx, [rbx+468h] ; +0x89, 0x14012a329 test rcx, rcx ; +0x90, 0x14012a330 jz short loc_14012A323 ; +0x93, 0x14012a333 mov eax, [rbx+464h] ; +0x95, 0x14012a335 mov [rcx+60h], eax ; +0x9b, 0x14012a33b add rsp, 20h ; +0x9e, 0x14012a33e pop rbx ; +0xa2, 0x14012a342 retn ; +0xa3, 0x14012a343