//
// SetupRotatePopup::onClose from 0x4f8c64 to 0x4f8cae (74 bytes)
//
// 0 xrefs:
//
// 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 SetupRotatePopup::onClose(SetupRotatePopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // r0
cocos2d::CCArray *m_gameObjects; // r0
cocos2d::ccArray *data; // r2
cocos2d::CCObject **arr; // r5
cocos2d::CCObject **v8; // r4
EnhancedGameObject *v9; // r0
EnhancedGameObject *v10; // t1
m_gameObject = a1->m_gameObject;
if ( m_gameObject )
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_gameObject, a2);
else
m_gameObjects = a1->m_gameObjects;
if ( m_gameObjects )
{
data = m_gameObjects->data;
if ( data->num )
{
arr = data->arr;
v8 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v8 )
{
v10 = (EnhancedGameObject *)*arr++;
v9 = v10;
if ( !v10 )
break;
EnhancedGameObject::refreshRotateAction(v9);
}
}
}
SetupTriggerPopup::onClose(a1, a2);
}