Working onfunction...

develop
Warmist 2011-08-20 17:20:04 +03:00
parent e901f615c9
commit f9c1556f7f
3 changed files with 2 additions and 2 deletions

@ -12,7 +12,7 @@ function2:
mov [0xdeadbeef],eax #self modifying code... :/ mov [0xdeadbeef],eax #self modifying code... :/
pop eax pop eax
function3: function3:
call [0xdeadbeef] jmp [0xdeadbeef]

@ -129,7 +129,7 @@ static int GetMod(lua_State *L)
st.push(pos); st.push(pos);
return 1; return 1;
} }
static size_t PushValue(size_t ret,uint32_t eax,uint32_t ebx,uint32_t ecx,uint32_t edx) static size_t __stdcall PushValue(size_t ret,uint32_t eax,uint32_t ebx,uint32_t ecx,uint32_t edx)
{ {
lua::state st=lua::glua::Get(); lua::state st=lua::glua::Get();
st.getglobal("OnFunction"); st.getglobal("OnFunction");