// // MessagesProfilePage::selectedCount from 0xa49cb4 to 0xa49d34 (128 bytes) // // 3 xrefs: // > MessagesProfilePage::updateSelectUI @ 0xa49d48 // > MessagesProfilePage::onToggleAllObjects @ 0xa49e14 // > @ 0x9e818 // // This function is hookable on this platform (idp: arm, 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 13:00:01 +0000 // __int64 __fastcall MessagesProfilePage::selectedCount(MessagesProfilePage *this) { GameLevelManager *v2; // x0 const char *v3; // x1 __int64 result; // x0 int *v5; // x1 unsigned int v6; // w2 unsigned __int64 v7; // x1 unsigned __int64 i; // x3 int v9; // w2 v2 = (GameLevelManager *)GameLevelManager::sharedState(this); v3 = (char *)this + 705; if ( (*((_BYTE *)this + 704) & 1) != 0 ) v3 = *((const char **)this + 90); result = GameLevelManager::getStoredOnlineLevels(v2, v3); if ( result ) { v5 = *(int **)(result + 56); result = 0; v6 = *v5; if ( *v5 ) { v7 = *((_QWORD *)v5 + 2); for ( i = v7 + 8LL * v6 - 8; i >= v7; result = v9 ? (unsigned int)(result + 1) : (unsigned int)result ) { if ( !*(_QWORD *)v7 ) break; v9 = *(unsigned __int8 *)(*(_QWORD *)v7 + 426LL); v7 += 8LL; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source