//
// SetupTriggerPopup::toggleEaseRateVisibility from 0xb1de5c to 0xb1def4 (152 bytes)
//
// 4 xrefs:
// > SetupTriggerPopup::createEasingControls @ 0xb21e38
// > SetupTriggerPopup::onEase @ 0xb24c38
// > EasingSelectPopup::onCell @ 0xcbb4b0
// > ??> @ 0x4eda8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:35 +0000
//
__int64 __fastcall SetupTriggerPopup::toggleEaseRateVisibility(SetupTriggerPopup *this)
{
bool isRateEasing; // w0
unsigned int v3; // w21
cocos2d::CCArray *v4; // x0
unsigned int v5; // w19
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
isRateEasing = GameToolbox::isRateEasing((GameToolbox *)*((unsigned int *)this + 204));
v3 = isRateEasing;
if ( !isRateEasing )
{
v4 = *((cocos2d::CCArray **)this + 86);
if ( v4 )
{
if ( (unsigned int)cocos2d::CCArray::count(v4) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 86));
v8 = v5++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v8);
if ( !GameToolbox::isRateEasing((GameToolbox *)*(unsigned int *)(v6 + 1496)) )
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 101) + 344LL))(
*((_QWORD *)this + 101),
v3);
}
v3 = 1;
}
}
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 101) + 344LL))(*((_QWORD *)this + 101), v3);
}