// // SetupRandAdvTriggerPopup::addChance from 0xaf0fc0 to 0xaf105c (156 bytes) // // 2 xrefs: // > SetupRandAdvTriggerPopup::onAddChance @ 0xaf120c // > @ 0x8ef00 // // This function is hookable on this platform (idp: arm, 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 13:01:12 +0000 // __int64 __fastcall SetupRandAdvTriggerPopup::addChance(SetupRandAdvTriggerPopup *this, unsigned int a2, int a3) { RandTriggerGameObject *v5; // x1 unsigned int v7; // w19 RandTriggerGameObject *v8; // x0 bool v9; // cf unsigned int v10; // w1 v5 = *((RandTriggerGameObject **)this + 85); *((_BYTE *)this + 1012) = 1; if ( v5 ) { SetupRandAdvTriggerPopup::addChanceToObject(this, v5, a2, a3); return SetupRandAdvTriggerPopup::updateGroupIDButtons((cocos2d::CCArray **)this); } else { v7 = 0; while ( 1 ) { v9 = v7 >= (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 86)); v10 = v7++; if ( v9 ) break; v8 = (RandTriggerGameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 86), v10); SetupRandAdvTriggerPopup::addChanceToObject(this, v8, a2, a3); } return SetupRandAdvTriggerPopup::updateGroupIDButtons((cocos2d::CCArray **)this); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source