rulimine/common/menu_thunk.asm_ia32

30 lines
349 B
Plaintext
Raw Permalink Normal View History

2023-06-20 14:24:49 +03:00
section .text
global menu
extern _menu
menu:
pop eax
call .L1
.L1:
pop eax
add eax, .L3 - .L1
cmp dword [eax], 0
jne .L2
mov [eax], esp
jmp .L4
.L2:
mov edi, [esp]
mov esp, [eax]
push edi
jmp .L4
.L3:
dq 0
.L4:
push 0
jmp _menu
section .note.GNU-stack noalloc noexec nowrite progbits