//
// GameStatsManager::incrementActivePath from 0x10032fba0 to 0x10032fc1c (124 bytes)
//
// 1 xrefs:
// > GameStatsManager::incrementStat @ 0x10032c3e0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GameStatsManager::incrementActivePath(GameStatsManager *a1, int a2)
{
__int64 m_activePath; // x0
void **v5; // x1
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v7; // [xsp+1Fh] [xbp-21h]
GameStatsManager::trySelectActivePath(a1);
m_activePath = (unsigned int)a1->m_activePath;
if ( (unsigned int)(m_activePath - 30) <= 9 )
{
GameToolbox::intToString(m_activePath, __p);
if ( v7 >= 0 )
v5 = __p;
else
v5 = (void **)__p[0];
GameStatsManager::incrementStat(a1, (const char *)v5, a2);
if ( v7 < 0 )
operator delete(__p[0]);
}
}