



#define Pointer 0xAAAAA; //just an aexample
#define Offset 0xA2;
void hack()
{
*(float*)(Pointer + Offset) = 0.345f;
}
IntPtr Pointer = new IntPtr(0x123456); int Offset = 0xA2; //My 1st idea: float* Pointing = Pointer + (IntPtr)Offset; //May not work, i didnt tested Pointing = 0.123f; //My Second Idea *(float*)(Pointer + (IntPtr)Offset) = 0.123f; //It may have some error, its a C++ command, but maybe works in C# too...