//
// SetupMGTrigger::toggleEasingRateVisibility from 0x69a330 to 0x69a386 (86 bytes)
//
// 2 xrefs:
// > SetupMGTrigger::onEasing @ 0x69ab76
// > SetupMGTrigger::init @ 0x69b210
//
// 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:56:17 +0000
//
int __fastcall SetupMGTrigger::toggleEasingRateVisibility(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 + 182), 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 + 184) + 172))(*(this + 184), isRateEasing);
}
isRateEasing = 1;
}
}
}
return (*(int (__fastcall **)(_DWORD, _BOOL4))(*(_DWORD *)*(this + 184) + 172))(*(this + 184), isRateEasing);
}