//
// SetupTriggerPopup::toggleEaseRateVisibility from 0x67954c to 0x6795a2 (86 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createEasingControls @ 0x67bd36
// > SetupTriggerPopup::onEase @ 0x67e840
// > EasingSelectPopup::onCell @ 0x779f2c
//
// 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 11:55:57 +0000
//
int __fastcall SetupTriggerPopup::toggleEaseRateVisibility(GameToolbox **this, int a2)
{
_BOOL4 isRateEasing; // r5
cocos2d::CCArray *v4; // r0
unsigned int i; // r6
int v6; // r0
int v7; // r1
isRateEasing = GameToolbox::isRateEasing(*(this + 151), a2);
if ( !isRateEasing )
{
v4 = *(this + 133);
if ( v4 )
{
if ( cocos2d::CCArray::count(v4) )
{
for ( i = 0; i < cocos2d::CCArray::count(*(this + 133)); ++i )
{
v6 = cocos2d::CCArray::objectAtIndex(*(this + 133), i);
if ( !GameToolbox::isRateEasing(*(GameToolbox **)(v6 + 1316), v7) )
return (*(int (__fastcall **)(_DWORD, _BOOL4))(*(_DWORD *)*(this + 150) + 172))(*(this + 150), isRateEasing);
}
isRateEasing = 1;
}
}
}
return (*(int (__fastcall **)(_DWORD, _BOOL4))(*(_DWORD *)*(this + 150) + 172))(*(this + 150), isRateEasing);
}