//
// LeaderboardsLayer::updateUserScoreFailed from 0x562fc8 to 0x562ff4 (44 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'LeaderboardsLayer::updateUserScoreFailed @ 0x562ff8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:26 +0000
//
int __fastcall LeaderboardsLayer::updateUserScoreFailed(LeaderboardsLayer *this)
{
PlatformToolbox *v2; // r0
int result; // r0
v2 = (PlatformToolbox *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 89) + 172))(
*((_DWORD *)this + 89),
0);
result = PlatformToolbox::isNetworkAvailable(v2);
if ( !result )
return (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 90) + 172))(*((_DWORD *)this + 90), 1);
return result;
}