//
// GameStatsManager::getPathRewardKey from 0x1402ee970 to 0x1402eea49 (217 bytes)
//
// 15 xrefs:
// > GameStatsManager::tryFixPathBug @ 0x1402dad34
// > GameStatsManager::createSpecialChestItems @ 0x1402ecaad
// > GameStatsManager::createSpecialChestItems @ 0x1402ecc62
// > GameStatsManager::createSpecialChestItems @ 0x1402ece0d
// > GameStatsManager::createSpecialChestItems @ 0x1402ecf7d
// > GameStatsManager::createSpecialChestItems @ 0x1402ed128
// > GameStatsManager::createSpecialChestItems @ 0x1402ed2dd
// > GameStatsManager::createSpecialChestItems @ 0x1402ed488
// > GameStatsManager::createSpecialChestItems @ 0x1402ed63d
// > GameStatsManager::createSpecialChestItems @ 0x1402ed7e8
// > GameStatsManager::createSpecialChestItems @ 0x1402ed99d
// > GameStatsManager::createSpecialChestItems @ 0x1402edbb1
// > GJPathsLayer::onPath @ 0x140392fd2
// > GJPathRewardPopup::onClaim @ 0x1403982ce
// > ??> @ 0x14091e104
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:29:56 +0000
//
_QWORD *__fastcall GameStatsManager::getPathRewardKey(__int64 a1, _QWORD *a2, unsigned int a3)
{
_BYTE *v5; // rax
size_t v6; // r8
_QWORD v8[2]; // [rsp+30h] [rbp-238h] BYREF
_BYTE v9[528]; // [rsp+40h] [rbp-228h] BYREF
fmt::BasicWriter::BasicWriter(v9);
v8[0] = &unk_140767468;
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_14003D230(a2, v5, v6);
fmt::BasicWriter::~BasicWriter(v9);
return a2;
}