//
// SetupSpawnPopup::onDeleteRemap from 0x4bbfc4 to 0x4bc026 (98 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 SetupSpawnPopup::onDeleteRemap(SetupSpawnPopup *a1, cocos2d::CCObject *a2)
{
EffectGameObject *m_gameObject; // r0
cocos2d::CCArray *m_gameObjects; // r6
unsigned int i; // r5
SpawnTriggerGameObject *v6; // r0
if ( !a1->m_isBusy && (a1->m_remapOriginalID || a1->m_remapNewID) )
{
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;
for ( i = 0; i < cocos2d::CCArray::count(m_gameObjects); ++i )
{
v6 = (SpawnTriggerGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, i);
SpawnTriggerGameObject::removeRemap(v6, a1->m_remapOriginalID, a1->m_remapNewID);
}
a1->m_remapOriginalID = 0;
a1->m_remapNewID = 0;
SetupSpawnPopup::queueUpdateButtons(a1);
}
}