// // cocos2d::extension::CCControlSwitch::setEnabled from 0xa9ef44 to 0xa9ef84 (64 bytes) // // 2 xrefs: // > @ 0x4eb28 // > @ 0x11f7b80 // // 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 // void cocos2d::extension::CCControlSwitch::setEnabled(cocos2d::extension::CCControlSwitch *a1, bool a2) { cocos2d::extension::CCControlSwitch_vtbl *v2; // x2 __int64 v3; // x1 v2 = a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_bEnabled = a2; if ( v2 ) { if ( a2 ) v3 = 255; else v3 = 128; (*((void (__fastcall **)(cocos2d::extension::CCControlSwitch_vtbl *, __int64))v2->copyWithZone + 112))(v2, v3); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source