// // LeaderboardsLayer::loadLeaderboardFailed from 0x100458f0c to 0x100459048 (316 bytes) // // 2 xrefs: // > sub_1004590A4 @ 0x1004590a8 // > @ 0x100967480 // // 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:05:24 +0000 // void __fastcall LeaderboardsLayer::loadLeaderboardFailed(__int64 a1, char *a2) { bool isCorrect; // w0 bool v4; // w20 int v5; // w8 __int64 v6; // x20 _QWORD *v7; // x19 const void **v8; // x8 __int64 v9; // x20 __int64 v10; // x20 const void *v11[2]; // [xsp+0h] [xbp-70h] BYREF char v12; // [xsp+17h] [xbp-59h] const void *v13[2]; // [xsp+18h] [xbp-58h] BYREF char v14; // [xsp+2Fh] [xbp-41h] const void *v15[2]; // [xsp+30h] [xbp-40h] BYREF char v16; // [xsp+47h] [xbp-29h] const void *v17[2]; // [xsp+48h] [xbp-28h] BYREF char v18; // [xsp+5Fh] [xbp-11h] sub_100009900(v17, a2); isCorrect = LeaderboardsLayer::isCorrect(a1, v17); v4 = isCorrect; if ( v18 < 0 ) { operator delete((void *)v17[0]); if ( !v4 ) return; LABEL_5: (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 480) + 344LL))(*(_QWORD *)(a1 + 480), 0); if ( sub_1001F91E0() ) { v5 = *(_DWORD *)(a1 + 440); if ( v5 != 2 ) { if ( v5 != 4 ) return; v6 = *(_QWORD *)(a1 + 488); sub_100009900(v13, "Create an account to\ncompare scores\nwith Friends!"); TextArea::setString(v6, v13); v7 = (_QWORD *)(a1 + 488); if ( (v14 & 0x80000000) == 0 ) goto LABEL_15; v8 = v13; goto LABEL_14; } v10 = *(_QWORD *)(a1 + 488); sub_100009900(v11, "Create an account to\ncompare scores\n Online!"); TextArea::setString(v10, v11); v7 = (_QWORD *)(a1 + 488); if ( v12 < 0 ) { v8 = v11; goto LABEL_14; } } else { v9 = *(_QWORD *)(a1 + 488); sub_100009900(v15, "No Internet connection!"); TextArea::setString(v9, v15); v7 = (_QWORD *)(a1 + 488); if ( v16 < 0 ) { v8 = v15; LABEL_14: operator delete((void *)*v8); } } LABEL_15: (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v7 + 344LL))(*v7, 1); return; } if ( isCorrect ) goto LABEL_5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source