; ; ColorSelectLiveOverlay::toggleControls from 0x140126790 to 0x140126806 (118 bytes) ; ; 2 xrefs: ; > ColorSelectLiveOverlay::updateColorLabel @ 0x1401266f3 ; > @ 0x1409169e8 ; ; 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:26:58 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140126790 mov [rsp+arg_8], rsi ; +0x5, 0x140126795 push rdi ; +0xa, 0x14012679a sub rsp, 20h ; +0xb, 0x14012679b mov rdi, rcx ; +0xf, 0x14012679f movzx esi, dl ; +0x12, 0x1401267a2 mov rcx, [rcx+2A0h] ; +0x15, 0x1401267a5 xor ebx, ebx ; +0x1c, 0x1401267ac call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e, 0x1401267ae test eax, eax ; +0x24, 0x1401267b4 jz short loc_1401267F6 ; +0x26, 0x1401267b6 nop dword ptr [rax+rax+00000000h] ; +0x28, 0x1401267b8 mov rcx, [rdi+2A0h] ; +0x30, 0x1401267c0 mov edx, ebx ; +0x37, 0x1401267c7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x39, 0x1401267c9 movzx edx, sil ; +0x3f, 0x1401267cf mov rcx, [rax] ; +0x43, 0x1401267d3 mov r8, [rcx+150h] ; +0x46, 0x1401267d6 mov rcx, rax ; +0x4d, 0x1401267dd call r8 ; +0x50, 0x1401267e0 mov rcx, [rdi+2A0h] ; +0x53, 0x1401267e3 inc ebx ; +0x5a, 0x1401267ea call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x5c, 0x1401267ec cmp ebx, eax ; +0x62, 0x1401267f2 jb short loc_1401267C0 ; +0x64, 0x1401267f4 mov rbx, [rsp+28h+arg_0] ; +0x66, 0x1401267f6 mov rsi, [rsp+28h+arg_8] ; +0x6b, 0x1401267fb add rsp, 20h ; +0x70, 0x140126800 pop rdi ; +0x74, 0x140126804 retn ; +0x75, 0x140126805