dfhack/plugins/Dfusion/luafiles/onfunction/functions.asm

24 lines
219 B
NASM

2011-08-19 16:12:30 -06:00
.intel_syntax
push eax
2011-08-20 08:51:00 -06:00
push ebp
push esp
push esi
push edi
2011-08-19 16:12:30 -06:00
push edx
push ecx
push ebx
push eax
2011-08-20 08:51:00 -06:00
mov eax,[esp+36]
2011-08-19 16:12:30 -06:00
push eax
function:
2011-08-20 08:51:00 -06:00
call 0xdeadbee0
2011-08-19 16:12:30 -06:00
function2:
2011-08-20 08:51:00 -06:00
mov [0xdeadbeef],eax
2011-08-19 16:12:30 -06:00
pop eax
function3:
2011-08-20 08:20:04 -06:00
jmp [0xdeadbeef]
2011-08-19 16:12:30 -06:00