// // cocos2d::extension::CCControl::setEnabled from 0x5a08c4 to 0x5a08dc (24 bytes) // // 5 xrefs: // > cocos2d::extension::CCControlButton::setEnabled @ 0x5a234c // > cocos2d::extension::CCControlHuePicker::setEnabled @ 0x5a305e // > cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled @ 0x5a37b2 // > cocos2d::extension::CCControlSlider::setEnabled @ 0x5a408e // > cocos2d::extension::CCControlPotentiometer::setEnabled @ 0x5a748e // // 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::CCControl::setEnabled(cocos2d::extension::CCControl *a1, bool a2) { cocos2d::extension::CCControl_vtbl *v2; // r3 cocos2d::CCControlState v3; // r2 void (*needsLayout)(void); // r3 v2 = a1->cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_bEnabled = a2; if ( a2 ) v3 = 1; else v3 = 4; needsLayout = (void (*)(void))v2->needsLayout; a1->m_eState = v3; needsLayout(); }
GD Web Decomp Icon

GD Web Decomp

Raw Source