saints row iv · player & object data

Saints Row IV Memory Offsets

Where specific values live in memory (health, cash, current car, super power...).

Player & Object Data23 rows

Where values live. For an object, read the object's pointer then add the offset. All confirmed from the code (Lua commands that read/write them). Note: the old sr4 trainer's offsets did NOT match the code - use these.

ObjectOffset / addressTypeMeaning
player / human+0x40, +0x44, +0x48float x3Position in the world (x, y, z).
player / human+0x1760handle (8 bytes)The vehicle you're in (or entering).
player+0x1E08intCash, in cents (divide by 100).
player / human+0x1E0CbyteTeam.
player / human+0x1E10intMax hit points.
player / human+0x1E20floatCurrent hit points (health).
player+0x1F04 bit 0x40flagForced sprint.
player+0x2017 + power idbyteSuper power unlocked flags.
player+0x2084byteSelected super power (255 = none).
player+0x27DCpointerCharacter customization data.
player+0x3064intOrbs banked.
NPC+0x4F8 / +0x4F9byteCurrent AI goal / current AI action.
vehicle+0xBDCpointerVehicle info (type data).
vehicle+0x1EBCfloatMax speed in m/s (x 2.237 = mph).
any object+0x33flags0x10 = being deleted, 0x04 = dead.
any object+0x34byteObject type ID (see Object Types).
global0x02E9DC38pointerThe local player.
global0x016AABC8objectThe world.
global0x0299FE94 / 95byte / byteGame clock hour / minute.
global0x02965390intNotoriety level.
global0x0299E3B8byte1 = this save has been flagged for cheating.
global0x03429790pointerMission Lua engine.
global0x043E0B3CpointerThe renderer.

Built from SR4_Game_Explained.xlsx (650 KB), if you'd rather filter it in Excel. SaintsRowIV.exe v1.0.6.1 (Steam). Names are ours unless they're Volition's own Lua or C++ class names.