// // GameStatsManager::unlockOnlineChest from 0x1402eeb30 to 0x1402eebe5 (181 bytes) // // 4 xrefs: // > GameStatsManager::completedDailyLevel @ 0x1402e7008 // > NotificationsPage::notificationRewardFinished @ 0x140478d83 // > SecretLayer5::claimOnlineReward @ 0x14058c150 // > @ 0x14091e11c // // This function is hookable on this platform (idp: pc, 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 11:29:56 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall GameStatsManager::unlockOnlineChest(__int64 a1, __int64 a2) { __int64 v4; // rax __int64 v5; // rsi __int64 v6; // rbx struct cocos2d::CCString *v7; // rax void **v8; // rax _BYTE v10[32]; // [rsp+28h] [rbp-70h] BYREF _BYTE v11[32]; // [rsp+48h] [rbp-50h] BYREF __int64 v12; // [rsp+68h] [rbp-30h] v12 = a2; v4 = sub_14003F4F0((__int64)v10, a2); v5 = GameStatsManager::unlockSpecialChest(a1, v4); if ( v5 ) { v6 = *(_QWORD *)(a1 + 904); v7 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 1); cocos2d::CCDictionary::setObject(v6, v7, a2); v8 = (void **)sub_14003F4F0((__int64)v11, a2); GameStatsManager::linkSpecialChestUnlocks(a1, v5, v8); } sub_14003D310(a2); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source