Rev 2811 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2811 | Rev 2839 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | $pop ebx |
24 | $pop ebx |
25 | return EAX; |
25 | return EAX; |
26 | } |
26 | } |
Line 27... | Line 27... | ||
27 | 27 | ||
- | 28 | //mem.ReAlloc |
|
- | 29 | inline fastcall dword mem_ReAllocR( ECX, EDX) |
|
- | 30 | { |
|
- | 31 | $mov eax, 68 |
|
- | 32 | $mov ebx, 20 |
|
- | 33 | $int 0x40 |
|
- | 34 | } |
|
28 | //mem.ReAlloc |
35 | |
29 | stdcall dword mem_ReAlloc(dword mptr, size) |
36 | stdcall dword mem_ReAlloc(dword mptr, size) |
30 | { |
- | |
31 | //$push ebx ecx edx |
37 | { |
32 | $push ebx |
38 | $push ebx |
33 | $push ecx |
39 | $push ecx |
34 | $push edx |
40 | $push edx |
35 | $mov eax, 68 |
41 | $mov eax, 68 |
Line 39... | Line 45... | ||
39 | $int 0x40 |
45 | $int 0x40 |
Line 40... | Line 46... | ||
40 | 46 | ||
41 | $pop edx |
47 | $pop edx |
42 | $pop ecx |
48 | $pop ecx |
43 | $pop ebx |
- | |
44 | //$pop edx ecx ebx |
49 | $pop ebx |
45 | return EAX; |
50 | return EAX; |
Line 46... | Line 51... | ||
46 | } |
51 | } |
47 | 52 |