// // cocos2d::extension::CCControlSlider::setEnabled from 0x18000a890 to 0x18000a8fd (109 bytes) // // 3 xrefs: // > @ 0x180025ea8 // > @ 0x18002fdf8 // > @ 0x180049b70 // // 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::CCControlSlider::setEnabled(cocos2d::extension::CCControlSlider *this, char a2) { int v3; // eax __int64 v5; // rcx __int64 v6; // rcx __int64 v7; // rdx *((_BYTE *)this + 441) = a2; v3 = 1; if ( !a2 ) v3 = 4; *((_DWORD *)this + 109) = v3; (*(void (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)this + 1064LL))(this); v5 = *((_QWORD *)this + 62); if ( v5 ) { v6 = v5 + 320; v7 = 128; if ( a2 ) v7 = 255; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 40LL))(v6, v7); } }