// // MessagesProfilePage::selectedCount from 0x5ef6a8 to 0x5ef6f2 (74 bytes) // // 2 xrefs: // > MessagesProfilePage::updateSelectUI @ 0x5ef6fa // > MessagesProfilePage::onToggleAllObjects @ 0x5ef780 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:26 +0000 // int __fastcall MessagesProfilePage::selectedCount(MessagesProfilePage *this) { GameLevelManager *v2; // r0 const char *v3; // r1 int result; // r0 int *v5; // r3 int *v6; // r2 int v7; // r3 int *v8; // r3 int v9; // r1 int v10; // t1 v2 = (GameLevelManager *)GameLevelManager::sharedState(this); if ( (*((_BYTE *)this + 540) & 1) != 0 ) v3 = *((const char **)this + 137); else v3 = (char *)this + 541; result = GameLevelManager::getStoredOnlineLevels(v2, v3); if ( result ) { v5 = *(int **)(result + 52); result = *v5; if ( *v5 ) { v6 = (int *)v5[3]; v7 = result + 0x3FFFFFFF; result = 0; v8 = &v6[v7]; while ( v6 <= v8 ) { v10 = *v6++; v9 = v10; if ( !v10 ) break; if ( *(_BYTE *)(v9 + 326) ) ++result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source