; ; EditorUI::enableButton from 0x1401adb90 to 0x1401add24 (404 bytes) ; ; 4 xrefs: ; > EditorUI::updateCreateMenu @ 0x1401b21ce ; > EditorUI::updateCreateMenu @ 0x1401b220e ; > @ 0x140919d60 ; > @ 0x140919d6c ; ; 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:54 +0000 ; mov [rsp+arg_10], rbx ; +0x0, 0x1401adb90 mov [rsp+arg_0], rcx ; +0x5, 0x1401adb95 push rdi ; +0xa, 0x1401adb9a sub rsp, 20h ; +0xb, 0x1401adb9b mov rax, [rdx] ; +0xf, 0x1401adb9f mov rcx, rdx ; +0x12, 0x1401adba2 mov rdi, rdx ; +0x15, 0x1401adba5 call qword ptr [rax+3B8h] ; +0x18, 0x1401adba8 mov rbx, rax ; +0x1e, 0x1401adbae mov rcx, [rax+288h] ; +0x21, 0x1401adbb1 test rcx, rcx ; +0x28, 0x1401adbb8 jz short loc_1401ADBD3 ; +0x2b, 0x1401adbbb add rcx, 140h ; +0x2d, 0x1401adbbd lea rdx, word_14070329C ; +0x34, 0x1401adbc4 mov r8, [rcx] ; +0x3b, 0x1401adbcb call qword ptr [r8] ; +0x3e, 0x1401adbce jmp short loc_1401ADBF2 ; +0x41, 0x1401adbd1 mov rcx, [rax+290h] ; +0x43, 0x1401adbd3 test rcx, rcx ; +0x4a, 0x1401adbda jz short loc_1401ADBF2 ; +0x4d, 0x1401adbdd add rcx, 140h ; +0x4f, 0x1401adbdf lea rdx, word_14070329C ; +0x56, 0x1401adbe6 mov rax, [rcx] ; +0x5d, 0x1401adbed call qword ptr [rax] ; +0x60, 0x1401adbf0 cmp dword ptr [rdi+228h], 0 ; +0x62, 0x1401adbf2 jl loc_1401ADD19 ; +0x69, 0x1401adbf9 mov rbx, [rbx+280h] ; +0x6f, 0x1401adbff movzx eax, cs:word_14070329C ; +0x76, 0x1401adc06 mov word ptr [rsp+28h+arg_0], ax ; +0x7d, 0x1401adc0d movzx eax, cs:byte_14070329E ; +0x82, 0x1401adc12 mov byte ptr [rsp+28h+arg_0+2], al ; +0x89, 0x1401adc19 cmp dword ptr [rbx+4E8h], 1 ; +0x8d, 0x1401adc1d jnz short loc_1401ADC7D ; +0x94, 0x1401adc24 movzx eax, word ptr [rbx+418h] ; +0x96, 0x1401adc26 test ax, ax ; +0x9d, 0x1401adc2d jnz short loc_1401ADC3B ; +0xa0, 0x1401adc30 movzx eax, byte ptr [rbx+514h] ; +0xa2, 0x1401adc32 jmp short loc_1401ADC42 ; +0xa9, 0x1401adc39 cmp ax, 1 ; +0xab, 0x1401adc3b setz al ; +0xaf, 0x1401adc3f test al, al ; +0xb2, 0x1401adc42 jnz short loc_1401ADC7D ; +0xb4, 0x1401adc44 cmp qword ptr [rbx+380h], 0 ; +0xb6, 0x1401adc46 jnz short loc_1401ADC7D ; +0xbe, 0x1401adc4e mov rax, [rbx+450h] ; +0xc0, 0x1401adc50 mov ecx, [rax+4] ; +0xc7, 0x1401adc57 cmp ecx, 3ECh ; +0xca, 0x1401adc5a jz short loc_1401ADC7D ; +0xd0, 0x1401adc60 test ecx, ecx ; +0xd2, 0x1401adc62 jz short loc_1401ADC7D ; +0xd4, 0x1401adc64 cmp byte ptr [rbx+6F8h], 0 ; +0xd6, 0x1401adc66 jz short loc_1401ADC7D ; +0xdd, 0x1401adc6d mov word ptr [rsp+28h+arg_0], 0C8C8h ; +0xdf, 0x1401adc6f mov byte ptr [rsp+28h+arg_0+2], 0FFh ; +0xe6, 0x1401adc76 jmp short loc_1401ADCEB ; +0xeb, 0x1401adc7b mov ecx, [rbx+40Ch] ; +0xed, 0x1401adc7d cmp ecx, 530h ; +0xf3, 0x1401adc83 jg short loc_1401ADCA2 ; +0xf9, 0x1401adc89 jz short loc_1401ADCD4 ; +0xfb, 0x1401adc8b sub ecx, 396h ; +0xfd, 0x1401adc8d jz short loc_1401ADCD4 ; +0x103, 0x1401adc93 sub ecx, 1 ; +0x105, 0x1401adc95 jz short loc_1401ADCD4 ; +0x108, 0x1401adc98 cmp ecx, 198h ; +0x10a, 0x1401adc9a jmp short loc_1401ADCB0 ; +0x110, 0x1401adca0 cmp ecx, 630h ; +0x112, 0x1401adca2 jz short loc_1401ADCD4 ; +0x118, 0x1401adca8 cmp ecx, 7DCh ; +0x11a, 0x1401adcaa jz short loc_1401ADCD4 ; +0x120, 0x1401adcb0 mov rcx, [rbx+450h] ; +0x122, 0x1401adcb2 test rcx, rcx ; +0x129, 0x1401adcb9 jz short loc_1401ADCEB ; +0x12c, 0x1401adcbc mov eax, [rcx] ; +0x12e, 0x1401adcbe mov edx, [rcx+4] ; +0x130, 0x1401adcc0 cmp edx, eax ; +0x133, 0x1401adcc3 jz short loc_1401ADCCB ; +0x135, 0x1401adcc5 test eax, eax ; +0x137, 0x1401adcc7 jnz short loc_1401ADCCD ; +0x139, 0x1401adcc9 mov eax, edx ; +0x13b, 0x1401adccb cmp eax, 3F2h ; +0x13d, 0x1401adccd jnz short loc_1401ADCEB ; +0x142, 0x1401adcd2 movzx eax, cs:word_140703294 ; +0x144, 0x1401adcd4 mov word ptr [rsp+28h+arg_0], ax ; +0x14b, 0x1401adcdb movzx eax, cs:byte_140703296 ; +0x150, 0x1401adce0 mov byte ptr [rsp+28h+arg_0+2], al ; +0x157, 0x1401adce7 mov rax, [rbx] ; +0x15b, 0x1401adceb lea rdx, [rsp+28h+arg_0] ; +0x15e, 0x1401adcee mov rcx, rbx ; +0x163, 0x1401adcf3 call qword ptr [rax+540h] ; +0x166, 0x1401adcf6 mov rax, [rbx] ; +0x16c, 0x1401adcfc lea rdx, [rsp+28h+arg_8] ; +0x16f, 0x1401adcff mov rcx, rbx ; +0x174, 0x1401add04 mov [rsp+28h+arg_8], 0C8C8h ; +0x177, 0x1401add07 mov [rsp+28h+arg_A], 0FFh ; +0x17e, 0x1401add0e call qword ptr [rax+3B0h] ; +0x183, 0x1401add13 mov rbx, [rsp+28h+arg_10] ; +0x189, 0x1401add19 add rsp, 20h ; +0x18e, 0x1401add1e pop rdi ; +0x192, 0x1401add22 retn ; +0x193, 0x1401add23