//
// SetupTriggerPopup::toggleEaseRateVisibility from 0x9e9e0c to 0x9e9ea4 (152 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::createEasingControls @ 0x9ea4b0
// > SetupTriggerPopup::onEase @ 0x9ed820
// > ??> @ 0x35c40
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupTriggerPopup::toggleEaseRateVisibility(SetupTriggerPopup *a1)
{
bool isRateEasing; // w0
int v3; // w21
cocos2d::CCArray *m_gameObjects; // x0
unsigned int v5; // w19
__int64 v6; // x0
bool v7; // cf
unsigned int v8; // w1
isRateEasing = GameToolbox::isRateEasing(a1->m_easingType);
v3 = isRateEasing;
if ( !isRateEasing )
{
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
if ( (unsigned int)cocos2d::CCArray::count(m_gameObjects) )
{
v5 = 0;
while ( 1 )
{
v7 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects);
v8 = v5++;
if ( v7 )
break;
v6 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v8);
if ( !GameToolbox::isRateEasing(*(_DWORD *)(v6 + 1480)) )
goto LABEL_9;
}
v3 = 1;
}
}
}
LABEL_9:
a1->m_easingRateButton->setVisible(a1->m_easingRateButton, v3);
}