// // GameStatsManager::storeRewardState from 0x1402e5290 to 0x1402e5357 (199 bytes) // // 4 xrefs: // > GameLevelManager::onGetGJRewardsCompleted @ 0x14025df03 // > GameLevelManager::onGetGJRewardsCompleted @ 0x14025dffc // > @ 0x14091df78 // > @ 0x14091df84 // // 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:50 +0000 // // Hidden C++ exception states: #wind=1 void __fastcall GameStatsManager::storeRewardState(__int64 a1, int a2, unsigned int a3, int a4, __int64 a5) { __int64 v7; // rbp unsigned int v9; // ebx __int64 v10; // rax __int64 v11; // rax _BYTE v12[32]; // [rsp+20h] [rbp-78h] BYREF __int64 v13; // [rsp+40h] [rbp-58h] struct __timeb64 Time; // [rsp+48h] [rbp-50h] BYREF v7 = a2; v13 = a5; v9 = 0; if ( a4 > 0 ) { ftime64(&Time); v9 = a4 + (int)((double)Time.millitm / 1000.0 + (double)SLODWORD(Time.time)); } v10 = sub_14003F4F0((__int64)v12, a5); v11 = GJRewardItem::create(a3, v9, v10); *(_BYTE *)(v11 + 80) = 1; *(_DWORD *)(v11 + 64) = v7; cocos2d::CCDictionary::setObject(*(cocos2d::CCDictionary **)(a1 + 528), (struct cocos2d::CCObject *)v11, v7); sub_14003D310(a5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source