From d9454c1ef1b140c21e096de80a98ce0b3e811681 Mon Sep 17 00:00:00 2001 From: Dylan Muller Date: Sat, 16 Sep 2023 12:34:28 +0200 Subject: gsctool: core: initial commit Initial commit of gsctool. A utility to inject custom GSC scripts for Call of Duty Black Ops 1 (PC). --- offsets.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 offsets.h (limited to 'offsets.h') 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 -- cgit v1.2.3-70-g09d2