// // SetupRandAdvTriggerPopup::addChance from 0x100379f00 to 0x100379f91 (145 bytes) // // 1 xrefs: // > SetupRandAdvTriggerPopup::onAddChance @ 0x1003793ce // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:29:05 +0000 // void __fastcall SetupRandAdvTriggerPopup::addChance(__int64 a1, unsigned int a2, unsigned int a3) { unsigned __int64 v6; // rsi unsigned int v7; // r12d __int64 v8; // rdi *(_BYTE *)(a1 + 1012) = 1; v6 = *(_QWORD *)(a1 + 680); if ( v6 ) { SetupRandAdvTriggerPopup::addChanceToObject(a1, v6, a2, a3); } else if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) ) { v7 = 0; do { v8 = *(_QWORD *)(a1 + 688); v6 = sub_1007FEFE0(v8, v7); SetupRandAdvTriggerPopup::addChanceToObject(v8, v6, a2, a3); ++v7; } while ( v7 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 688)) ); } SetupRandAdvTriggerPopup::updateGroupIDButtons(a1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source