; ; cocos2d::extension::CCControlSwitch::setEnabled from 0x18000cfb0 to 0x18000cfe7 (55 bytes) ; ; 2 xrefs: ; > @ 0x180026aa0 ; > @ 0x18002fdf8 ; ; 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 ; mov [rcx+1B9h], dl ; +0x0, 0x18000cfb0 movzx r8d, dl ; +0x6, 0x18000cfb6 mov rcx, [rcx+1D8h] ; +0xa, 0x18000cfba test rcx, rcx ; +0x11, 0x18000cfc1 jz short locret_18000CFE6 ; +0x14, 0x18000cfc4 add rcx, 140h ; +0x16, 0x18000cfc6 mov edx, 80h ; +0x1d, 0x18000cfcd test r8b, r8b ; +0x22, 0x18000cfd2 mov r9d, 0FFh ; +0x25, 0x18000cfd5 cmovnz edx, r9d ; +0x2b, 0x18000cfdb mov rax, [rcx] ; +0x2f, 0x18000cfdf jmp qword ptr [rax+28h] ; +0x32, 0x18000cfe2 retn ; +0x36, 0x18000cfe6