//
// ParentalPrivacyPopup::getUserInfoFailed from 0x1404d5670 to 0x1404d5717 (167 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407cfb48
// > ??> @ 0x1409298a0
//
// This function is hookable on this platform (idp: pc, 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 11:33:02 +0000
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall ParentalPrivacyPopup::getUserInfoFailed(__int64 a1, int a2)
{
__int64 result; // rax
__int64 v5; // rbx
__int64 v6; // rax
void *v7; // [rsp+40h] [rbp+18h]
result = GJAccountManager::sharedState();
if ( a2 == *(_DWORD *)(result + 360) - *(_DWORD *)(result + 364) )
{
v5 = a1;
if ( a1 == 712 )
v5 = 0;
v6 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v7 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v6 = *(_QWORD *)&qword_14090BFB0;
}
if ( *(_QWORD *)(v6 + 1480) == v5 )
*(_QWORD *)(v6 + 1480) = 0;
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 8) + 8LL))(a1 - 8);
}
return result;
}