// // SetupSpawnPopup::addRemap from 0x100290a20 to 0x100290b03 (227 bytes) // // 2 xrefs: // > SetupSpawnPopup::onAddRemap @ 0x100290146 // > SetupSpawnPopup::onPasteRemap @ 0x10029028b // // 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 SetupSpawnPopup::addRemap(SetupSpawnPopup *a1, int a2, int a3) { EffectGameObject *m_gameObject; // rdi cocos2d::CCArray *m_gameObjects; // r12 unsigned int v7; // r13d SpawnTriggerGameObject *v8; // rax cocos2d::CCDirector *v9; // rax cocos2d::CCScheduler *v10; // rax if ( !a1->m_isBusy ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10071FA80(m_gameObject); if ( !(unsigned int)sub_100720070(m_gameObjects) ) { LABEL_8: if ( !a1->m_isBusy ) { v9 = cocos2d::CCDirector::sharedDirector(); v10 = (cocos2d::CCScheduler *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v9->getScheduler)(v9); cocos2d::CCScheduler::scheduleSelector( v10, (cocos2d::SEL_SCHEDULE)(unsigned __int64)SetupSpawnPopup::updateRemapButtons, a1, 0.0, 0xFFFFFFFE, 0.0, 0); } return; } } else { m_gameObjects = a1->m_gameObjects; if ( !(unsigned int)sub_100720070(m_gameObjects) ) goto LABEL_8; } v7 = 0; do { v8 = (SpawnTriggerGameObject *)sub_1007200C0(m_gameObjects, v7); SpawnTriggerGameObject::addRemap(v8, a2, a3); ++v7; } while ( v7 < (unsigned int)sub_100720070(m_gameObjects) ); goto LABEL_8; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source