//
// ParentalPrivacyPopup::snapshotIsForOtherAccount from 0x8f01a0 to 0x8f0214 (116 bytes)
//
// 3 xrefs:
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x8f3ce4
// > ParentalPrivacyPopup::checkPending @ 0x8f3e94
// > ??> @ 0xa7008
//
// 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:57 +0000
//
bool __fastcall ParentalPrivacyPopup::snapshotIsForOtherAccount(ParentalPrivacyPopup *this)
{
GameManager *v1; // x0
GJAccountManager *IntGameVariable; // x0
int v3; // w19
__int64 v4; // x0
GJAccountManager *v5; // x0
__int64 v6; // x0
v1 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = (GJAccountManager *)GameManager::getIntGameVariable(v1, "0244");
v3 = (int)IntGameVariable;
if ( (int)IntGameVariable <= 0 )
return 0;
v4 = GJAccountManager::sharedState(IntGameVariable);
v5 = (GJAccountManager *)(unsigned int)(*(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356));
if ( (int)v5 <= 0 )
return 0;
v6 = GJAccountManager::sharedState(v5);
return v3 != *(_DWORD *)(v6 + 352) - *(_DWORD *)(v6 + 356);
}