It is easy.
1. Hold h to hub and look for 0 in mem.
2. Then move camera and look for some changed values.
3. Do again from 1
- - - Updated - - -
here is some stuff that might help you :
Code:
static int playerPointer = 0xE079D8; // Old pointer
static int[] playerOffsets = { 0x0, 0x28, 0xbc, 0x54, 0x0 };
static int[] cameraOffsets = { 0x4, 0x0 };
static int XOffset = 0xC9;
static int YOffset = 0xCC;
static int ZOffset = 0xD0;
static int LROffset = 0x28;
static int UDOffset = 0x24;
static float minVal = 0.1f;
static float maxVal = 5000f;
static float maxRange = 30f;
static float minRange = 1f;
static float heightCorrection = -0.5f;
Code:
float LRAngle = leftRightAngle(playerX, playerZ, e.x, e.z);
float UDAngle = upDownAngle(playerX, playerY, playerZ, e.x, e.y, e.z);
int cameraAddress = GetAddress((int)process.MainModule.BaseAddress + playerPointer, cameraOffsets);
if (UDAngle != float.NaN && LRAngle != float.NaN)
{
WriteFloat(cameraAddress + LROffset, LRAngle);
WriteFloat(cameraAddress + UDOffset, UDAngle);
}
I won't help you much more, but these can help
These are from 1 year ago but the offsets values might not have changed
And with this you have the memory structure