// // ParentalPrivacyPopup::updateSettingsFinished from 0x100118e84 to 0x100118fec (360 bytes) // // 2 xrefs: // > sub_100119008 @ 0x10011900c // > @ 0x1008d2690 // // 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 10:59:12 +0000 // void __fastcall ParentalPrivacyPopup::updateSettingsFinished(__int64 a1) { __int64 v2; // x20 __int64 v3; // x0 __int64 v4; // x0 _DWORD *v5; // x20 __int64 v6; // x0 __int64 IntGameVariable; // x0 char v8; // w8 __int64 v9; // x0 __int64 v10; // x0 char v11; // w8 __int64 v12; // x0 __int64 v13; // x0 char v14; // w8 __int64 v15; // x0 __int64 v16; // x0 char v17; // w8 __int64 v18; // x0 __int64 v19; // x0 __int64 v20; // x2 char *v21; // x1 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v23; // [xsp+1Fh] [xbp-11h] v2 = GameLevelManager::sharedState(); v3 = GJAccountManager::sharedState(v2); v4 = GameLevelManager::userInfoForAccountID(v2, *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356)); if ( !v4 ) goto LABEL_13; v5 = (_DWORD *)v4; if ( *(_BYTE *)(a1 + 720) != 1 ) { *(_DWORD *)(v4 + 436) = 2; goto LABEL_9; } v6 = GameManager::sharedState(v4); IntGameVariable = GameManager::getIntGameVariable(v6, "0222"); v8 = *(_BYTE *)(a1 + 720); v5[109] = IntGameVariable; if ( (v8 & 1) == 0 ) { LABEL_9: v5[110] = 1; goto LABEL_10; } v9 = GameManager::sharedState(IntGameVariable); v10 = GameManager::getIntGameVariable(v9, "0223"); v11 = *(_BYTE *)(a1 + 720); v5[110] = v10; if ( (v11 & 1) == 0 ) { LABEL_10: v5[111] = 2; goto LABEL_11; } v12 = GameManager::sharedState(v10); v13 = GameManager::getIntGameVariable(v12, "0224"); v14 = *(_BYTE *)(a1 + 720); v5[111] = v13; if ( (v14 & 1) != 0 ) { v15 = GameManager::sharedState(v13); v16 = GameManager::getIntGameVariable(v15, "0225"); v17 = *(_BYTE *)(a1 + 720); v5[112] = v16; if ( (v17 & 1) != 0 ) { v18 = GameManager::sharedState(v16); v4 = GameManager::getIntGameVariable(v18, "0226"); } else { v4 = 2; } goto LABEL_12; } LABEL_11: v4 = 2; v5[112] = 2; LABEL_12: v5[113] = v4; LABEL_13: v19 = GameManager::sharedState(v4); if ( *(_BYTE *)(a1 + 720) ) v20 = 0; else v20 = 2; GameManager::setIntGameVariable(v19, "0227", v20); if ( *(_BYTE *)(a1 + 720) ) v21 = "Privacy settings restored!"; else v21 = "Privacy settings updated!"; sub_100009900(__p, v21); UploadActionPopup::showSuccessMessage(a1, __p); if ( v23 < 0 ) operator delete(__p[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source