; ; EditorUI::shouldDeleteObject from 0x1400e6300 to 0x1400e6427 (295 bytes) ; ; 5 xrefs: ; > EditorUI::onDelete @ 0x1400e5e95 ; > EditorUI::onDelete @ 0x1400e5f73 ; > EditorUI::onDeleteSelected @ 0x1400e64a5 ; > EditorUI::onDeleteSelected @ 0x1400e66b4 ; > @ 0x1406c8cf4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rcx ; +0x0, 0x1400e6300 push rbx ; +0x5, 0x1400e6305 sub rsp, 20h ; +0x6, 0x1400e6306 mov rbx, rdx ; +0xa, 0x1400e630a test rdx, rdx ; +0xd, 0x1400e630d jz loc_1400E63FF ; +0x10, 0x1400e6310 cmp dword ptr [rdx+40Ch], 2EDh ; +0x16, 0x1400e6316 jz loc_1400E63FF ; +0x20, 0x1400e6320 mov rcx, cs:qword_1406C2ED8 ; +0x26, 0x1400e6326 test rcx, rcx ; +0x2d, 0x1400e632d jnz short loc_1400E6361 ; +0x30, 0x1400e6330 mov ecx, 668h; Size ; +0x32, 0x1400e6332 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x37, 0x1400e6337 mov [rsp+28h+arg_0], rax ; +0x3c, 0x1400e633c mov rcx, rax ; +0x41, 0x1400e6341 call sub_14017AB00 ; +0x44, 0x1400e6344 nop ; +0x49, 0x1400e6349 mov cs:qword_1406C2ED8, rax ; +0x4a, 0x1400e634a mov rdx, [rax] ; +0x51, 0x1400e6351 mov rcx, rax ; +0x54, 0x1400e6354 call qword ptr [rdx+48h] ; +0x57, 0x1400e6357 mov rcx, cs:qword_1406C2ED8 ; +0x5a, 0x1400e635a lea rdx, a0005; "0005" ; +0x61, 0x1400e6361 call GameManager__getIntGameVariable ; +0x68, 0x1400e6368 test eax, eax ; +0x6d, 0x1400e636d jz loc_1400E641F ; +0x6f, 0x1400e636f sub eax, 1 ; +0x75, 0x1400e6375 jz loc_1400E6407 ; +0x78, 0x1400e6378 sub eax, 1 ; +0x7e, 0x1400e637e jz short loc_1400E63DE ; +0x81, 0x1400e6381 cmp eax, 1 ; +0x83, 0x1400e6383 jnz short loc_1400E63FF ; +0x86, 0x1400e6386 mov rcx, cs:qword_1406C2ED8 ; +0x88, 0x1400e6388 test rcx, rcx ; +0x8f, 0x1400e638f jnz short loc_1400E63C3 ; +0x92, 0x1400e6392 mov ecx, 668h; Size ; +0x94, 0x1400e6394 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x99, 0x1400e6399 mov [rsp+28h+arg_0], rax ; +0x9e, 0x1400e639e mov rcx, rax ; +0xa3, 0x1400e63a3 call sub_14017AB00 ; +0xa6, 0x1400e63a6 nop ; +0xab, 0x1400e63ab mov cs:qword_1406C2ED8, rax ; +0xac, 0x1400e63ac mov rdx, [rax] ; +0xb3, 0x1400e63b3 mov rcx, rax ; +0xb6, 0x1400e63b6 call qword ptr [rdx+48h] ; +0xb9, 0x1400e63b9 mov rcx, cs:qword_1406C2ED8 ; +0xbc, 0x1400e63bc lea rdx, a0006; "0006" ; +0xc3, 0x1400e63c3 call GameManager__getIntGameVariable ; +0xca, 0x1400e63ca cmp [rbx+40Ch], eax ; +0xcf, 0x1400e63cf setz al ; +0xd5, 0x1400e63d5 add rsp, 20h ; +0xd8, 0x1400e63d8 pop rbx ; +0xdc, 0x1400e63dc retn ; +0xdd, 0x1400e63dd mov rax, [rbx] ; +0xde, 0x1400e63de mov rcx, rbx ; +0xe1, 0x1400e63e1 call qword ptr [rax+660h] ; +0xe4, 0x1400e63e4 test eax, eax ; +0xea, 0x1400e63ea jz short loc_1400E641F ; +0xec, 0x1400e63ec mov rax, [rbx] ; +0xee, 0x1400e63ee mov rcx, rbx ; +0xf1, 0x1400e63f1 call qword ptr [rax+660h] ; +0xf4, 0x1400e63f4 cmp eax, 19h ; +0xfa, 0x1400e63fa jz short loc_1400E641F ; +0xfd, 0x1400e63fd xor al, al ; +0xff, 0x1400e63ff add rsp, 20h ; +0x101, 0x1400e6401 pop rbx ; +0x105, 0x1400e6405 retn ; +0x106, 0x1400e6406 mov rax, [rbx] ; +0x107, 0x1400e6407 mov rcx, rbx ; +0x10a, 0x1400e640a call qword ptr [rax+660h] ; +0x10d, 0x1400e640d cmp eax, 7 ; +0x113, 0x1400e6413 setz al ; +0x116, 0x1400e6416 add rsp, 20h ; +0x119, 0x1400e6419 pop rbx ; +0x11d, 0x1400e641d retn ; +0x11e, 0x1400e641e mov al, 1 ; +0x11f, 0x1400e641f add rsp, 20h ; +0x121, 0x1400e6421 pop rbx ; +0x125, 0x1400e6425 retn ; +0x126, 0x1400e6426