//
// ProfilePage::updateUserScoreFinished from 0x5f6734 to 0x5f6798 (100 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'ProfilePage::updateUserScoreFinished @ 0x5f679c
// > `non-virtual thunk to'ProfilePage::updateUserScoreFinished @ 0x5f67a4
//
// 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:31 +0000
//
int __fastcall ProfilePage::updateUserScoreFinished(ProfilePage *this)
{
cocos2d::CCDictionary **v2; // r0
int v3; // r5
GameLevelManager *v5; // r0
GameLevelManager *v6; // r0
GameLevelManager *v7; // r0
v2 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(this);
v3 = GameLevelManager::userInfoForAccountID(v2, *((_DWORD *)this + 139));
if ( v3 )
return (*(int (__fastcall **)(ProfilePage *, int))(*(_DWORD *)this + 692))(this, v3);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 158) + 172))(*((_DWORD *)this + 158), 1);
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 160) + 172))(*((_DWORD *)this + 160), 0);
v5 = (GameLevelManager *)ProfilePage::setupCommentsBrowser(this, nullptr);
v6 = (GameLevelManager *)GameLevelManager::sharedState(v5);
*((_DWORD *)v6 + 221) = (char *)this + 532;
v7 = (GameLevelManager *)GameLevelManager::sharedState(v6);
return GameLevelManager::getGJUserInfo(v7, *((const char **)this + 139));
}