//
// LeaderboardsLayer::updateUserScoreFailed from 0x94e08c to 0x94e0e4 (88 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LeaderboardsLayer::updateUserScoreFailed @ 0x94e0e8
// > ??> @ 0x41728
// > ??> @ 0x146a500
//
// 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 12:57:21 +0000
//
__int64 __fastcall LeaderboardsLayer::updateUserScoreFailed(LeaderboardsLayer *this)
{
PlatformToolbox *v2; // x0
__int64 result; // x0
v2 = (PlatformToolbox *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 60) + 344LL))(
*((_QWORD *)this + 60),
0);
result = PlatformToolbox::isNetworkAvailable(v2);
if ( !(_BYTE)result )
return (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 61) + 344LL))(*((_QWORD *)this + 61), 1);
return result;
}