// // sub_100213210 from 0x100213210 to 0x100213291 (129 bytes) // // 0 xrefs: // // 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 12:26:59 +0000 // __int64 __fastcall sub_100213210(__int64 a1, double a2) { __int64 v2; // rax __int64 v3; // rbx __int64 StoredOnlineLevels; // rcx __int64 result; // rax unsigned int *v6; // rcx __int64 v7; // rdx unsigned __int64 v8; // rcx unsigned __int64 v9; // rdx v2 = GameLevelManager::sharedState(a2); if ( (*(_BYTE *)(a1 + 704) & 1) != 0 ) v3 = *(_QWORD *)(a1 + 720); else v3 = a1 + 705; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, v3); result = 0; if ( StoredOnlineLevels ) { v6 = *(unsigned int **)(StoredOnlineLevels + 56); v7 = *v6; if ( *v6 ) { v8 = *((_QWORD *)v6 + 2); v9 = v8 + 8 * v7 - 8; result = 0; do { if ( !*(_QWORD *)v8 ) break; result = *(unsigned __int8 *)(*(_QWORD *)v8 + 426LL) + (unsigned int)result; v8 += 8LL; } while ( v8 <= v9 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source