// // ParentalPrivacyPopup::checkPending from 0x530368 to 0x5303de (118 bytes) // // 1 xrefs: // > MenuLayer::checkParentalPending @ 0x3f9394 // // 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:03 +0000 // int __fastcall ParentalPrivacyPopup::checkPending(int this) { GameManager *v1; // r0 int v2; // r4 GameManager *v3; // r0 int v4; // r3 bool v5; // r1 FLAlertLayer *v6; // r0 if ( !byte_D2BDF0 ) { v1 = (GameManager *)GameManager::sharedState((GameManager *)this); this = GameManager::getIntGameVariable(v1, "0227"); v2 = this; if ( this == 1 || (unsigned int)(this - 3) <= 1 ) { this = GJAccountManager::sharedState((GJAccountManager *)this); if ( *(_DWORD *)(this + 280) - *(_DWORD *)(this + 284) > 0 ) { if ( v2 == 3 && (this = ParentalPrivacyPopup::snapshotIsForOtherAccount((ParentalPrivacyPopup *)this)) != 0 ) { v3 = (GameManager *)GameManager::sharedState((GameManager *)this); return GameManager::setIntGameVariable(v3, "0227", nullptr, v4); } else { this = PlatformToolbox::isNetworkAvailable((PlatformToolbox *)this); if ( this ) { byte_D2BDF0 = 1; v6 = ParentalPrivacyPopup::create((ParentalPrivacyPopup *)(v2 == 3), v5); return (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)v6 + 656))(v6); } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source