//
// ParentalPrivacyPopup::getUserInfoFailed from 0x8ee11c to 0x8ee194 (120 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ParentalPrivacyPopup::getUserInfoFailed @ 0x8ee198
// > ??> @ 0xf5410
// > ??> @ 0x1462438
//
// 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:56 +0000
//
__int64 __fastcall ParentalPrivacyPopup::getUserInfoFailed(ParentalPrivacyPopup *this, int a2)
{
__int64 v3; // x0
__int64 result; // x0
v3 = GJAccountManager::sharedState(this);
result = (unsigned int)(*(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356));
if ( a2 == (_DWORD)result )
{
if ( *(ParentalPrivacyPopup **)(GameLevelManager::sharedState((GameLevelManager *)result) + 1352) == (ParentalPrivacyPopup *)((char *)this + 712) )
*(_QWORD *)(GameLevelManager::sharedState((ParentalPrivacyPopup *)((char *)this + 712)) + 1352) = 0;
return (*(__int64 (__fastcall **)(ParentalPrivacyPopup *))(*(_QWORD *)this + 1368LL))(this);
}
return result;
}