Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public unsafe static void* BoxInt32(void* methodTable, uint classSize, int value)
- {
- Screen.Write((uint)value, 10, 2);
- void* memory = AllocateObject(methodTable, classSize);
- uint* destination = (uint*)memory;
- destination[2] = (uint)value;
- return memory;
- }
Advertisement
Add Comment
Please, Sign In to add comment