//
// GameStatsManager::updateActivePath from 0x5161e2 to 0x5161f2 (16 bytes)
//
// 4 xrefs:
// > GameStatsManager::trySelectActivePath @ 0x529170
// > GameStatsManager::dataLoaded @ 0x529cea
// > GJPathPage::onActivatePath @ 0x6d1692
// > GJPathPage::unlockAnimationFinished @ 0x6d44be
//
// 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:51:40 +0000
//
int __fastcall GameStatsManager::updateActivePath(int result, int a2)
{
if ( (unsigned int)(a2 - 30) >= 0xA )
a2 = 0;
*(_DWORD *)(result + 572) = a2;
return result;
}