// // ParentalPrivacyPopup::init from 0x8f38e8 to 0x8f3a60 (376 bytes) // // 2 xrefs: // > ParentalPrivacyPopup::create @ 0x8f3bb4 // > @ 0xef3c8 // // 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::init(ParentalPrivacyPopup *this, char a2) { const char *v3; // x1 size_t v4; // x20 unsigned __int64 v5; // x0 __int64 v6; // x19 unsigned int v7; // w20 GameLevelManager *v8; // x0 unsigned int v9; // w19 GJAccountManager *v11; // x20 __int64 v12; // x0 GJUserScore *v13; // x1 GameLevelManager *v14; // x0 GJAccountManager *v15; // x20 __int64 v16; // x0 const char *v17; // [xsp+38h] [xbp+38h] _QWORD v18[2]; // [xsp+40h] [xbp+40h] BYREF void *v19; // [xsp+50h] [xbp+50h] *((_BYTE *)this + 720) = a2; if ( a2 ) v3 = "Restoring privacy settings..."; else v3 = "Updating privacy settings..."; v17 = v3; v4 = strlen(v3); v5 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL; v6 = v5 | 1; v18[1] = v4; v19 = (void *)operator new(v5); v18[0] = v6; *((_BYTE *)memcpy(v19, v17, v4) + v4) = 0; v7 = (unsigned __int8)UploadActionPopup::init(this, 0, v18); v8 = (GameLevelManager *)LOBYTE(v18[0]); v9 = v7; if ( (v18[0] & 1) != 0 ) { operator delete(v19); if ( !v7 ) return v9; } else if ( !v7 ) { return v9; } v11 = (GJAccountManager *)GameLevelManager::sharedState(v8); v12 = GJAccountManager::sharedState(v11); v13 = (GJUserScore *)GameLevelManager::userInfoForAccountID( (cocos2d::CCDictionary **)v11, *(_DWORD *)(v12 + 352) - *(_DWORD *)(v12 + 356)); if ( v13 ) { ParentalPrivacyPopup::startWithScore(this, v13); } else { v14 = (GameLevelManager *)GameLevelManager::sharedState(nullptr); *((_QWORD *)v14 + 169) = (char *)this + 712; v15 = (GJAccountManager *)GameLevelManager::sharedState(v14); v16 = GJAccountManager::sharedState(v15); GameLevelManager::getGJUserInfo(v15, (const char *)(unsigned int)(*(_DWORD *)(v16 + 352) - *(_DWORD *)(v16 + 356))); } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source