//
// GameStatsManager::getPathRewardKey from 0x1401ea6c0 to 0x1401ea79f (223 bytes)
//
// 15 xrefs:
// > GameStatsManager::tryFixPathBug @ 0x1401d4dcc
// > GameStatsManager::createSpecialChestItems @ 0x1401e888c
// > GameStatsManager::createSpecialChestItems @ 0x1401e8a41
// > GameStatsManager::createSpecialChestItems @ 0x1401e8bec
// > GameStatsManager::createSpecialChestItems @ 0x1401e8d5c
// > GameStatsManager::createSpecialChestItems @ 0x1401e8edd
// > GameStatsManager::createSpecialChestItems @ 0x1401e9092
// > GameStatsManager::createSpecialChestItems @ 0x1401e923d
// > GameStatsManager::createSpecialChestItems @ 0x1401e93f2
// > GameStatsManager::createSpecialChestItems @ 0x1401e959d
// > GameStatsManager::createSpecialChestItems @ 0x1401e9752
// > GameStatsManager::createSpecialChestItems @ 0x1401e993c
// > GJPathsLayer::onPath @ 0x1402852b9
// > GJPathRewardPopup::onClaim @ 0x14028a46b
// > ??> @ 0x1406cc678
//
// 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
//
_QWORD *__fastcall GameStatsManager::getPathRewardKey(__int64 a1, _QWORD *a2, unsigned int a3)
{
_BYTE *v5; // rax
size_t v6; // r8
_QWORD v8[4]; // [rsp+20h] [rbp-248h] BYREF
_BYTE v9[528]; // [rsp+40h] [rbp-228h] BYREF
fmt::BasicWriter::BasicWriter(v9);
v8[0] = "pr_";
v8[1] = 0;
fmt::BasicWriter::operator<<(v9, v8);
fmt::BasicWriter::operator<<(v9, a3);
v5 = (_BYTE *)fmt::BasicWriter::c_str(v9);
*(_OWORD *)a2 = 0;
a2[2] = 0;
a2[3] = 0;
v6 = -1;
do
++v6;
while ( v5[v6] );
sub_14003A930(a2, v5, v6);
fmt::BasicWriter::~BasicWriter(v9);
return a2;
}