diff options
author | Dylan Muller <dylan.muller@corigine.com> | 2023-09-16 12:34:28 +0200 |
---|---|---|
committer | Dylan Muller <dylan.muller@corigine.com> | 2023-09-17 19:34:45 +0200 |
commit | d9454c1ef1b140c21e096de80a98ce0b3e811681 (patch) | |
tree | 6a7a9963d7bf5898b1858c6feb7410da8aeef24b /offsets.h | |
download | gsctool-d9454c1ef1b140c21e096de80a98ce0b3e811681.tar.gz gsctool-d9454c1ef1b140c21e096de80a98ce0b3e811681.zip |
gsctool: core: initial commit
Initial commit of gsctool. A utility to inject custom GSC scripts
for Call of Duty Black Ops 1 (PC).
Diffstat (limited to 'offsets.h')
-rw-r--r-- | offsets.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/offsets.h b/offsets.h new file mode 100644 index 0000000..0683701 --- /dev/null +++ b/offsets.h @@ -0,0 +1,17 @@ +#ifndef _OFFSETS_H
+#define _OFFSETS_H
+
+/* Offsets for Call of Duty: Black Ops 1 (Win32) */
+/* Found using IDA */
+#define T5_Scr_LoadScript 0x00661AF0
+#define T5_Scr_GetFunctionHandle 0x004E3470
+#define T5_DB_LinkXAssetEntry 0x007A2F10
+#define T5_Scr_ExecThread 0x005598E0
+#define T5_Scr_FreeThread 0x005DE2C0
+#define T5_Scr_LoadGameType 0x004B7F80
+#define T5_Dvar_FindVar 0x0057FF80
+#define T5_Assign_Hotfix 0x007A4800
+#define T5_init_trigger 0x00C793B0
+#define T5_Thread_Timer 0x004C06E0
+
+#endif
|