//
// GameStatsManager::updateActivePath from 0x100031200 to 0x100031217 (23 bytes)
//
// 2 xrefs:
// > GJPathPage::onActivatePath @ 0x1002ebb6f
// > GJPathPage::unlockAnimationFinished @ 0x1002ecbfb
//
// This function is hookable on this platform (idp: pc, 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:19:30 +0000
//
__int64 __fastcall GameStatsManager::updateActivePath(__int64 a1, int a2)
{
__int64 result; // rax
int v3; // ecx
result = (unsigned int)(a2 - 40);
v3 = 0;
if ( (unsigned int)result >= 0xFFFFFFF6 )
v3 = a2;
*(_DWORD *)(a1 + 916) = v3;
return result;
}