//
// LevelLeaderboard::updateUserScoreFailed from 0xa818ac to 0xa81904 (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LevelLeaderboard::updateUserScoreFailed @ 0xa81908
// > ??> @ 0x7a518
// > ??> @ 0x14977e0
//
// 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 13:00:32 +0000
//
__int64 __fastcall LevelLeaderboard::updateUserScoreFailed(LevelLeaderboard *this)
{
PlatformToolbox *v2; // x0
__int64 result; // x0
v2 = (PlatformToolbox *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 89) + 344LL))(
*((_QWORD *)this + 89),
0);
result = PlatformToolbox::isNetworkAvailable(v2);
if ( !(_BYTE)result )
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 90) + 344LL))(*((_QWORD *)this + 90), 1);
return result;
}