//
// ProfilePage::getUserInfoFinished from 0x10019c370 to 0x10019c424 (180 bytes)
//
// 2 xrefs:
// > sub_10019C5D0 @ 0x10019c5d4
// > ??> @ 0x1007a8ea8
//
// 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::getUserInfoFinished(ProfilePage *a1, GJUserScore *a2)
{
GameManager *v4; // x0
bool GameVariable; // w21
if ( a2->m_accountID == a1->m_accountID )
{
v4 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v4, "0076");
ProfilePage::loadPageFromUserInfo(a1, a2);
if ( a2->m_friendReqStatus == 2 || GameVariable )
((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_circle->setVisible)(a1->m_circle, 0);
else
ProfilePage::loadPage(a1, 0);
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_refreshBtn->setVisible)(a1->m_refreshBtn, 1);
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_somethingWentWrong->setVisible)(
a1->m_somethingWentWrong,
0);
}
}