//
// GameStatsManager::shouldAwardSecretKey from 0x522cd8 to 0x522d22 (74 bytes)
//
// 1 xrefs:
// > GameStatsManager::awardSecretKey @ 0x5294a4
//
// 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:52 +0000
//
bool __fastcall GameStatsManager::shouldAwardSecretKey(GameStatsManager *this)
{
int Stat; // r0
Stat = GameStatsManager::getStat(this, "22");
return (float)(*((_DWORD *)this + 123) - *((_DWORD *)this + 124)) < floorf((float)Stat / 500.0);
}