Skip to content

Instantly share code, notes, and snippets.

View karliky's full-sized avatar
🏝️
***On map Dungeon***

Carlos Hernández Gómez karliky

🏝️
***On map Dungeon***
View GitHub Profile
@karliky
karliky / wotlk.cy.js
Created May 7, 2020 19:40 — forked from jrsa/wotlk.cy.js
snippets of cycript code for messing with wow's rendering (client version 3.3.5a / build 12340)
// 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)
@karliky
karliky / Overwatch STU field list.csv
Created August 14, 2017 07:11
Dump of STU types and maybe more things later...
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
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'];