Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gnalvesteffer/e33ceecb48c2774d2b5aaa0ea950ffec to your computer and use it in GitHub Desktop.
Save gnalvesteffer/e33ceecb48c2774d2b5aaa0ea950ffec to your computer and use it in GitHub Desktop.
Game (0.6.2 (patch 1)): "teardown.exe"+41CB00
0x0 // Window Width (int)
0x4 // Window Height (int)
0x18 // Loading Screen Duration (float -- setting this while already ingame will show the loading screen for the specified seconds)
0x40 // Scene (pointer)
0x88 // Diagnostics Debug UI
0xA0 // Player (pointer)
0x144 // Simulation Interval (float -- default to 0.016 (60hz))
Diagnostics Debug UI: Game+0x88
0x0 // Enable Diagnostics UI (bool)
Scene: Game+0x40
0x8 // ??? (pointer -- leads to the array of awake physics bodies)
0x2A38 // Awake Physics Body Count
0x2A3C // Awake Physics Body Array Size
0x2A40 // Awake Physics Body Array
0xA8 // Fire System (pointer)
0xE8 // Player's Flashlight (Light)
0x110 // Projectile Array Count (int)
0x114 // Projectile Array Size (int)
0x118 // Projectile Array (array)
0x160 // Body Array Count (int)
0x164 // Body Array Size (int)
0x168 // Body Array (array)
0x170 // Shape Array Count (int)
0x174 // Shape Array Size (int)
0x178 // Shape Array (array)
0x180 // Light Array Count (int)
0x184 // Light Array Size (int)
0x188 // Light Array (array)
0x190 // Location Array Count (int)
0x194 // Location Array Size (int)
0x198 // Location Array (array)
0x1A0 // Water Array Count (int)
0x1A4 // Water Array Size (int)
0x1A8 // Water Array (array)
0x1C0 // Joint Array Count (int)
0x1C4 // Joint Array Size (int)
0x1C8 // Joint Array (array)
0x1D0 // Vehicle Array Count (int)
0x1D4 // Vehicle Array Size (int)
0x1D8 // Vehicle Array (array)
0x1E0 // Wheel Array Count (int)
0x1E4 // Wheel Array Size (int)
0x1E8 // Wheel Array (array)
0x530 // Boundary Vertices Count (int)
0x534 // Boundary Vertices Size (int)
0x538 // Boundary Vertices (vertex array)
Fire System: Scene+0xA8
0x08 // Fire Count (int)
0x0C // Fire Array Size (int)
0x10 // Fire Array (array -- each fire struct is 28 bytes long)
Fire (size = 28 bytes):
0x00 // Shape (pointer)
0x08 // Position X (float)
0x0C // Position Y (float)
0x10 // Position Z (float -- Z is altitude for fires)
0x14 // Duration (float -- number of seconds until fire despawns)
0x18 // Lifetime (float -- how long the fire has existed)
Player: Game+0xA0
0x00 // Position X (float)
0x04 // Position Y (float)
0x08 // Position Z (float)
0xF0 // Collision Size X (float)
0xF4 // Collision Size Y (float)
0xF8 // Collision Size Z (float -- setting this to a value such as 10 allows you to scale buildings)
0x15C // Health (float -- player movement speed is also tied to health, so setting this to a higher value than 1 will make the player faster)
0x217 // Fire Extinguisher Visibility (bool -- takes effect when switching to it)
0x220 // Fire Extinguisher Position X (float)
0x224 // Fire Extinguisher Position Y (float)
0x228 // Fire Extinguisher Position Z (float)
0x22C // Fire Extinguisher Rotation W (float)
0x230 // Fire Extinguisher Rotation X (float)
0x234 // Fire Extinguisher Rotation Y (float)
0x238 // Fire Extinguisher Rotation Z (float)
Light:
0x2C // Light Type (byte -- looks like the valid values are between 0 and 4)
0x30 // Position X (float)
0x34 // Position Y (float)
0x38 // Position Z (float)
0x38 // Position Z (float)
0x3C // Rotation 1 (float)
0x40 // Rotation 2 (float)
0x44 // Rotation 3 (float)
0x4C // Red Amount (float)
0x50 // Green Amount (float)
0x54 // Blue Amount (float)
0x5C // Light Falloff Distance
0x60 // Light Size (float)
0x64 // Shadow Cast Clip Distance (float - shadows won't cast from objects closer than this distance)
0x68 // Seems to affect the light cone softness (float)
0x6C // Light Softness (float -- lower = sharper, higher = softer/more faint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment