//
// ProfilePage::updateUserScoreFinished from 0x1008a5e30 to 0x1008a5ec6 (150 bytes)
//
// 3 xrefs:
// > sub_1008A5ED0 @ 0x1008a5edc
// > sub_1008A5EF0 @ 0x1008a5efc
// > ??> @ 0x100ba9ba0
//
// This function is hookable on this platform (idp: pc, 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:37:16 +0000
//
void __fastcall ProfilePage::updateUserScoreFinished(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // rax
v1 = GameLevelManager::sharedState();
v2 = GameLevelManager::userInfoForAccountID(v1, *(_DWORD *)(a1 + 736));
if ( v2 )
{
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1384LL))(a1, v2);
}
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);
ProfilePage::setupCommentsBrowser(a1, 0);
*(_QWORD *)(GameLevelManager::sharedState() + 1352) = a1 + 688;
v3 = GameLevelManager::sharedState();
GameLevelManager::getGJUserInfo(v3);
}
}