//
// GameStatsManager::getSpecialChestKeyForItem from 0x8e7a38 to 0x8e7ad0 (152 bytes)
//
// 4 xrefs:
// > GameStatsManager::getItemUnlockStateLite @ 0x8e7ba0
// > GameStatsManager::isItemUnlocked @ 0x8e8124
// > GameStatsManager::generateItemUnlockableData @ 0x8ec5dc
// > ??> @ 0xa9000
//
// This function is hookable on this platform (idp: arm, 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 12:56:53 +0000
//
__int64 __fastcall GameStatsManager::getSpecialChestKeyForItem(__int64 a1, unsigned int a2, unsigned int a3)
{
__int64 v3; // x21
__int64 v4; // x20
unsigned __int64 v6[3]; // [xsp+30h] [xbp+30h] BYREF
v3 = *(_QWORD *)(a1 + 368);
GameStatsManager::getItemKey(a2, a3, v6);
v4 = cocos2d::CCDictionary::objectForKey(v3, v6);
if ( (v6[0] & 1) != 0 )
operator delete((void *)v6[2]);
return v4;
}