//
// GameStatsManager::getPathRewardKey from 0x5243c4 to 0x524448 (132 bytes)
//
// 14 xrefs:
// > GameStatsManager::tryFixPathBug @ 0x524690
// > GameStatsManager::isPathChestUnlocked @ 0x52473e
// > GameStatsManager::createSpecialChestItems @ 0x527f84
// > GameStatsManager::createSpecialChestItems @ 0x527ff6
// > GameStatsManager::createSpecialChestItems @ 0x52806c
// > GameStatsManager::createSpecialChestItems @ 0x5280cc
// > GameStatsManager::createSpecialChestItems @ 0x528142
// > GameStatsManager::createSpecialChestItems @ 0x5281b4
// > GameStatsManager::createSpecialChestItems @ 0x52822a
// > GameStatsManager::createSpecialChestItems @ 0x52829e
// > GameStatsManager::createSpecialChestItems @ 0x528314
// > GameStatsManager::createSpecialChestItems @ 0x528386
// > GameStatsManager::createSpecialChestItems @ 0x5283c4
// > GameStatsManager::unlockPathChest @ 0x52ab8a
//
// 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:53 +0000
//
GameStatsManager *__fastcall GameStatsManager::getPathRewardKey(GameStatsManager *this, int a2, int a3)
{
const char *v5; // r0
const char *v6; // r7
size_t v7; // r0
unsigned int v9[3]; // [sp+Ch] [bp-208h] BYREF
char v10; // [sp+18h] [bp-1FCh] BYREF
v9[0] = 0;
v9[1] = 500;
v9[2] = (unsigned int)&v10;
fmt::BasicWriter::operator<<(v9, "pr_", 0);
fmt::BasicWriter::operator<<(v9, a3);
v5 = (const char *)fmt::BasicWriter::c_str((int *)v9);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v6 = v5;
*((_DWORD *)this + 2) = 0;
v7 = strlen(v5);
std::string::__init((int *)this, v6, v7);
fmt::internal::Array::free((int)v9);
return this;
}