//
// LeaderboardsLayer::updateUserScoreFinished from 0x94e860 to 0x94e87c (28 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'LeaderboardsLayer::updateUserScoreFinished @ 0x94e880
// > ??> @ 0xe5e10
// > ??> @ 0x146a4f8
//
// 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::updateUserScoreFinished(__int64 this)
{
unsigned int v1; // w1
unsigned int v2; // w2
v1 = *(_DWORD *)(this + 440);
if ( v1 != 3 )
{
v2 = *(_DWORD *)(this + 444);
*(_DWORD *)(this + 440) = 0;
return LeaderboardsLayer::selectLeaderboard(this, v1, v2);
}
return this;
}