//
// GameStatsManager::awardSecretKey from 0x5294a0 to 0x5294cc (44 bytes)
//
// 2 xrefs:
// > PlayLayer::destroyPlayer @ 0x405f08
// > PlayLayer::levelComplete @ 0x4080f2
//
// 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:58 +0000
//
bool __fastcall GameStatsManager::awardSecretKey(GameStatsManager *this)
{
_BOOL4 shouldAwardSecretKey; // r5
shouldAwardSecretKey = GameStatsManager::shouldAwardSecretKey(this);
if ( shouldAwardSecretKey )
{
GameStatsManager::setAwardedBonusKeys(this, *((_DWORD *)this + 123) - *((_DWORD *)this + 124) + 1);
GameStatsManager::incrementStat(this, "21");
}
return shouldAwardSecretKey;
}