//
// ParentalPrivacyPopup::getUserInfoFinished from 0x8f3ebc to 0x8f3f30 (116 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ParentalPrivacyPopup::getUserInfoFinished @ 0x8f3f34
// > ??> @ 0x5bc48
// > ??> @ 0x1462430
//
// 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 12:56:59 +0000
//
__int64 __fastcall ParentalPrivacyPopup::getUserInfoFinished(ParentalPrivacyPopup *this, GJUserScore *a2)
{
int v3; // w19
__int64 v4; // x0
__int64 result; // x0
ParentalPrivacyPopup *v6; // x2
GJUserScore *v7; // x1
v3 = *((_DWORD *)a2 + 94);
v4 = GJAccountManager::sharedState(this);
result = (unsigned int)(*(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356));
if ( v3 == (_DWORD)result )
{
v6 = *(ParentalPrivacyPopup **)(GameLevelManager::sharedState((GameLevelManager *)result) + 1352);
v7 = a2;
if ( v6 == (ParentalPrivacyPopup *)((char *)this + 712) )
{
*(_QWORD *)(GameLevelManager::sharedState((ParentalPrivacyPopup *)((char *)this + 712)) + 1352) = 0;
v7 = a2;
}
return ParentalPrivacyPopup::startWithScore(this, v7);
}
return result;
}