// // cocos2d::extension::CCControlButton::setEnabled from 0x1800060d0 to 0x180006112 (66 bytes) // // 4 xrefs: // > @ 0x1800240e8 // > @ 0x180027f30 // > @ 0x18002fdf8 // > @ 0x180049594 // // 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 __fastcall cocos2d::extension::CCControlButton::setEnabled(cocos2d::extension::CCControlButton *this, char a2) { int v3; // eax *((_BYTE *)this + 441) = a2; v3 = 1; if ( !a2 ) v3 = 4; *((_DWORD *)this + 109) = v3; (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1064LL))(this); (*(void (__fastcall **)(cocos2d::extension::CCControlButton *))(*(_QWORD *)this + 1064LL))(this); }