//
// ProfilePage::getUserInfoFinished from 0x1007bfec0 to 0x1007bff62 (162 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009942b0
//
// 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
//
// positive sp value has been detected, the output may be wrong!
void __fastcall ProfilePage::getUserInfoFinished(ProfilePage *a1, GJUserScore *a2)
{
GameManager *v2; // rax
bool GameVariable; // r15
if ( a2->m_accountID == a1->m_accountID )
{
v2 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v2, "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);
}
}