; ; EditorUI::onDeleteSelectedType from 0x1401b0e60 to 0x1401b0f21 (193 bytes) ; ; 5 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c3b00 ; > EditorUI::setupDeleteMenu @ 0x1401f46c3 ; > @ 0x1408a151c ; > @ 0x1408a152c ; > @ 0x140919eec ; ; 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_8], rbx ; +0x0, 0x1401b0e60 push rsi ; +0x5, 0x1401b0e65 sub rsp, 20h ; +0x6, 0x1401b0e66 mov rbx, [rcx+620h] ; +0xa, 0x1401b0e6a mov rsi, rcx ; +0x11, 0x1401b0e71 test rbx, rbx ; +0x14, 0x1401b0e74 jz loc_1401B0F16 ; +0x17, 0x1401b0e77 mov ebx, [rbx+40Ch] ; +0x1d, 0x1401b0e7d mov [rsp+28h+arg_0], rdi ; +0x23, 0x1401b0e83 call EditorUI__deselectAll ; +0x28, 0x1401b0e88 mov rcx, [rsi+5E8h] ; +0x2d, 0x1401b0e8d mov edx, ebx ; +0x34, 0x1401b0e94 mov edi, [rcx+3A50h] ; +0x36, 0x1401b0e96 sub edi, [rcx+3A54h] ; +0x3c, 0x1401b0e9c call LevelEditorLayer__removeAllObjectsOfType ; +0x42, 0x1401b0ea2 mov rcx, [rsi+5E8h] ; +0x47, 0x1401b0ea7 mov eax, [rcx+3A54h] ; +0x4e, 0x1401b0eae sub eax, [rcx+3A50h] ; +0x54, 0x1401b0eb4 add eax, edi ; +0x5a, 0x1401b0eba mov rdi, [rsp+28h+arg_0] ; +0x5c, 0x1401b0ebc add [rcx+3C38h], eax ; +0x61, 0x1401b0ec1 mov r8, [rsi+5E8h] ; +0x67, 0x1401b0ec7 add r8, 3C30h ; +0x6e, 0x1401b0ece mov ecx, [r8+60h] ; +0x75, 0x1401b0ed5 test ecx, ecx ; +0x79, 0x1401b0ed9 js short loc_1401B0F06 ; +0x7b, 0x1401b0edb mov eax, [r8+20h] ; +0x7d, 0x1401b0edd sub eax, ecx ; +0x81, 0x1401b0ee1 xor ecx, ecx ; +0x83, 0x1401b0ee3 cmp eax, 1 ; +0x85, 0x1401b0ee5 jle short loc_1401B0EFE ; +0x88, 0x1401b0ee8 nop word ptr [rax+rax+00h] ; +0x8a, 0x1401b0eea cmp ecx, 7 ; +0x90, 0x1401b0ef0 jge short loc_1401B0EFE ; +0x93, 0x1401b0ef3 shr eax, 1 ; +0x95, 0x1401b0ef5 inc ecx ; +0x97, 0x1401b0ef7 cmp eax, 1 ; +0x99, 0x1401b0ef9 ja short loc_1401B0EF0 ; +0x9c, 0x1401b0efc movsxd rax, ecx ; +0x9e, 0x1401b0efe inc dword ptr [r8+rax*4+40h] ; +0xa1, 0x1401b0f01 mov eax, [r8+20h] ; +0xa6, 0x1401b0f06 mov rcx, rsi ; +0xaa, 0x1401b0f0a mov [r8+60h], eax ; +0xad, 0x1401b0f0d call EditorUI__updateButtons ; +0xb1, 0x1401b0f11 mov rbx, [rsp+28h+arg_8] ; +0xb6, 0x1401b0f16 add rsp, 20h ; +0xbb, 0x1401b0f1b pop rsi ; +0xbf, 0x1401b0f1f retn ; +0xc0, 0x1401b0f20