//
// GameStatsManager::unlockPathChest from 0x52ab70 to 0x52abd0 (96 bytes)
//
// 1 xrefs:
// > GJPathRewardPopup::onClaim @ 0x6d16a6
//
// 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:59 +0000
//
GJRewardItem *__fastcall GameStatsManager::unlockPathChest(GameStatsManager *this, int a2)
{
int v3; // r2
int v4; // r3
GJRewardItem *v5; // r7
_BYTE v7[12]; // [sp+4h] [bp-20h] BYREF
int v8[3]; // [sp+10h] [bp-14h] BYREF
GameStatsManager::getPathRewardKey((GameStatsManager *)v7, (int)this, a2);
std::string::basic_string(v8, (int)v7);
v5 = GameStatsManager::unlockSpecialChest((int *)this, (int)v8, v3, v4);
std::string::~string((int)v8);
std::string::~string((int)v7);
return v5;
}