//
// GJEffectManager::setPlatformerProgress from 0x5c3f58 to 0x5c3f68 (16 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::activateProgressTrigger @ 0x5bd080
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:51 +0000
//
int __fastcall GJEffectManager::setPlatformerProgress(int this, int a2)
{
int v2; // r1
if ( a2 > 98 )
v2 = 99;
else
v2 = a2 & ~(a2 >> 31);
*(_DWORD *)(this + 520) = v2;
return this;
}