// // GameStatsManager::linkSpecialChestUnlocks from 0x10033660c to 0x100336700 (244 bytes) // // 3 xrefs: // > GameStatsManager::createSpecialChestItems @ 0x10032b470 // > GameStatsManager::unlockOnlineChest @ 0x10033495c // > GameStatsManager::processOnlineChests @ 0x10033fce8 // // 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 // __int64 __fastcall GameStatsManager::linkSpecialChestUnlocks(__int64 result, __int64 a2, __int128 *a3) { __int64 v3; // x21 __int64 v5; // x20 unsigned int v6; // w22 _DWORD *v7; // x0 __int64 v8; // x24 cocos2d::CCObject *v9; // x0 __int64 v10; // x0 void *__p[2]; // [xsp+8h] [xbp-68h] BYREF char v12; // [xsp+1Fh] [xbp-51h] char v13; // [xsp+27h] [xbp-49h] BYREF void **v14; // [xsp+28h] [xbp-48h] BYREF if ( a2 ) { v3 = *(_QWORD *)(a2 + 72); if ( v3 ) { v5 = result; result = sub_10024A36C(*(_QWORD *)(a2 + 72)); if ( (_DWORD)result ) { v6 = 0; do { v7 = (_DWORD *)sub_10024A388(v3, v6); if ( v7[14] == 9 ) { GameStatsManager::getItemKey((unsigned int)v7[16], (unsigned int)v7[15], __p); v8 = *(_QWORD *)(v5 + 368); v9 = sub_100268E48(a3); cocos2d::CCDictionary::setObject_1(v8, v9, __p); v14 = __p; v10 = sub_100341EB8(v5 + 416, __p, &unk_10064538B, &v14, &v13); std::string::operator=((std::string *)(v10 + 40), (const std::string *)a3); if ( v12 < 0 ) operator delete(__p[0]); } ++v6; result = sub_10024A36C(v3); } while ( v6 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source