//
// GameStatsManager::getSpecialChestKeyForItem from 0x528d44 to 0x528d94 (80 bytes)
//
// 3 xrefs:
// > GameStatsManager::getItemUnlockStateLite @ 0x528e1c
// > GameStatsManager::isItemUnlocked @ 0x5290e4
// > GameStatsManager::generateItemUnlockableData @ 0x52b82e
//
// 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:57 +0000
//
int __fastcall GameStatsManager::getSpecialChestKeyForItem(int a1, int a2, int a3)
{
int v3; // r7
int v4; // r6
_BYTE v6[12]; // [sp+0h] [bp-14h] BYREF
v3 = *(_DWORD *)(a1 + 288);
GameStatsManager::getItemKey((GameStatsManager *)v6, a1, a2, a3);
v4 = cocos2d::CCDictionary::objectForKey(v3, v6);
std::string::~string((int)v6);
return v4;
}