//
// GameStatsManager::unlockPathChest from 0x41c8ac to 0x41c90c (96 bytes)
//
// 1 xrefs:
// > GJPathRewardPopup::onClaim @ 0x58bb2e
//
// 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::unlockPathChest(GameStatsManager *a1, int a2)
{
GJRewardItem *v3; // r7
char v5; // [sp+4h] [bp-10h] BYREF
_BYTE v6[4]; // [sp+8h] [bp-Ch] BYREF
GameStatsManager::getPathRewardKey((GameStatsManager *)&v5, (int)a1, a2);
sub_775C20(v6);
v3 = GameStatsManager::unlockSpecialChest((int *)a1, (stl::StringData::Internal *)v6);
sub_774008(v6);
sub_774008(&v5);
return v3;
}