// // LevelLeaderboard::loadLeaderboardFailed from 0x614f6c to 0x615036 (202 bytes) // // 1 xrefs: // > `non-virtual thunk to'LevelLeaderboard::loadLeaderboardFailed @ 0x615048 // // 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:55 +0000 // int __fastcall LevelLeaderboard::loadLeaderboardFailed(LevelLeaderboard *this, const char *a2) { int result; // r0 PlatformToolbox *v4; // r0 _BOOL4 isNetworkAvailable; // r0 int v6; // r7 int v7; // r0 int v8; // r7 int v9; // [sp+0h] [bp-14h] BYREF int v10; // [sp+4h] [bp-10h] int v11; // [sp+8h] [bp-Ch] result = LevelLeaderboard::isCorrect(this, a2); if ( result ) { v4 = (PlatformToolbox *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 137) + 172))( *((_DWORD *)this + 137), 0); isNetworkAvailable = PlatformToolbox::isNetworkAvailable(v4); if ( isNetworkAvailable ) { v7 = GJAccountManager::sharedState((GJAccountManager *)isNetworkAvailable); if ( *(_DWORD *)(v7 + 280) - *(_DWORD *)(v7 + 284) > 0 ) return (*(int (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 139) + 172))( *((_DWORD *)this + 139), *((_DWORD *)this + 133) != 3); v8 = *((_DWORD *)this + 138); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "Create an account to\ncompare scores\nwith other players!", 0x47u); TextArea::setString(v8, &v9); } else { v6 = *((_DWORD *)this + 138); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "No Internet connection!", 0x1Fu); TextArea::setString(v6, &v9); } std::string::~string((int)&v9); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 138) + 172))(*((_DWORD *)this + 138), 1); return (*(int (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 139) + 172))( *((_DWORD *)this + 139), *((_DWORD *)this + 133) != 3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source