//
// SetupAnimSettingsPopup::onClose from 0x14040ab10 to 0x14040ab94 (132 bytes)
//
// 4 xrefs:
// > ??> @ 0x1405dadf8
// > ??> @ 0x14069f18c
// > ??> @ 0x14069f19c
// > ??> @ 0x1406d8ac8
//
// 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 SetupAnimSettingsPopup::onClose(SetupAnimSettingsPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // rcx
unsigned int i; // edi
EnhancedGameObject *v6; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
EnhancedGameObject::setupAnimationVariables(m_gameObject);
}
else
{
for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i )
{
v6 = (EnhancedGameObject *)cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i);
EnhancedGameObject::setupAnimationVariables(v6);
}
}
SetupTriggerPopup::onClose(a1, a2);
}