// // ParentalPrivacyPopup::checkPending from 0x8f3df0 to 0x8f3ebc (204 bytes) // // 2 xrefs: // > MenuLayer::checkParentalPending @ 0x6ea35c // > @ 0x80d58 // // 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:59 +0000 // __int64 __fastcall ParentalPrivacyPopup::checkPending(ParentalPrivacyPopup *this) { __int64 result; // x0 GameManager *v2; // x0 int IntGameVariable; // w20 __int64 v4; // x0 __int64 v5; // x0 GameManager *v6; // x0 result = (unsigned __int8)byte_155CC58; if ( !byte_155CC58 ) { v2 = (GameManager *)GameManager::sharedState(nullptr); IntGameVariable = GameManager::getIntGameVariable(v2, "0227"); result = (unsigned int)(IntGameVariable - 3); if ( (unsigned int)result <= 1 || IntGameVariable == 1 ) { v4 = GJAccountManager::sharedState((GJAccountManager *)result); result = (unsigned int)(*(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)); if ( (int)result > 0 ) { if ( IntGameVariable == 3 && (result = ParentalPrivacyPopup::snapshotIsForOtherAccount((ParentalPrivacyPopup *)result), (_BYTE)result) ) { v6 = (GameManager *)GameManager::sharedState((GameManager *)result); return GameManager::setIntGameVariable(v6, "0227", 0); } else { result = PlatformToolbox::isNetworkAvailable((PlatformToolbox *)result); if ( (_BYTE)result ) { byte_155CC58 = 1; v5 = ParentalPrivacyPopup::create((ParentalPrivacyPopup *)(IntGameVariable == 3)); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source