// // sub_10024C5B4 from 0x10024c5b4 to 0x10024c62c (120 bytes) // // 2 xrefs: // > sub_10024BD40 @ 0x10024bd88 // > sub_10024C268 @ 0x10024c294 // // 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 11:01:29 +0000 // __int64 __fastcall sub_10024C5B4(__int64 a1) { __int64 v2; // x0 char *v3; // x1 __int64 result; // x0 unsigned int *v5; // x8 __int64 v6; // x9 unsigned __int64 v7; // x8 unsigned __int64 v8; // x9 v2 = GameLevelManager::sharedState(); v3 = (char *)(a1 + 712); if ( *(char *)(a1 + 735) < 0 ) v3 = *(char **)v3; result = GameLevelManager::getStoredOnlineLevels(v2, v3); if ( result ) { v5 = *(unsigned int **)(result + 56); v6 = *v5; if ( (_DWORD)v6 ) { result = 0; v7 = *((_QWORD *)v5 + 2); v8 = v7 + 8 * v6 - 8; do { if ( !*(_QWORD *)v7 ) break; result = (unsigned int)result + *(unsigned __int8 *)(*(_QWORD *)v7 + 725LL); v7 += 8LL; } while ( v7 <= v8 ); } else { return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source