//
// GameStatsManager::getItemKey from 0x52492c to 0x5249be (146 bytes)
//
// 11 xrefs:
// > GameStatsManager::addStoreItem @ 0x524a06
// > GameStatsManager::getStoreItem @ 0x525fc8
// > GameStatsManager::getItemUnlockState @ 0x526020
// > GameStatsManager::toggleEnableItem @ 0x526098
// > GameStatsManager::linkSpecialChestUnlocks @ 0x526132
// > GameStatsManager::getSpecialChestKeyForItem @ 0x528d64
// > GameStatsManager::getSpecialUnlockDescription @ 0x528eb4
// > GameStatsManager::createSecretChestItems @ 0x528fc4
// > GameStatsManager::getSecretChestForItem @ 0x529048
// > GameStatsManager::generateItemUnlockableData @ 0x52b876
// > GameStatsManager::isItemEnabled @ 0x52b9de
//
// 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:54 +0000
//
GameStatsManager *__fastcall GameStatsManager::getItemKey(GameStatsManager *this, int a2, int a3, int a4)
{
const char *v6; // r0
const char *v7; // r5
size_t v8; // r0
unsigned int v10[3]; // [sp+Ch] [bp-204h] BYREF
char v11; // [sp+18h] [bp-1F8h] BYREF
v10[1] = 500;
v10[2] = (unsigned int)&v11;
v10[0] = 0;
fmt::BasicWriter::operator<<(v10, a3);
fmt::BasicWriter::operator<<(v10, "_", 0);
fmt::BasicWriter::operator<<(v10, a4);
v6 = (const char *)fmt::BasicWriter::c_str((int *)v10);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
v7 = v6;
*((_DWORD *)this + 2) = 0;
v8 = strlen(v6);
std::string::__init((int *)this, v7, v8);
fmt::internal::Array::free((int)v10);
return this;
}