; ; cocos2d::extension::CCControlSwitch::setOn from 0x18000c9d0 to 0x18000ca33 (99 bytes) ; ; 2 xrefs: ; > @ 0x180032408 ; > @ 0x18004bc78 ; ; 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 ; push rbx ; +0x0, 0x18000c9d0 sub rsp, 20h ; +0x2, 0x18000c9d2 mov [rcx+1E5h], dl ; +0x6, 0x18000c9d6 mov rbx, rcx ; +0xc, 0x18000c9dc mov rcx, [rcx+1D8h] ; +0xf, 0x18000c9df movzx eax, dl ; +0x16, 0x18000c9e6 xor rax, 1 ; +0x19, 0x18000c9e9 movss xmm0, dword ptr [rcx+268h] ; +0x1d, 0x18000c9ed movss xmm1, dword ptr [rcx+rax*4+264h] ; +0x25, 0x18000c9f5 comiss xmm0, xmm1 ; +0x2e, 0x18000c9fe jnb short loc_18000CA0F ; +0x31, 0x18000ca01 movss xmm0, dword ptr [rcx+264h] ; +0x33, 0x18000ca03 minss xmm0, xmm1 ; +0x3b, 0x18000ca0b movss dword ptr [rcx+260h], xmm0 ; +0x3f, 0x18000ca0f call sub_18000C1C0 ; +0x47, 0x18000ca17 mov rax, [rbx] ; +0x4c, 0x18000ca1c mov edx, 100h ; +0x4f, 0x18000ca1f mov rcx, rbx ; +0x54, 0x18000ca24 add rsp, 20h ; +0x57, 0x18000ca27 pop rbx ; +0x5b, 0x18000ca2b jmp qword ptr [rax+440h] ; +0x5c, 0x18000ca2c