// // SetupRandAdvTriggerPopup::addChance from 0x10038f190 to 0x10038f221 (145 bytes) // // 1 xrefs: // > SetupRandAdvTriggerPopup::onAddChance @ 0x10038e6c1 // // 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 SetupRandAdvTriggerPopup::addChance(SetupRandAdvTriggerPopup *a1, int a2, int a3) { RandTriggerGameObject *m_gameObject; // rsi unsigned int v7; // r12d cocos2d::CCArray *m_gameObjects; // rdi RandTriggerGameObject *v9; // rax a1->m_performedAction = 1; m_gameObject = (RandTriggerGameObject *)a1->m_gameObject; if ( m_gameObject ) { SetupRandAdvTriggerPopup::addChanceToObject(a1, m_gameObject, a2, a3); } else if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v7 = 0; do { m_gameObjects = a1->m_gameObjects; v9 = (RandTriggerGameObject *)sub_1007200C0(m_gameObjects, v7); SetupRandAdvTriggerPopup::addChanceToObject((SetupRandAdvTriggerPopup *)m_gameObjects, v9, a2, a3); ++v7; } while ( v7 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } SetupRandAdvTriggerPopup::updateGroupIDButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source