//
// ProfilePage::updateUserScoreFinished from 0x100230298 to 0x100230328 (144 bytes)
//
// 3 xrefs:
// > sub_100230328 @ 0x10023032c
// > sub_100230330 @ 0x100230334
// > ??> @ 0x1008ff6c8
//
// 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 11:01:16 +0000
//
void __fastcall ProfilePage::updateUserScoreFinished(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
v2 = GameLevelManager::sharedState();
v3 = GameLevelManager::userInfoForAccountID(v2, *(_DWORD *)(a1 + 736));
if ( v3 )
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1384LL))(a1, v3);
}
else
{
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 864) + 344LL))(*(_QWORD *)(a1 + 864), 1);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 344LL))(*(_QWORD *)(a1 + 880), 0);
sub_10022B0A0(a1, 0);
*(_QWORD *)(GameLevelManager::sharedState() + 1352) = a1 + 688;
v4 = GameLevelManager::sharedState();
GameLevelManager::getGJUserInfo(v4, *(_DWORD *)(a1 + 736));
}
}