//
// GameStatsManager::storeEventChest from 0x40d9c8 to 0x40da1e (86 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x3c4462
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void GameStatsManager::storeEventChest(GameStatsManager *a1, int a2, GJRewardItem *a3)
{
cocos2d::CCDictionary *m_eventChest; // r8
_DWORD v5[2]; // [sp+0h] [bp-8h] BYREF
v5[0] = a1;
v5[1] = a2;
if ( a3 )
{
m_eventChest = a1->m_eventChest;
GameStatsManager::getDailyLevelKey((GameStatsManager *)v5, (int)a1, (const char *)a2);
cocos2d::CCDictionary::setObject((int)m_eventChest, a3);
sub_774008(v5);
}
}