// // EditorUI::shouldDeleteObject from 0x10000fe30 to 0x10000fedc (172 bytes) // // 4 xrefs: // > EditorUI::onDeleteSelected @ 0x1000082f9 // > EditorUI::onDeleteSelected @ 0x100008400 // > EditorUI::onDelete @ 0x10000ca19 // > EditorUI::onDelete @ 0x10000ca9f // // 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:18:51 +0000 // __int64 __fastcall EditorUI::shouldDeleteObject(__int64 a1, _DWORD *a2, __int64 a3) { unsigned int v3; // ebx __int64 v5; // rdi __int64 v6; // rdx double v7; // xmm0_8 int v8; // eax __int64 v9; // rax int v10; // eax if ( a2 && a2[257] != 749 ) { v5 = GameManager::sharedState(a1, a2, a3); *(_QWORD *)&v7 = GameManager::getIntGameVariable(v5, "0005").u64[0]; LOBYTE(v3) = 1; switch ( v8 ) { case 0: return v3; case 1: LOBYTE(v3) = (*(unsigned int (__fastcall **)(_DWORD *, double))(*(_QWORD *)a2 + 1800LL))(a2, v7) == 7; break; case 2: if ( (*(unsigned int (__fastcall **)(_DWORD *, double))(*(_QWORD *)a2 + 1800LL))(a2, v7) ) LOBYTE(v3) = (*(unsigned int (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 1800LL))(a2) == 25; break; case 3: v9 = GameManager::sharedState(v5, "0005", v6); GameManager::getIntGameVariable(v9, "0006"); LOBYTE(v3) = a2[257] == v10; break; default: return 0; } } else { return 0; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source