148,6 → 148,8 |
$shr eax,8 |
} |
|
//---------------------------------------- |
|
struct proc_info |
{ |
#define SelfInfo -1 |
169,6 → 171,12 |
$int 0x40 |
} |
|
inline fastcall int GetPointOwner( EBX, ECX) //ebx=m.x, ecx=m.y |
{ |
$mov eax,34 |
$int 0x40 |
} |
|
inline fastcall int GetProcessSlot( ECX) |
{ |
EAX = 18; |
183,7 → 191,20 |
$int 0x40 |
} |
|
inline fastcall int CreateThread( ECX,EDX) |
{ |
$mov eax,51 |
$mov ebx,1 |
$int 0x40 |
} |
|
inline fastcall void SwitchToAnotherThread() |
{ |
$mov eax,68 |
$mov ebx,1 |
$int 0x40 |
} |
|
inline fastcall ExitProcess() |
{ |
$mov eax,-1; |
279,13 → 300,6 |
$int 0x40; |
} |
|
inline fastcall int CreateThread( ECX,EDX) |
{ |
EAX = 51; |
EBX = 1; |
$int 0x40 |
} |
|
void WriteText(dword x,y,byte fontType, dword color, EDX, ESI) |
{ |
EAX = 4; |