// // GJBaseGameLayer::activateProgressTrigger from 0x100285e78 to 0x100285f4c (212 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x10042bfd4 // // 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 11:01:57 +0000 // __int64 __fastcall GJBaseGameLayer::activateProgressTrigger(__int64 result, __int64 a2) { __int64 v3; // x19 __int64 v4; // x0 int v5; // w21 int v6; // w8 int v7; // w8 int v8; // w10 int v9; // w1 __int64 v10; // x20 __int64 v11; // x2 if ( *(_BYTE *)(result + 12238) == 1 ) { v3 = result; v4 = *(_QWORD *)(result + 2152); v5 = *(_DWORD *)(v4 + 832); if ( *(_BYTE *)(a2 + 1845) == 1 ) { v6 = sub_100015640(v4, *(_DWORD *)(a2 + 1668)); v4 = *(_QWORD *)(v3 + 2152); } else { v6 = *(_DWORD *)(a2 + 1840); } v7 = v6 & ~(v6 >> 31); if ( v7 >= 99 ) v7 = 99; v8 = v7 + v5; if ( v5 > v7 ) v7 = v5; if ( *(_BYTE *)(a2 + 1844) ) v9 = v8; else v9 = v7; result = sub_1000159D4(v4, v9); v10 = *(unsigned int *)(a2 + 1680); if ( (int)v10 >= 1 ) { sub_1000156F4(*(_QWORD *)(v3 + 2152), v10, *(_DWORD *)(*(_QWORD *)(v3 + 2152) + 832LL)); v11 = sub_100015640(*(_QWORD *)(v3 + 2152), v10); return GJBaseGameLayer::updateCounters(v3, v10, v11); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source