About calling natives from C
#5

This is what I tried, it crashes.

EDIT: looking at SetPlayerTime subroutine..

Код:
.text:00463970 sub_463970   proc near        ; DATA XREF: .data:004AA694o
.text:00463970
.text:00463970 arg_4      = dword ptr 8
.text:00463970
.text:00463970         mov   edx, [esp+arg_4]
.text:00463974         mov   ax, [edx+4]
.text:00463978         cmp   ax, 1F4h
.text:0046397C         jnb   short loc_463995
.text:0046397E         mov   ecx, dword_4BB07C
.text:00463984         mov   ecx, [ecx+4]
.text:00463987         movzx  eax, ax
.text:0046398A         mov   ecx, [ecx+eax*4+7D0h]
.text:00463991         test  ecx, ecx
.text:00463993         jnz   short loc_463998
Reply


Messages In This Thread
About calling natives from C - by Streetplaya - 01.12.2009, 17:02
Re: About calling natives from C - by Google63 - 01.12.2009, 17:29
Re: About calling natives from C - by Streetplaya - 01.12.2009, 17:35
Re: About calling natives from C - by Google63 - 01.12.2009, 17:46
Re: About calling natives from C - by Streetplaya - 01.12.2009, 18:11
Re: About calling natives from C - by Google63 - 01.12.2009, 18:39
Re: About calling natives from C - by Streetplaya - 02.12.2009, 12:18
Re: About calling natives from C - by Toribio - 02.12.2009, 16:56
Re: About calling natives from C - by Incognito - 02.12.2009, 17:31
Re: About calling natives from C - by Streetplaya - 02.12.2009, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)