// // FRequestProfilePage::selectedCount from 0xa4c294 to 0xa4c314 (128 bytes) // // 3 xrefs: // > FRequestProfilePage::updateSelectUI @ 0xa4c390 // > FRequestProfilePage::onToggleAllObjects @ 0xa4c3f0 // > @ 0xb6998 // // 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:02 +0000 // __int64 __fastcall FRequestProfilePage::selectedCount(FRequestProfilePage *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 + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v3 = *((const char **)this + 91); 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 + 725LL); v7 += 8LL; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source