// // ParentalPrivacyPopup::updateSettingsFinished from 0x100887c90 to 0x100887e7f (495 bytes) // // 2 xrefs: // > sub_100887EA0 @ 0x100887eac // > @ 0x100ba5670 // // This function is hookable on this platform (idp: pc, 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:36:59 +0000 // void __fastcall ParentalPrivacyPopup::updateSettingsFinished(__int64 a1, __int64 a2, double a3) { __int64 v3; // r14 __int64 v4; // rax __int64 v5; // rax _DWORD *v6; // r14 char v7; // cl int IntGameVariable; // eax __int64 v9; // rax int v10; // eax __int64 v11; // rax int v12; // eax __int64 v13; // rax __int64 v14; // rax __int64 v15; // r13 const char *v16; // r14 __int64 v17; // rax int v18; // eax __int64 v19; // rax int v20; // eax char v21; // cl _QWORD v22[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] v3 = GameLevelManager::sharedState(); v4 = GJAccountManager::sharedState(a1, a2); v5 = GameLevelManager::userInfoForAccountID(v3, *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356)); if ( v5 ) { v6 = (_DWORD *)v5; v7 = *(_BYTE *)(a1 + 720); IntGameVariable = 2; if ( v7 == 1 ) { v9 = GameManager::sharedState(); IntGameVariable = GameManager::getIntGameVariable(v9, "0222"); v7 = *(_BYTE *)(a1 + 720); } v6[109] = IntGameVariable; v10 = 1; if ( (v7 & 1) != 0 ) { v11 = GameManager::sharedState(); v10 = GameManager::getIntGameVariable(v11, "0223"); v7 = *(_BYTE *)(a1 + 720); } v6[110] = v10; if ( (v7 & 1) != 0 ) { v17 = GameManager::sharedState(); v18 = GameManager::getIntGameVariable(v17, "0224"); v7 = *(_BYTE *)(a1 + 720); v6[111] = v18; if ( (v7 & 1) != 0 ) { v19 = GameManager::sharedState(); v20 = GameManager::getIntGameVariable(v19, "0225"); v21 = *(_BYTE *)(a1 + 720); v6[112] = v20; v12 = 2; if ( (v21 & 1) == 0 ) goto LABEL_10; goto LABEL_9; } } else { v6[111] = 2; } v6[112] = 2; v12 = 2; if ( (v7 & 1) == 0 ) { LABEL_10: v6[113] = v12; goto LABEL_11; } LABEL_9: v13 = GameManager::sharedState(); v12 = GameManager::getIntGameVariable(v13, "0226"); goto LABEL_10; } LABEL_11: v14 = GameManager::sharedState(); GameManager::setIntGameVariable(v14, "0227"); v15 = *(unsigned __int8 *)(a1 + 720); v16 = "Privacy settings updated!"; if ( *(_BYTE *)(a1 + 720) ) v16 = "Privacy settings restored!"; __p = operator new(0x20u); v22[0] = 33; v22[1] = v15 + 25; memcpy(__p, v16, v15 + 25); *((_BYTE *)__p + v15 + 25) = 0; UploadActionPopup::showSuccessMessage(a1, (__int64)v22, a3); if ( (v22[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source