//
// ProfilePage::getUserInfoFinished from 0x5fb5a0 to 0x5fb608 (104 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'ProfilePage::getUserInfoFinished @ 0x5fb60c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:35 +0000
//
ProfilePage *__fastcall ProfilePage::getUserInfoFinished(ProfilePage *this, GJUserScore *a2)
{
ProfilePage *v2; // r4
GameManager *v4; // r0
int v5; // r6
int v6; // r2
int v7; // r3
v2 = this;
if ( *((_DWORD *)a2 + 74) == *((_DWORD *)this + 139) )
{
v4 = (GameManager *)GameManager::sharedState(this);
v5 = GameManager::accountPostsRestricted(v4);
ProfilePage::loadPageFromUserInfo(v2, a2);
v7 = *((_DWORD *)a2 + 130);
if ( v7 == 2 || v5 )
(*(void (__fastcall **)(_DWORD *, _DWORD))(**((_DWORD **)v2 + 158) + 172))(*((_DWORD **)v2 + 158), 0);
else
ProfilePage::loadPage(v2, 0, v6, v7);
(*(void (__fastcall **)(_DWORD *, int))(**((_DWORD **)v2 + 160) + 172))(*((_DWORD **)v2 + 160), 1);
return (ProfilePage *)(*(int (__fastcall **)(_DWORD *, _DWORD))(**((_DWORD **)v2 + 144) + 172))(
*((_DWORD **)v2 + 144),
0);
}
return this;
}