// // LevelLeaderboard::loadLeaderboardFailed from 0x1002ee158 to 0x1002ee250 (248 bytes) // // 2 xrefs: // > sub_1002EE284 @ 0x1002ee288 // > @ 0x1009279d8 // // 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:02:54 +0000 // __int64 __fastcall LevelLeaderboard::loadLeaderboardFailed(__int64 a1, char *a2) { __int64 result; // x0 _BOOL8 v4; // x0 __int64 v5; // x0 __int64 v6; // x20 _QWORD *v7; // x20 const void **v8; // x8 __int64 v9; // x20 const void *v10[2]; // [xsp+0h] [xbp-40h] BYREF char v11; // [xsp+17h] [xbp-29h] const void *v12[2]; // [xsp+18h] [xbp-28h] BYREF char v13; // [xsp+2Fh] [xbp-11h] result = sub_1002EDFAC(a1, a2); if ( (_DWORD)result ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 712) + 344LL))(*(_QWORD *)(a1 + 712), 0); v4 = sub_1001F91E0(); if ( v4 ) { v5 = GJAccountManager::sharedState(v4); if ( *(_DWORD *)(v5 + 352) > *(_DWORD *)(v5 + 356) ) return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 728) + 344LL))( *(_QWORD *)(a1 + 728), *(_DWORD *)(a1 + 688) != 3); v6 = *(_QWORD *)(a1 + 720); sub_100009900(v10, "Create an account to\ncompare scores\nwith other players!"); TextArea::setString(v6, v10); v7 = (_QWORD *)(a1 + 720); if ( v11 < 0 ) { v8 = v10; LABEL_8: operator delete((void *)*v8); } } else { v9 = *(_QWORD *)(a1 + 720); sub_100009900(v12, "No Internet connection!"); TextArea::setString(v9, v12); v7 = (_QWORD *)(a1 + 720); if ( v13 < 0 ) { v8 = v12; goto LABEL_8; } } (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v7 + 344LL))(*v7, 1); return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 728) + 344LL))( *(_QWORD *)(a1 + 728), *(_DWORD *)(a1 + 688) != 3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source