// // GameStatsManager::linkSpecialChestUnlocks from 0x100077ef0 to 0x100077ff9 (265 bytes) // // 3 xrefs: // > GameStatsManager::createSpecialChestItems @ 0x100064ae1 // > GameStatsManager::unlockOnlineChest @ 0x1000748b3 // > GameStatsManager::processOnlineChests @ 0x10008ebab // // 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 // void __fastcall GameStatsManager::linkSpecialChestUnlocks(__int64 a1, __int64 a2, const std::string *a3, double a4) { __int64 v4; // r15 unsigned int v6; // r13d _DWORD *v7; // rax __int64 v8; // r14 __int64 v9; // rax __int64 v10; // rax size_t v11[3]; // [rsp+0h] [rbp-60h] BYREF size_t *v12; // [rsp+18h] [rbp-48h] BYREF __int64 v13; // [rsp+20h] [rbp-40h] __int64 v14; // [rsp+28h] [rbp-38h] _BYTE v15[41]; // [rsp+37h] [rbp-29h] BYREF v14 = a1; if ( a2 ) { v4 = *(_QWORD *)(a2 + 72); if ( v4 ) { if ( (unsigned int)sub_100720070(*(_QWORD *)(a2 + 72)) ) { v13 = v14 + 416; v6 = 0; do { v7 = (_DWORD *)sub_1007200C0(v4, v6); if ( v7[14] == 9 ) { GameStatsManager::getItemKey(v11, a4, v6, v7[16], v7[15]); v8 = *(_QWORD *)(v14 + 368); v9 = sub_1007AB360(a3); cocos2d::CCDictionary::setObject_1(v8, v9, v11); v12 = v11; v10 = sub_100091440(v13, v11, &unk_100815886, &v12, v15); std::string::operator=((std::string *)(v10 + 40), a3); if ( (v11[0] & 1) != 0 ) operator delete((void *)v11[2]); } ++v6; } while ( v6 < (unsigned int)sub_100720070(v4) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source