//
// GameStatsManager::setStatIfHigher from 0x8ddab0 to 0x8ddaf8 (72 bytes)
//
// 3 xrefs:
// > GameManager::verifySyncedCoins @ 0x714d18
// > GameLevelManager::onGetNotificationsCompleted @ 0x8393cc
// > ??> @ 0x55720
//
// 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:48 +0000
//
__int64 __fastcall GameStatsManager::setStatIfHigher(GameStatsManager *this, char *a2, char *a3)
{
__int64 result; // x0
result = GameStatsManager::getStat(this, a2);
if ( (int)result < (int)a3 )
return GameStatsManager::setStat(this, a2, a3);
return result;
}