//
// ProfilePage::updateUserScoreFinished from 0x10019c0f8 to 0x10019c17c (132 bytes)
//
// 3 xrefs:
// > sub_10019C17C @ 0x10019c180
// > sub_10019C184 @ 0x10019c188
// > ??> @ 0x1007a8e98
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall ProfilePage::updateUserScoreFinished(ProfilePage *a1)
{
GameLevelManager *v2; // x0
GJUserScore *v3; // x0
GameLevelManager *v4; // x0
v2 = GameLevelManager::sharedState();
v3 = GameLevelManager::userInfoForAccountID(v2, a1->m_accountID);
if ( v3 )
{
((void (__fastcall *)(ProfilePage *, GJUserScore *))a1->getUserInfoFinished)(a1, v3);
}
else
{
((void (__fastcall *)(LoadingCircle *, __int64))a1->m_circle->setVisible)(a1->m_circle, 1);
((void (__fastcall *)(CCMenuItemSpriteExtra *, _QWORD))a1->m_refreshBtn->setVisible)(a1->m_refreshBtn, 0);
ProfilePage::setupCommentsBrowser(a1, nullptr);
v4 = GameLevelManager::sharedState();
GameLevelManager::getGJUserInfo(v4, a1->m_accountID);
}
}