// // LevelInfoLayer::confirmOwnerDelete from 0x140422e90 to 0x140423240 (944 bytes) // // 2 xrefs: // > LevelInfoLayer::init @ 0x14041d8d2 // > @ 0x1409268c4 // // 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 11:32:10 +0000 // // Hidden C++ exception states: #wind=4 void __fastcall LevelInfoLayer::confirmOwnerDelete(__int64 a1) { _DWORD *v2; // r8 __int64 v3; // rax __int64 v4; // rax char v5; // bl char *v6; // rax char *v7; // rdi _QWORD *v8; // rax __int64 v9; // rax __int64 *v10; // rbx void *v11; // [rsp+50h] [rbp-88h] void *v12; // [rsp+50h] [rbp-88h] __int128 v13; // [rsp+58h] [rbp-80h] BYREF __int64 v14; // [rsp+68h] [rbp-70h] __int64 v15; // [rsp+70h] [rbp-68h] _BYTE v16[32]; // [rsp+80h] [rbp-58h] BYREF __int128 v17; // [rsp+A0h] [rbp-38h] BYREF __int64 v18; // [rsp+B0h] [rbp-28h] __int64 v19; // [rsp+B8h] [rbp-20h] if ( *(_BYTE *)(a1 + 488) ) return; v2 = (_DWORD *)qword_14090BFD0; if ( !qword_14090BFD0 ) { v11 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = (_DWORD *)qword_14090BFD0; } if ( v2[173] - v2[174] != *(_DWORD *)(*(_QWORD *)(a1 + 504) + 648LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 652LL) ) { v3 = GJAccountManager::sharedState(); if ( *(_DWORD *)(v3 + 360) == *(_DWORD *)(v3 + 364) || (v4 = GJAccountManager::sharedState(), *(_DWORD *)(v4 + 360) - *(_DWORD *)(v4 + 364) != *(_DWORD *)(*(_QWORD *)(a1 + 504) + 660LL) - *(_DWORD *)(*(_QWORD *)(a1 + 504) + 664LL)) ) { v5 = 0; v2 = (_DWORD *)qword_14090BFD0; goto LABEL_9; } v2 = (_DWORD *)qword_14090BFD0; } v5 = 1; LABEL_9: if ( !v2 ) { v12 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v2 = (_DWORD *)qword_14090BFD0; } if ( v5 || v2[266] - v2[267] <= 1 ) { v17 = 0; v7 = (char *)sub_14003D460(0x90u); *(_QWORD *)&v17 = v7; v18 = 129; v19 = 143; strcpy( v7, "Do you want to delete this level from the server?\n" "(Your level will no longer be available online)"); v13 = 0; v8 = sub_14003D460(0x90u); *(_QWORD *)&v13 = v8; v14 = 129; v15 = 143; *(_OWORD *)v8 = *(_OWORD *)v7; *((_OWORD *)v8 + 1) = *((_OWORD *)v7 + 1); *((_OWORD *)v8 + 2) = *((_OWORD *)v7 + 2); *((_OWORD *)v8 + 3) = *((_OWORD *)v7 + 3); *((_OWORD *)v8 + 4) = *((_OWORD *)v7 + 4); *((_OWORD *)v8 + 5) = *((_OWORD *)v7 + 5); *((_OWORD *)v8 + 6) = *((_OWORD *)v7 + 6); *((_OWORD *)v8 + 7) = *((_OWORD *)v7 + 7); *((_WORD *)v8 + 64) = *((_WORD *)v7 + 64); v9 = sub_14003F4F0((__int64)v16, (__int64)&v13); v10 = (__int64 *)FLAlertLayer::create( (int)a1 + 440, (int)"Remove Server Level", v9, (__int64)"Cancel", (__int64)"DELETE", 1136525312, 0, 0, 1065353216); sub_14003D310((__int64)&v13); ButtonSprite::updateBGImage(v10[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v10 + 64))(v10, 5); (*(void (__fastcall **)(__int64 *))(*v10 + 1064))(v10); j_j_free(v7); } else { sub_14003F4F0((__int64)&v17, *(_QWORD *)(a1 + 504) + 344LL); v6 = AdminActionConfirmPopup::createContentDelete((int)a1 + 480, 5, (int)"Remove Server Level", (size_t *)&v17, 1u); (*(void (__fastcall **)(char *))(*(_QWORD *)v6 + 1064LL))(v6); sub_14003D310((__int64)&v17); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source