// // SetupSpawnPopup::onDeleteRemap from 0x8ea408 to 0x8ea4a4 (156 bytes) // // 3 xrefs: // > @ 0xa6c68 // > SetupSpawnPopup::init @ 0x8eb558 // > @ 0x122dc58 // // 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) { cocos2d::CCObject *v2; // x1 EffectGameObject *m_gameObject; // x0 cocos2d::CCArray *m_gameObjects; // x21 unsigned int v6; // w19 SpawnTriggerGameObject *v7; // x0 bool v8; // cf unsigned int v9; // w1 if ( !a1->m_isBusy ) { v2 = *(cocos2d::CCObject **)&a1->m_remapOriginalID; if ( v2 ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::createWithObject((cocos2d::CCArray *)m_gameObject, v2); else m_gameObjects = a1->m_gameObjects; v6 = 0; while ( 1 ) { v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects); v9 = v6++; if ( v8 ) break; v7 = (SpawnTriggerGameObject *)cocos2d::CCArray::objectAtIndex(m_gameObjects, v9); SpawnTriggerGameObject::removeRemap(v7, a1->m_remapOriginalID, a1->m_remapNewID); } a1->m_remapOriginalID = 0; a1->m_remapNewID = 0; SetupSpawnPopup::queueUpdateButtons(a1); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source