//
// GameStatsManager::updateActivePath from 0x8ca6f0 to 0x8ca704 (20 bytes)
//
// 5 xrefs:
// > GameStatsManager::trySelectActivePath @ 0x8e8200
// > GameStatsManager::dataLoaded @ 0x8e8f4c
// > GJPathPage::onActivatePath @ 0xba3b98
// > GJPathPage::unlockAnimationFinished @ 0xba8238
// > ??> @ 0x95e90
//
// 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:56:36 +0000
//
__int64 __fastcall GameStatsManager::updateActivePath(__int64 result, int a2)
{
if ( (unsigned int)(a2 - 30) >= 0xA )
a2 = 0;
*(_DWORD *)(result + 916) = a2;
return result;
}