// // GameStatsManager::hasCompletedOnlineLevel from 0x1402e1850 to 0x1402e1988 (312 bytes) // // 3 xrefs: // > GJMapPack::completedMaps @ 0x14026bfbe // > GJLevelList::completedLevels @ 0x1402735b2 // > @ 0x14091de4c // // 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:48 +0000 // _BOOL8 __fastcall GameStatsManager::hasCompletedOnlineLevel(__int64 a1, unsigned int a2) { _BYTE *v4; // rax size_t v5; // r8 bool v6; // bl void *v7; // rcx _QWORD v9[2]; // [rsp+40h] [rbp-258h] BYREF void *Block[2]; // [rsp+50h] [rbp-248h] BYREF __int128 v11; // [rsp+60h] [rbp-238h] _BYTE v12[528]; // [rsp+70h] [rbp-228h] BYREF fmt::BasicWriter::BasicWriter(v12); v9[0] = "c_"; v9[1] = 0; fmt::BasicWriter::operator<<(v12, v9); fmt::BasicWriter::operator<<(v12, a2); v4 = (_BYTE *)fmt::BasicWriter::c_str(v12); *(_OWORD *)Block = 0; v11 = 0; v5 = -1; do ++v5; while ( v4[v5] ); sub_14003D230(Block, v4, v5); fmt::BasicWriter::~BasicWriter(v12); v6 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 712), Block) != 0; if ( *((_QWORD *)&v11 + 1) > 0xFu ) { v7 = Block[0]; if ( (unsigned __int64)(*((_QWORD *)&v11 + 1) + 1LL) >= 0x1000 ) { v7 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v7); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source