//
// GJEffectManager::setPlatformerProgress from 0x9fa84c to 0x9fa868 (28 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::activateProgressTrigger @ 0x9ec8d8
// > ??> @ 0xdd2f0
//
// 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:16 +0000
//
__int64 __fastcall GJEffectManager::setPlatformerProgress(__int64 this, int a2)
{
int v2; // w2
v2 = 99;
if ( a2 <= 98 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
*(_DWORD *)(this + 832) = v2;
return this;
}