//
// GameStatsManager::storeOnlineChest from 0x40e410 to 0x40e422 (18 bytes)
//
// 2 xrefs:
// > GameLevelManager::onGetGJSecretRewardCompleted @ 0x3c379e
// > GameStatsManager::completedDailyLevel @ 0x420836
//
// 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
//
int __fastcall GameStatsManager::storeOnlineChest(int result, int a2, cocos2d::CCObject *this)
{
if ( this )
return cocos2d::CCDictionary::setObject(*(_DWORD *)(result + 284), this);
return result;
}