; ; cocos2d::extension::CCControlSwitch::setEnabled from 0x18000caf0 to 0x18000cb25 (53 bytes) ; ; 2 xrefs: ; > @ 0x1800290c8 ; > @ 0x180032408 ; ; 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 12:15:38 +0000 ; mov [rcx+1B9h], dl ; +0x0, 0x18000caf0 movzx eax, dl ; +0x6, 0x18000caf6 mov rcx, [rcx+1D8h] ; +0x9, 0x18000caf9 test rcx, rcx ; +0x10, 0x18000cb00 jz short locret_18000CB24 ; +0x13, 0x18000cb03 add rcx, 140h ; +0x15, 0x18000cb05 mov edx, 80h ; +0x1c, 0x18000cb0c test al, al ; +0x21, 0x18000cb11 mov r8d, 0FFh ; +0x23, 0x18000cb13 cmovnz edx, r8d ; +0x29, 0x18000cb19 mov rax, [rcx] ; +0x2d, 0x18000cb1d jmp qword ptr [rax+28h] ; +0x30, 0x18000cb20 retn ; +0x34, 0x18000cb24