; ; EditorUI::onDeleteStartPos from 0x1401b0f30 to 0x1401b0fc6 (150 bytes) ; ; 2 xrefs: ; > EditorUI::setupDeleteMenu @ 0x1401f459b ; > @ 0x140919f10 ; ; 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:27:55 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x1401b0f30 push rdi ; +0x5, 0x1401b0f35 sub rsp, 20h ; +0x6, 0x1401b0f36 mov rdi, rcx ; +0xa, 0x1401b0f3a call EditorUI__deselectAll ; +0xd, 0x1401b0f3d mov rcx, [rdi+5E8h] ; +0x12, 0x1401b0f42 mov edx, 1Fh ; +0x19, 0x1401b0f49 mov ebx, [rcx+3A50h] ; +0x1e, 0x1401b0f4e sub ebx, [rcx+3A54h] ; +0x24, 0x1401b0f54 call LevelEditorLayer__removeAllObjectsOfType ; +0x2a, 0x1401b0f5a mov rdx, [rdi+5E8h] ; +0x2f, 0x1401b0f5f mov eax, [rdx+3A54h] ; +0x36, 0x1401b0f66 sub eax, [rdx+3A50h] ; +0x3c, 0x1401b0f6c add eax, ebx ; +0x42, 0x1401b0f72 add [rdx+3C38h], eax ; +0x44, 0x1401b0f74 mov rdx, [rdi+5E8h] ; +0x4a, 0x1401b0f7a add rdx, 3C30h ; +0x51, 0x1401b0f81 mov ecx, [rdx+60h] ; +0x58, 0x1401b0f88 mov eax, [rdx+20h] ; +0x5b, 0x1401b0f8b test ecx, ecx ; +0x5e, 0x1401b0f8e js short loc_1401B0FB8 ; +0x60, 0x1401b0f90 sub eax, ecx ; +0x62, 0x1401b0f92 xor ecx, ecx ; +0x64, 0x1401b0f94 cmp eax, 1 ; +0x66, 0x1401b0f96 jle short loc_1401B0FAE ; +0x69, 0x1401b0f99 nop dword ptr [rax+rax+00h] ; +0x6b, 0x1401b0f9b cmp ecx, 7 ; +0x70, 0x1401b0fa0 jge short loc_1401B0FAE ; +0x73, 0x1401b0fa3 shr eax, 1 ; +0x75, 0x1401b0fa5 inc ecx ; +0x77, 0x1401b0fa7 cmp eax, 1 ; +0x79, 0x1401b0fa9 ja short loc_1401B0FA0 ; +0x7c, 0x1401b0fac movsxd rax, ecx ; +0x7e, 0x1401b0fae inc dword ptr [rdx+rax*4+40h] ; +0x81, 0x1401b0fb1 mov eax, [rdx+20h] ; +0x85, 0x1401b0fb5 mov rbx, [rsp+28h+arg_0] ; +0x88, 0x1401b0fb8 mov [rdx+60h], eax ; +0x8d, 0x1401b0fbd add rsp, 20h ; +0x90, 0x1401b0fc0 pop rdi ; +0x94, 0x1401b0fc4 retn ; +0x95, 0x1401b0fc5