// // SetupRandAdvTriggerPopup::addChance from 0x10002f50c to 0x10002f59c (144 bytes) // // 1 xrefs: // > SetupRandAdvTriggerPopup::onAddChance @ 0x10002ef00 // // 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; // x1 __int64 v7; // x22 SetupRandAdvTriggerPopup *v8; // x0 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_10024A36C(a1->m_gameObjects) ) { v7 = 0; do { v8 = (SetupRandAdvTriggerPopup *)sub_10024A388(a1->m_gameObjects, v7); SetupRandAdvTriggerPopup::addChanceToObject(v8, (RandTriggerGameObject *)v8, a2, a3); v7 = (unsigned int)(v7 + 1); } while ( (unsigned int)v7 < (unsigned int)sub_10024A36C(a1->m_gameObjects) ); } SetupRandAdvTriggerPopup::updateGroupIDButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source