//
// cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled from 0x7a94bc to 0x7a94e4 (40 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:01 +0000
//
int __fastcall cocos2d::extension::CCControlSaturationBrightnessPicker::setEnabled(
cocos2d::extension::CCControlSaturationBrightnessPicker *this,
int a2)
{
int result; // r0
int v5; // r1
cocos2d::extension::CCControl::setEnabled(this, a2);
result = *((_DWORD *)this + 94);
if ( result )
{
if ( a2 )
v5 = 255;
else
v5 = 128;
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 456))(result, v5);
}
return result;
}