//
// GameStatsManager::unlockGauntletChest from 0x41c834 to 0x41c8a4 (112 bytes)
//
// 1 xrefs:
// > GauntletSelectLayer::onPlay @ 0x4d6e28
//
// 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
//
GJRewardItem *GameStatsManager::unlockGauntletChest(GameStatsManager *a1, int a2)
{
GJRewardItem *v3; // r7
GameStatsManager *v5; // r0
char v6; // [sp+4h] [bp-10h] BYREF
_BYTE v7[4]; // [sp+8h] [bp-Ch] BYREF
GameStatsManager::getGauntletRewardKey((GameStatsManager *)&v6, (int)a1, a2);
sub_775C20(v7);
v3 = GameStatsManager::unlockSpecialChest((int *)a1, (stl::StringData::Internal *)v7);
sub_774008(v7);
if ( v3 )
{
v5 = GameStatsManager::sharedState();
GameStatsManager::incrementStat(v5, "40");
}
sub_774008(&v6);
return v3;
}