This isn't inside a function. Put it in a function then call the function.
You could leave it outside a function with {$ccode}, but that can only be used in an injection.
With the way that code is written, the last offset in that pointer path is 0, not 40. This is probably unintended.
Use extern to get Base and traverse that path in C.
Example:
Code:
[ENABLE]
globalalloc(foo,1024)
foo:
dq foo+100
{$C}
// the value at the address "foo" is a void*
extern void *foo;
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum