//
// SetupCameraOffsetTrigger::toggleEasingRateVisibility from 0xaae318 to 0xaae3b0 (152 bytes)
//
// 3 xrefs:
// > SetupCameraOffsetTrigger::onEasing @ 0xaaeb14
// > SetupCameraOffsetTrigger::init @ 0xaafa7c
// > ??> @ 0x6c5c8
//
// 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:00:55 +0000
//
__int64 __fastcall SetupCameraOffsetTrigger::toggleEasingRateVisibility(SetupCameraOffsetTrigger *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 + 262));
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 + 132) + 344LL))(
*((_QWORD *)this + 132),
v3);
}
v3 = 1;
}
}
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 132) + 344LL))(*((_QWORD *)this + 132), v3);
}