//
// GameStatsManager::incrementActivePath from 0x529228 to 0x52928a (98 bytes)
//
// 1 xrefs:
// > GameStatsManager::incrementStat @ 0x529314
//
// 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:57 +0000
//
int __fastcall GameStatsManager::incrementActivePath(GameStatsManager *this, int a2, char *a3)
{
int result; // r0
int v6; // r1
char *v7; // r1
char v8; // [sp+0h] [bp-14h] BYREF
char v9; // [sp+1h] [bp-13h] BYREF
char *v10; // [sp+8h] [bp-Ch]
result = GameStatsManager::trySelectActivePath(this, a2, a3, _stack_chk_guard);
v6 = *((_DWORD *)this + 143);
if ( (unsigned int)(v6 - 30) <= 9 )
{
GameToolbox::intToString((GameToolbox *)&v8, v6);
if ( (v8 & 1) != 0 )
v7 = v10;
else
v7 = &v9;
GameStatsManager::incrementStat(this, v7, a2);
return std::string::~string((int)&v8);
}
return result;
}