// // GameStatsManager::unlockOnlineChest from 0x4205ec to 0x420668 (124 bytes) // // 2 xrefs: // > GameStatsManager::completedDailyLevel @ 0x420850 // > SecretLayer5::claimOnlineReward @ 0x59d428 // // 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 // GJRewardItem *__fastcall GameStatsManager::unlockOnlineChest(int *a1, int a2, int a3) { GJRewardItem *v4; // r6 int v5; // r9 cocos2d::CCObject *v6; // r0 _DWORD v8[3]; // [sp+0h] [bp-Ch] BYREF v8[0] = a1; v8[1] = a2; v8[2] = a3; sub_775C20(v8); v4 = GameStatsManager::unlockSpecialChest(a1, (stl::StringData::Internal *)v8); sub_774008(v8); if ( v4 ) { v5 = a1[135]; v6 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_0 + 1); cocos2d::CCDictionary::setObject(v5, v6); sub_775C20(v8); GameStatsManager::linkSpecialChestUnlocks(a1, v4, (cocos2d::CCString *)v8); sub_774008(v8); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source