//
// SetupAnimSettingsPopup::onClose from 0x10009b4f0 to 0x10009b570 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b5000
//
// 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 __fastcall SetupAnimSettingsPopup::onClose(SetupAnimSettingsPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // rdi
unsigned int v4; // r15d
EnhancedGameObject *v5; // rax
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
{
EnhancedGameObject::setupAnimationVariables(m_gameObject);
}
else if ( (unsigned int)sub_100720070(a1->m_gameObjects) )
{
v4 = 0;
do
{
v5 = (EnhancedGameObject *)sub_1007200C0(a1->m_gameObjects, v4);
EnhancedGameObject::setupAnimationVariables(v5);
++v4;
}
while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) );
}
SetupTriggerPopup::onClose(a1, a2);
}