//
// ParentalPrivacyPopup::snapshotIsForOtherAccount from 0x52d908 to 0x52d946 (62 bytes)
//
// 2 xrefs:
// > ParentalOptionsLayer::applyPrivacyPushEdge @ 0x5302b0
// > ParentalPrivacyPopup::checkPending @ 0x5303a0
//
// 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:52:02 +0000
//
bool __fastcall ParentalPrivacyPopup::snapshotIsForOtherAccount(ParentalPrivacyPopup *this)
{
GameManager *v1; // r0
GJAccountManager *IntGameVariable; // r0
GJAccountManager *v3; // r4
GJAccountManager *v5; // r0
int v6; // r0
v1 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = (GJAccountManager *)GameManager::getIntGameVariable(v1, "0244");
v3 = IntGameVariable;
if ( (int)IntGameVariable <= 0 )
return 0;
v5 = (GJAccountManager *)GJAccountManager::sharedState(IntGameVariable);
if ( *((_DWORD *)v5 + 70) - *((_DWORD *)v5 + 71) <= 0 )
return 0;
v6 = GJAccountManager::sharedState(v5);
return v3 != (GJAccountManager *)(*(_DWORD *)(v6 + 280) - *(_DWORD *)(v6 + 284));
}