Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Now try to get the lua_state pointer (awkward code incoming)
- void**** ptr = (void****)targets[1].adr;
- ptr = (void****)((char*)ptr + 1);
- void*** a = *ptr;
- void** b = *a;
- b++;
- void* L = *b;
- printf("lua_state @ %#010x\n", (int)L);
Advertisement
Add Comment
Please, Sign In to add comment