; ; EditLevelLayer::FLAlert_Clicked from 0x1001e0c60 to 0x1001e0f38 (728 bytes) ; ; 2 xrefs: ; > sub_1001E10E0 @ 0x1001e10ec ; > @ 0x100ade978 ; ; 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:26:28 +0000 ; push rbp ; +0x0, 0x1001e0c60 mov rbp, rsp ; +0x1, 0x1001e0c61 push r15 ; +0x4, 0x1001e0c64 push r14 ; +0x6, 0x1001e0c66 push r12 ; +0x8, 0x1001e0c68 push rbx ; +0xa, 0x1001e0c6a sub rsp, 40h ; +0xb, 0x1001e0c6b mov r14d, edx ; +0xf, 0x1001e0c6f mov r15, rsi ; +0x12, 0x1001e0c72 mov rbx, rdi ; +0x15, 0x1001e0c75 mov r12d, r14d ; +0x18, 0x1001e0c78 xor r12b, 1 ; +0x1b, 0x1001e0c7b mov rax, [rsi] ; +0x1f, 0x1001e0c7f mov rdi, rsi ; +0x22, 0x1001e0c82 call qword ptr [rax+40h] ; +0x25, 0x1001e0c85 cmp eax, 4 ; +0x28, 0x1001e0c88 setnz al ; +0x2b, 0x1001e0c8b or al, r12b ; +0x2e, 0x1001e0c8e jnz short loc_1001E0CCD ; +0x31, 0x1001e0c91 mov rdi, [rbx+1D0h] ; +0x33, 0x1001e0c93 mov rax, [rdi] ; +0x3a, 0x1001e0c9a xor esi, esi ; +0x3d, 0x1001e0c9d call qword ptr [rax+4F8h] ; +0x3f, 0x1001e0c9f call GameLevelManager__sharedState ; +0x45, 0x1001e0ca5 mov rsi, [rbx+1D8h] ; +0x4a, 0x1001e0caa mov rdi, rax ; +0x51, 0x1001e0cb1 call GameLevelManager__deleteLevel ; +0x54, 0x1001e0cb4 mov rdi, rbx ; +0x59, 0x1001e0cb9 add rsp, 40h ; +0x5c, 0x1001e0cbc pop rbx ; +0x60, 0x1001e0cc0 pop r12 ; +0x61, 0x1001e0cc1 pop r14 ; +0x63, 0x1001e0cc3 pop r15 ; +0x65, 0x1001e0cc5 pop rbp ; +0x67, 0x1001e0cc7 jmp EditLevelLayer__onBack ; +0x68, 0x1001e0cc8 mov rax, [r15] ; +0x6d, 0x1001e0ccd mov rdi, r15 ; +0x70, 0x1001e0cd0 call qword ptr [rax+40h] ; +0x73, 0x1001e0cd3 cmp eax, 7 ; +0x76, 0x1001e0cd6 setnz al ; +0x79, 0x1001e0cd9 or al, r12b ; +0x7c, 0x1001e0cdc jnz short loc_1001E0CF5 ; +0x7f, 0x1001e0cdf mov rdi, rbx ; +0x81, 0x1001e0ce1 add rsp, 40h ; +0x84, 0x1001e0ce4 pop rbx ; +0x88, 0x1001e0ce8 pop r12 ; +0x89, 0x1001e0ce9 pop r14 ; +0x8b, 0x1001e0ceb pop r15 ; +0x8d, 0x1001e0ced pop rbp ; +0x8f, 0x1001e0cef jmp EditLevelLayer__onClone ; +0x90, 0x1001e0cf0 mov rax, [r15] ; +0x95, 0x1001e0cf5 mov rdi, r15 ; +0x98, 0x1001e0cf8 call qword ptr [rax+40h] ; +0x9b, 0x1001e0cfb cmp eax, 8 ; +0x9e, 0x1001e0cfe setnz al ; +0xa1, 0x1001e0d01 or al, r12b ; +0xa4, 0x1001e0d04 jnz short loc_1001E0D29 ; +0xa7, 0x1001e0d07 call LocalLevelManager__sharedState ; +0xa9, 0x1001e0d09 mov rsi, [rbx+1D8h] ; +0xae, 0x1001e0d0e mov rdi, rax ; +0xb5, 0x1001e0d15 add rsp, 40h ; +0xb8, 0x1001e0d18 pop rbx ; +0xbc, 0x1001e0d1c pop r12 ; +0xbd, 0x1001e0d1d pop r14 ; +0xbf, 0x1001e0d1f pop r15 ; +0xc1, 0x1001e0d21 pop rbp ; +0xc3, 0x1001e0d23 jmp LocalLevelManager__moveLevelToTop ; +0xc4, 0x1001e0d24 mov rax, [r15] ; +0xc9, 0x1001e0d29 mov rdi, r15 ; +0xcc, 0x1001e0d2c call qword ptr [rax+40h] ; +0xcf, 0x1001e0d2f cmp eax, 0Ch ; +0xd2, 0x1001e0d32 setnz al ; +0xd5, 0x1001e0d35 or al, r12b ; +0xd8, 0x1001e0d38 jnz short loc_1001E0D5D ; +0xdb, 0x1001e0d3b call LocalLevelManager__sharedState ; +0xdd, 0x1001e0d3d mov rsi, [rbx+1D8h] ; +0xe2, 0x1001e0d42 mov rdi, rax ; +0xe9, 0x1001e0d49 add rsp, 40h ; +0xec, 0x1001e0d4c pop rbx ; +0xf0, 0x1001e0d50 pop r12 ; +0xf1, 0x1001e0d51 pop r14 ; +0xf3, 0x1001e0d53 pop r15 ; +0xf5, 0x1001e0d55 pop rbp ; +0xf7, 0x1001e0d57 jmp sub_1006CA9C0 ; +0xf8, 0x1001e0d58 mov rax, [r15] ; +0xfd, 0x1001e0d5d mov rdi, r15 ; +0x100, 0x1001e0d60 call qword ptr [rax+40h] ; +0x103, 0x1001e0d63 cmp eax, 0Ah ; +0x106, 0x1001e0d66 jnz short loc_1001E0D7F ; +0x109, 0x1001e0d69 mov rdi, rbx ; +0x10b, 0x1001e0d6b add rsp, 40h ; +0x10e, 0x1001e0d6e pop rbx ; +0x112, 0x1001e0d72 pop r12 ; +0x113, 0x1001e0d73 pop r14 ; +0x115, 0x1001e0d75 pop r15 ; +0x117, 0x1001e0d77 pop rbp ; +0x119, 0x1001e0d79 jmp EditLevelLayer__onShare ; +0x11a, 0x1001e0d7a mov rax, [r15] ; +0x11f, 0x1001e0d7f mov rdi, r15 ; +0x122, 0x1001e0d82 call qword ptr [rax+40h] ; +0x125, 0x1001e0d85 cmp eax, 5 ; +0x128, 0x1001e0d88 jnz short loc_1001E0DAF ; +0x12b, 0x1001e0d8b test r14b, r14b ; +0x12d, 0x1001e0d8d jz loc_1001E0E1B ; +0x130, 0x1001e0d90 call GameManager__sharedState ; +0x136, 0x1001e0d96 mov rdi, rax ; +0x13b, 0x1001e0d9b add rsp, 40h ; +0x13e, 0x1001e0d9e pop rbx ; +0x142, 0x1001e0da2 pop r12 ; +0x143, 0x1001e0da3 pop r14 ; +0x145, 0x1001e0da5 pop r15 ; +0x147, 0x1001e0da7 pop rbp ; +0x149, 0x1001e0da9 jmp GameManager__openEditorGuide ; +0x14a, 0x1001e0daa mov rax, [r15] ; +0x14f, 0x1001e0daf mov rdi, r15 ; +0x152, 0x1001e0db2 call qword ptr [rax+40h] ; +0x155, 0x1001e0db5 cmp eax, 9 ; +0x158, 0x1001e0db8 setnz al ; +0x15b, 0x1001e0dbb or al, r12b ; +0x15e, 0x1001e0dbe jnz short loc_1001E0E2F ; +0x161, 0x1001e0dc1 mov rdi, rbx ; +0x163, 0x1001e0dc3 call EditLevelLayer__closeTextInputs ; +0x166, 0x1001e0dc6 call GameLevelManager__sharedState ; +0x16b, 0x1001e0dcb lea rcx, [rbx+1A8h] ; +0x170, 0x1001e0dd0 mov [rax+550h], rcx ; +0x177, 0x1001e0dd7 call GameLevelManager__sharedState ; +0x17e, 0x1001e0dde mov r14, rax ; +0x183, 0x1001e0de3 mov rax, [rbx+1D8h] ; +0x186, 0x1001e0de6 mov r15d, [rax+148h] ; +0x18d, 0x1001e0ded sub r15d, [rax+14Ch] ; +0x194, 0x1001e0df4 test byte ptr [rax+170h], 1 ; +0x19b, 0x1001e0dfb jnz short loc_1001E0E56 ; +0x1a2, 0x1001e0e02 add rax, 170h ; +0x1a4, 0x1001e0e04 mov rcx, [rax+10h] ; +0x1aa, 0x1001e0e0a mov [rbp+__p], rcx ; +0x1ae, 0x1001e0e0e movups xmm0, xmmword ptr [rax] ; +0x1b2, 0x1001e0e12 movaps [rbp+var_40], xmm0 ; +0x1b5, 0x1001e0e15 jmp short loc_1001E0E6D ; +0x1b9, 0x1001e0e19 mov rdi, rbx ; +0x1bb, 0x1001e0e1b add rsp, 40h ; +0x1be, 0x1001e0e1e pop rbx ; +0x1c2, 0x1001e0e22 pop r12 ; +0x1c3, 0x1001e0e23 pop r14 ; +0x1c5, 0x1001e0e25 pop r15 ; +0x1c7, 0x1001e0e27 pop rbp ; +0x1c9, 0x1001e0e29 jmp EditLevelLayer__onEdit ; +0x1ca, 0x1001e0e2a mov rax, [r15] ; +0x1cf, 0x1001e0e2f mov rdi, r15 ; +0x1d2, 0x1001e0e32 call qword ptr [rax+40h] ; +0x1d5, 0x1001e0e35 cmp eax, 0Bh ; +0x1d8, 0x1001e0e38 jnz loc_1001E0F0B ; +0x1db, 0x1001e0e3b test r14b, r14b ; +0x1e1, 0x1001e0e41 jz loc_1001E0F18 ; +0x1e4, 0x1001e0e44 mov byte ptr [rbx+218h], 1 ; +0x1ea, 0x1001e0e4a jmp loc_1001E0F24 ; +0x1f1, 0x1001e0e51 mov rdx, [rax+178h] ; +0x1f6, 0x1001e0e56 mov rsi, [rax+180h] ; +0x1fd, 0x1001e0e5d lea rdi, [rbp+var_40] ; +0x204, 0x1001e0e64 call sub_10001AD30 ; +0x208, 0x1001e0e68 lea r12, [rbp+__p] ; +0x20d, 0x1001e0e6d lea rdx, [rbp+var_40] ; +0x211, 0x1001e0e71 mov rdi, r14 ; +0x215, 0x1001e0e75 mov esi, r15d ; +0x218, 0x1001e0e78 call GameLevelManager__updateDescription ; +0x21b, 0x1001e0e7b mov r14d, eax ; +0x220, 0x1001e0e80 test byte ptr [rbp+var_40], 1 ; +0x223, 0x1001e0e83 jz short loc_1001E0E92 ; +0x227, 0x1001e0e87 mov rdi, [rbp+__p]; __p ; +0x229, 0x1001e0e89 call __ZdlPv; operator delete(void *) ; +0x22d, 0x1001e0e8d test r14b, r14b ; +0x232, 0x1001e0e92 jz short loc_1001E0F0B ; +0x235, 0x1001e0e95 mov rax, [rbx+210h] ; +0x237, 0x1001e0e97 test rax, rax ; +0x23e, 0x1001e0e9e jz short loc_1001E0EB9 ; +0x241, 0x1001e0ea1 mov qword ptr [rax+298h], 0 ; +0x243, 0x1001e0ea3 mov qword ptr [rbx+210h], 0 ; +0x24e, 0x1001e0eae lea r12, [rbp+var_48] ; +0x259, 0x1001e0eb9 lea r14, [rbx+1B0h] ; +0x25d, 0x1001e0ebd lea rsi, aUpdatingDescri; "Updating description..." ; +0x264, 0x1001e0ec4 lea r15, [rbp+var_58] ; +0x26b, 0x1001e0ecb mov rdi, r15 ; +0x26f, 0x1001e0ecf call sub_10000E4E0 ; +0x272, 0x1001e0ed2 mov rdi, r14 ; +0x277, 0x1001e0ed7 mov rsi, r15 ; +0x27a, 0x1001e0eda call UploadActionPopup__create ; +0x27d, 0x1001e0edd mov [rbx+210h], rax ; +0x282, 0x1001e0ee2 test [rbp+var_58], 1 ; +0x289, 0x1001e0ee9 jz short loc_1001E0EFF ; +0x28d, 0x1001e0eed mov rdi, [rbp+var_48]; __p ; +0x28f, 0x1001e0eef call __ZdlPv; operator delete(void *) ; +0x293, 0x1001e0ef3 mov rax, [rbx+210h] ; +0x298, 0x1001e0ef8 mov rcx, [rax] ; +0x29f, 0x1001e0eff mov rdi, rax ; +0x2a2, 0x1001e0f02 call qword ptr [rcx+520h] ; +0x2a5, 0x1001e0f05 add rsp, 40h ; +0x2ab, 0x1001e0f0b pop rbx ; +0x2af, 0x1001e0f0f pop r12 ; +0x2b0, 0x1001e0f10 pop r14 ; +0x2b2, 0x1001e0f12 pop r15 ; +0x2b4, 0x1001e0f14 pop rbp ; +0x2b6, 0x1001e0f16 retn ; +0x2b7, 0x1001e0f17 mov rdi, [rbx+1D8h] ; +0x2b8, 0x1001e0f18 call sub_1005839A0 ; +0x2bf, 0x1001e0f1f mov rdi, rbx ; +0x2c4, 0x1001e0f24 add rsp, 40h ; +0x2c7, 0x1001e0f27 pop rbx ; +0x2cb, 0x1001e0f2b pop r12 ; +0x2cc, 0x1001e0f2c pop r14 ; +0x2ce, 0x1001e0f2e pop r15 ; +0x2d0, 0x1001e0f30 pop rbp ; +0x2d2, 0x1001e0f32 jmp EditLevelLayer__onPlay ; +0x2d3, 0x1001e0f33