; ; cocos2d::extension::CCControlSwitch::CCControlSwitch from 0x18000c510 to 0x18000c59b (139 bytes) ; ; 4 xrefs: ; > cocos2d::extension::CCControlSwitch::create @ 0x18000c698 ; > cocos2d::extension::CCControlSwitch::create @ 0x18000c958 ; > @ 0x180032408 ; > @ 0x18004bc30 ; ; 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, 0x18000c510 sub rsp, 20h ; +0x2, 0x18000c512 mov rbx, rcx ; +0x6, 0x18000c516 call ??0CCControl@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCControl::CCControl(void) ; +0x9, 0x18000c519 lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCNode@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCNode'} ; +0xe, 0x18000c51e mov [rbx], rax ; +0x15, 0x18000c525 lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCTouchDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCTouchDelegate'} ; +0x18, 0x18000c528 mov [rbx+140h], rax ; +0x1f, 0x18000c52f lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCAccelerometerDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCAccelerometerDelegate'} ; +0x26, 0x18000c536 mov [rbx+148h], rax ; +0x2d, 0x18000c53d lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeypadDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeypadDelegate'} ; +0x34, 0x18000c544 mov [rbx+150h], rax ; +0x3b, 0x18000c54b lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCKeyboardDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCKeyboardDelegate'} ; +0x42, 0x18000c552 mov [rbx+158h], rax ; +0x49, 0x18000c559 lea rax, ??_7CCControlSwitch@extension@cocos2d@@6BCCMouseDelegate@2@@; const cocos2d::extension::CCControlSwitch::`vftable'{for `cocos2d::CCMouseDelegate'} ; +0x50, 0x18000c560 mov [rbx+160h], rax ; +0x57, 0x18000c567 lea rax, ??_7CCControlSwitch@extension@cocos2d@@6B@; const cocos2d::extension::CCControlSwitch::`vftable' ; +0x5e, 0x18000c56e mov [rbx+198h], rax ; +0x65, 0x18000c575 xor eax, eax ; +0x6c, 0x18000c57c mov [rbx+1D8h], rax ; +0x6e, 0x18000c57e mov [rbx+1E0h], eax ; +0x75, 0x18000c585 mov [rbx+1E4h], ax ; +0x7b, 0x18000c58b mov rax, rbx ; +0x82, 0x18000c592 add rsp, 20h ; +0x85, 0x18000c595 pop rbx ; +0x89, 0x18000c599 retn ; +0x8a, 0x18000c59a