This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// here i am getting a pointer to the games camera, starting from | |
// s_currentWorldFrame which has a known address in the games memory. | |
// that static variable points to an instance of CGWorldFrame, which | |
// houses a lot of the rendering stuff, including the camera. the | |
// camera, among other things, has a variable for the field of view | |
// which is what ends up at *fovptr. | |
var s_currentWorldFrame = @encode(int*)(0xEEEA8C) // static pointer to active world frame | |
var m_camera = 32280; //offset of cgcamera pointer in worldframe object | |
var m_fov = 64; // offset of fov (field of view) value in cgcamera object (just a floating point number) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hash | Name | |
---|---|---|
FD24B86E | m_abortPlug | |
D64683D1 | m_aimID | |
BEC2BEAE | m_beginPlug | |
A358340A | m_castFilter | |
DDE1F5A5 | m_castLength | |
E7E0054D | m_castRadius | |
E3072BFB | m_condition | |
EDABEA76 | m_curVal | |
5D05B699 | m_destination |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ffi = require('ffi'), | |
ref = require('ref'), | |
Struct = require('ref-struct'), | |
Library = require('./Library'), | |
Type = ref.Type, | |
NULL = ref.NULL, | |
isNull = ref.isNull; | |
var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |