// // GameStatsManager::linkSpecialChestUnlocks from 0x1402ee220 to 0x1402ee32b (267 bytes) // // 4 xrefs: // > GameStatsManager::createSpecialChestItems @ 0x1402ee1ab // > GameStatsManager::unlockOnlineChest @ 0x1402eebb4 // > GameStatsManager::processOnlineChests @ 0x1402f83a7 // > @ 0x14091e0b0 // // 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:55 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall GameStatsManager::linkSpecialChestUnlocks(__int64 a1, __int64 a2, void **a3) { cocos2d::CCArray *v5; // rbp unsigned int v6; // ebx struct cocos2d::CCObject *v7; // rax __int64 v8; // rcx __int64 v9; // rdi __int64 v10; // rax void **v11; // rcx void *v12; // rdx _BYTE v13[16]; // [rsp+20h] [rbp-68h] BYREF void **v14; // [rsp+30h] [rbp-58h] _QWORD v15[4]; // [rsp+38h] [rbp-50h] BYREF v14 = a3; if ( a2 ) { v5 = *(cocos2d::CCArray **)(a2 + 72); if ( v5 ) { v6 = 0; if ( cocos2d::CCArray::count(*(cocos2d::CCArray **)(a2 + 72)) ) { do { v7 = cocos2d::CCArray::objectAtIndex(v5, v6); if ( *((_DWORD *)v7 + 14) == 9 ) { GameStatsManager::getItemKey(v8, v15, *((_DWORD *)v7 + 16), *((_DWORD *)v7 + 15)); v9 = *(_QWORD *)(a1 + 376); v10 = cocos2d::CCString::create(a3); cocos2d::CCDictionary::setObject(v9, v10, v15); v11 = (void **)(*(_QWORD *)sub_1402F9FD0(a1 + 448, v13, v15) + 48LL); if ( v11 != a3 ) { v12 = a3; if ( (unsigned __int64)a3[3] > 0xF ) v12 = *a3; sub_1400405A0(v11, v12, (size_t)a3[2]); } sub_14003D310((__int64)v15); } ++v6; } while ( v6 < cocos2d::CCArray::count(v5) ); } } } sub_14003D310((__int64)a3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source