// // GJBaseGameLayer::activateProgressTrigger from 0x9ec880 to 0x9ec950 (208 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x8983bc // > @ 0xd0858 // // 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 12:59:03 +0000 // __int64 __fastcall GJBaseGameLayer::activateProgressTrigger(__int64 this, ProgressGameObject *a2) { GJEffectManager **v3; // x20 GJEffectManager *v4; // x0 int v5; // w21 int v6; // w2 int v7; // w1 int v8; // w19 int v9; // w0 if ( *(_BYTE *)(this + 12238) ) { v3 = (GJEffectManager **)this; v4 = *(GJEffectManager **)(this + 2152); v5 = *((_DWORD *)v4 + 208); if ( *((_BYTE *)a2 + 1845) ) { v6 = GJEffectManager::countForItem(v4, *((_DWORD *)a2 + 417)); v4 = v3[269]; } else { v6 = *((_DWORD *)a2 + 460); } v7 = 99; if ( v6 <= 98 ) { if ( v6 < 0 ) v7 = 0; else v7 = v6; } if ( *((_BYTE *)a2 + 1844) ) { v7 += v5; } else if ( v7 < v5 ) { v7 = v5; } this = GJEffectManager::setPlatformerProgress(v4, v7); v8 = *((_DWORD *)a2 + 420); if ( v8 > 0 ) { GJEffectManager::updateCountForItem(v3[269], v8, *((_DWORD *)v3[269] + 208)); v9 = GJEffectManager::countForItem(v3[269], v8); return GJBaseGameLayer::updateCounters((GJBaseGameLayer *)v3, v8, v9); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source