//
// GameStatsManager::addSimpleSpecialChestReward from 0x8cf930 to 0x8cf9a4 (116 bytes)
//
// 20 xrefs:
// > GameStatsManager::createSpecialChestItems @ 0x8e5574
// > GameStatsManager::createSpecialChestItems @ 0x8e55b4
// > GameStatsManager::createSpecialChestItems @ 0x8e55f4
// > GameStatsManager::createSpecialChestItems @ 0x8e5634
// > GameStatsManager::createSpecialChestItems @ 0x8e5674
// > GameStatsManager::createSpecialChestItems @ 0x8e56b4
// > GameStatsManager::createSpecialChestItems @ 0x8e56f4
// > GameStatsManager::createSpecialChestItems @ 0x8e5734
// > GameStatsManager::createSpecialChestItems @ 0x8e5774
// > GameStatsManager::createSpecialChestItems @ 0x8e57b4
// > GameStatsManager::createSpecialChestItems @ 0x8e57f4
// > GameStatsManager::createSpecialChestItems @ 0x8e5834
// > GameStatsManager::createSpecialChestItems @ 0x8e5874
// > GameStatsManager::createSpecialChestItems @ 0x8e58b4
// > GameStatsManager::createSpecialChestItems @ 0x8e58f4
// > GameStatsManager::createSpecialChestItems @ 0x8e5934
// > GameStatsManager::createSpecialChestItems @ 0x8e5974
// > GameStatsManager::createSpecialChestItems @ 0x8e59b4
// > GameStatsManager::createSpecialChestItems @ 0x8e59f4
// > ??> @ 0x57a48
//
// 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:38 +0000
//
__int64 __fastcall GameStatsManager::addSimpleSpecialChestReward(cocos2d::CCArray *a1, __int64 a2, int a3, int a4)
{
cocos2d::CCArray *v5; // x19
cocos2d::CCObject *ItemUnlock; // x0
__int64 v7; // x21
cocos2d::CCObject *v8; // x0
v5 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1);
ItemUnlock = GJRewardObject::createItemUnlock(a3, a4);
cocos2d::CCArray::addObject(v5, ItemUnlock);
v7 = *((_QWORD *)a1 + 45);
v8 = (cocos2d::CCObject *)GJRewardItem::createWithObjects((GJRewardItem *)((char *)&dword_0 + 2), v5);
return cocos2d::CCDictionary::setObject(v7, v8);
}