// // LevelLeaderboard::loadLeaderboardFailed from 0x1003c91f0 to 0x1003c9360 (368 bytes) // // 2 xrefs: // > sub_1003C9390 @ 0x1003c939c // > @ 0x100b3af40 // // 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 12:29:36 +0000 // char __fastcall LevelLeaderboard::loadLeaderboardFailed( __int64 a1, const char *a2, double a3, double a4, double a5, __m128 a6) { char result; // al __int64 v8; // rdi __int64 v9; // rax __int64 v10; // r14 void **p_data; // r15 _QWORD *v12; // r14 __int64 v13; // r14 std::string v14; // [rsp+8h] [rbp-48h] BYREF std::string v15[2]; // [rsp+20h] [rbp-30h] BYREF result = LevelLeaderboard::isCorrect(a1, a2, a3); if ( result ) { v8 = *(_QWORD *)(a1 + 712); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 344LL))(v8, 0); if ( (unsigned __int8)PlatformToolbox::isNetworkAvailable() ) { v9 = GJAccountManager::sharedState(v8, 0); if ( *(_DWORD *)(v9 + 352) > *(_DWORD *)(v9 + 356) ) return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 728) + 344LL))( *(_QWORD *)(a1 + 728), *(_DWORD *)(a1 + 688) != 3); v10 = *(_QWORD *)(a1 + 720); p_data = (void **)&v15[0].__r_.__value_.__l.__data_; v15[0].__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x48u); v15[0].__r_.__value_.__r.__words[0] = 73; v15[0].__r_.__value_.__l.__size_ = 71; strcpy( v15[0].__r_.__value_.__l.__data_, "Create an account to\ncompare scores\nwith other players!"); TextArea::setString(v10, v15, 7.203669148280387e159, a4, a5, a6); v12 = (_QWORD *)(a1 + 720); if ( (*(_BYTE *)&v15[0].__r_.__value_.__s.0 & 1) == 0 ) { LABEL_8: (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)*v12 + 344LL))(*v12, 1); return (*(__int64 (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 728) + 344LL))( *(_QWORD *)(a1 + 728), *(_DWORD *)(a1 + 688) != 3); } } else { v13 = *(_QWORD *)(a1 + 720); p_data = (void **)&v14.__r_.__value_.__l.__data_; v14.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u); v14.__r_.__value_.__r.__words[0] = 33; v14.__r_.__value_.__l.__size_ = 31; strcpy(v14.__r_.__value_.__l.__data_, "No Internet connection!"); TextArea::setString(v13, &v14, 6.780286892833059e44, a4, a5, a6); v12 = (_QWORD *)(a1 + 720); if ( (*(_BYTE *)&v14.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_8; } operator delete(*p_data); goto LABEL_8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source