// // MessagesProfilePage::untoggleAll from 0x100213840 to 0x1002138af (111 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 // _QWORD *__fastcall MessagesProfilePage::untoggleAll(__int64 a1, double a2) { __int64 v2; // rax __int64 v3; // rbx _QWORD *result; // rax __int64 v5; // rcx unsigned __int64 v6; // rcx v2 = GameLevelManager::sharedState(a2); if ( (*(_BYTE *)(a1 + 704) & 1) != 0 ) v3 = *(_QWORD *)(a1 + 720); else v3 = a1 + 705; result = (_QWORD *)GameLevelManager::getStoredOnlineLevels(v2, v3); if ( result ) { result = (_QWORD *)result[7]; v5 = *(unsigned int *)result; if ( *(_DWORD *)result ) { result = (_QWORD *)result[2]; v6 = (unsigned __int64)&result[v5 - 1]; do { if ( !*result ) break; *(_BYTE *)(*result++ + 426LL) = 0; } while ( (unsigned __int64)result <= v6 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source