// // LeaderboardsLayer::loadLeaderboardFailed from 0x1403dcb50 to 0x1403dccd5 (389 bytes) // // 2 xrefs: // > @ 0x140787480 // > @ 0x140924cd4 // // This function is hookable on this platform (idp: pc, 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:31:39 +0000 // __int64 __fastcall LeaderboardsLayer::loadLeaderboardFailed(__int64 a1, _BYTE *a2) { size_t v3; // r8 __int64 result; // rax __int64 v5; // rdx __int128 v6; // [rsp+20h] [rbp-28h] BYREF __int64 v7; // [rsp+30h] [rbp-18h] __int64 v8; // [rsp+38h] [rbp-10h] v6 = 0; v7 = 0; v8 = 0; v3 = -1; do ++v3; while ( a2[v3] ); sub_14003D230(&v6, a2, v3); result = LeaderboardsLayer::isCorrect(a1 - 408, &v6); if ( (_BYTE)result ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 72) + 336LL))(*(_QWORD *)(a1 + 72), 0); result = *(unsigned int *)(a1 + 32); if ( (_DWORD)result == 4 ) { v7 = 0; v8 = 0; v6 = 0; *(_QWORD *)&v6 = sub_14003D460(0x50u); v7 = 65; v8 = 79; strcpy((char *)v6, "Create an account to\ncompare scores\nwith Friends!"); } else { if ( (_DWORD)result != 2 ) return result; v7 = 0; v8 = 0; v6 = 0; *(_QWORD *)&v6 = sub_14003D460(0x40u); v7 = 60; v8 = 63; strcpy((char *)v6, "Create an account to\ncompare scores\n Online!"); } TextArea::setString(*(__int64 **)(a1 + 80), (__int64)&v6); LOBYTE(v5) = 1; return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 80) + 336LL))(*(_QWORD *)(a1 + 80), v5); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source