// // ParentalPrivacyPopup::init from 0x5300cc to 0x53018a (190 bytes) // // 1 xrefs: // > ParentalPrivacyPopup::create @ 0x530224 // // 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::init(ParentalPrivacyPopup *this, int a2, int a3, int a4) { const char *v5; // r8 size_t v6; // r0 int v7; // r6 GameLevelManager *v8; // r0 GJAccountManager *v9; // r5 int v10; // r0 const char **v11; // r1 GameLevelManager *v12; // r0 GJAccountManager *v13; // r4 int v14; // r0 ParentalPrivacyPopup *v16; // [sp+0h] [bp-10h] BYREF int v17; // [sp+4h] [bp-Ch] int v18; // [sp+8h] [bp-8h] int v19; // [sp+Ch] [bp-4h] v16 = this; v17 = a2; v18 = a3; v19 = a4; *((_BYTE *)this + 548) = a2; if ( a2 ) v5 = "Restoring privacy settings..."; else v5 = "Updating privacy settings..."; v16 = nullptr; v17 = 0; v18 = 0; v6 = strlen(v5); std::string::__init((int *)&v16, v5, v6); v7 = ((int (__fastcall *)(ParentalPrivacyPopup *, _DWORD, ParentalPrivacyPopup **))UploadActionPopup::init)( this, 0, &v16); v8 = (GameLevelManager *)std::string::~string((int)&v16); if ( v7 ) { v9 = (GJAccountManager *)GameLevelManager::sharedState(v8); v10 = GJAccountManager::sharedState(v9); v11 = (const char **)GameLevelManager::userInfoForAccountID( (cocos2d::CCDictionary **)v9, *(_DWORD *)(v10 + 280) - *(_DWORD *)(v10 + 284)); if ( v11 ) { ParentalPrivacyPopup::startWithScore(this, v11); } else { v12 = (GameLevelManager *)GameLevelManager::sharedState(nullptr); *((_DWORD *)v12 + 221) = (char *)this + 544; v13 = (GJAccountManager *)GameLevelManager::sharedState(v12); v14 = GJAccountManager::sharedState(v13); GameLevelManager::getGJUserInfo(v13, (const char *)(*(_DWORD *)(v14 + 280) - *(_DWORD *)(v14 + 284))); } } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source