//
// ProfilePage::getUserInfoFinished from 0xa5cfe8 to 0xa5d0b0 (200 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ProfilePage::getUserInfoFinished @ 0xa5d0b4
// > ??> @ 0xe23d8
// > ??> @ 0x148cfe8
//
// 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 13:00:12 +0000
//
ProfilePage *__fastcall ProfilePage::getUserInfoFinished(ProfilePage *this, GJUserScore *a2)
{
ProfilePage *v3; // x19
GameManager *v4; // x0
int v5; // w21
if ( *((_DWORD *)a2 + 94) == *((_DWORD *)this + 184) )
{
v3 = this;
v4 = (GameManager *)GameManager::sharedState(this);
v5 = (unsigned __int8)GameManager::accountPostsRestricted(v4);
ProfilePage::loadPageFromUserInfo(v3, a2);
if ( v5 || *((_DWORD *)a2 + 172) == 2 )
(*(void (__fastcall **)(_QWORD *, _QWORD))(**((_QWORD **)v3 + 108) + 344LL))(*((_QWORD **)v3 + 108), 0);
else
ProfilePage::loadPage(v3, 0);
(*(void (__fastcall **)(_QWORD *, __int64))(**((_QWORD **)v3 + 110) + 344LL))(*((_QWORD **)v3 + 110), 1);
return (ProfilePage *)(*(__int64 (__fastcall **)(_QWORD *, _QWORD))(**((_QWORD **)v3 + 96) + 344LL))(
*((_QWORD **)v3 + 96),
0);
}
return this;
}