// // cocos2d::extension::CCControlPotentiometer::setEnabled from 0xaa3f28 to 0xaa3f74 (76 bytes) // // 2 xrefs: // > @ 0x45a80 // > @ 0x11f8830 // // 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::CCControlPotentiometer::setEnabled(cocos2d::extension::CCControlPotentiometer *a1, bool a2) { _BOOL4 v2; // w19 cocos2d::extension::CCControlPotentiometer_vtbl *v4; // x0 __int64 v5; // x1 v2 = a2; cocos2d::extension::CCControl::setEnabled(a1, a2); v4 = a1[1].cocos2d::extension::CCControl::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( v4 ) { if ( v2 ) v5 = 255; else v5 = 128; (*((void (__fastcall **)(cocos2d::extension::CCControlPotentiometer_vtbl *, __int64))v4->copyWithZone + 112))( v4, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source