diff --git a/.gitattributes b/.gitattributes index 8cd7f41..56f528d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,4 @@ * text eol=lf -*.dd32 binary \ No newline at end of file +*.dd32 binary +profile/*/x64dbg/game.* +profile/*/x64dbg/types.json diff --git a/profile/3.3.5a-windows-386/ida/batch/import_data_types.idc b/profile/3.3.5a-windows-386/ida/batch/import_data_types.idc index 3867d7c..f008824 100644 --- a/profile/3.3.5a-windows-386/ida/batch/import_data_types.idc +++ b/profile/3.3.5a-windows-386/ida/batch/import_data_types.idc @@ -25,6 +25,7 @@ static import_data_types() { apply_type(0x006160B0, "int32_t __usercall func@(uint32_t** image@, MipBits* mipImages@, uint32_t width@, uint32_t height)"); apply_type(0x00616800, "void __stdcall func(CURSORMODE mode)"); apply_type(0x00616CA0, "void __thiscall func(TSGrowableArray_CImVector* this, uint32_t count)"); + apply_type(0x00681630, "void __stdcall func(CGxQuery** query, EGxQueryType type)"); apply_type(0x00681A60, "void __stdcall func()"); apply_type(0x00681AB0, "void __stdcall func(uint32_t indexCount, uint16_t* indices)"); apply_type(0x00681B00, "void __stdcall func(CGxBuf* buf, EGxVertexBufferFormat format)"); @@ -117,6 +118,7 @@ static import_data_types() { apply_type(0x00689690, "void __thiscall func(CGxDevice* this, uint8_t __flags)"); apply_type(0x006897C0, "void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)"); apply_type(0x00689EF0, "CGxDevice* __stdcall func()"); + apply_type(0x0068BBC0, "void __thiscall func(CGxDeviceOpenGl* this)"); apply_type(0x0068BF20, "CGxDevice* __stdcall func()"); apply_type(0x0068C220, "CGxDevice* __stdcall func()"); apply_type(0x0068E450, "void __thiscall func(CGxDeviceD3d* this)"); @@ -177,7 +179,7 @@ static import_data_types() { apply_type(0x006A9E00, "void __thiscall func(CGxDeviceD3d* this, C44Matrix* matrix)"); apply_type(0x006AA070, "void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)"); apply_type(0x006AA0D0, "void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)"); - apply_type(0x006AA130, "void __thiscall func(CGxShader** shaders, EGxShTarget target, char* a3, char* a4, int32_t permutations)"); + apply_type(0x006AA130, "void __thiscall func(CGxDeviceD3d* this, CGxShader** shaders, EGxShTarget target, char* a3, char* a4, int32_t permutations)"); apply_type(0x006AA190, "void __thiscall func(CGxDeviceD3d* this, CGxShader** shader)"); apply_type(0x006AA3B0, "int32_t __thiscall func(CTgaFile* this)"); apply_type(0x006AA3E0, "uint32_t __thiscall func(CTgaFile* this)"); @@ -308,6 +310,7 @@ static import_data_types() { apply_type(0x00961420, "int32_t __stdcall func(lua_State* L)"); apply_type(0x00961470, "int32_t __stdcall func(lua_State* L)"); apply_type(0x009614B0, "int32_t __stdcall func(lua_State* L)"); + apply_type(0x009AD000, "void __thiscall func(DayNight__DNGlare* this, char* a1)"); apply_type(0x00A2DDC0, "CGxDevice__vtable"); apply_type(0x00AC1B9C, "TSExplicitList_CILayer"); apply_type(0x00AD2808, "char*[53]"); diff --git a/profile/3.3.5a-windows-386/ida/batch/import_symbols.idc b/profile/3.3.5a-windows-386/ida/batch/import_symbols.idc index d57407d..42227d0 100644 --- a/profile/3.3.5a-windows-386/ida/batch/import_symbols.idc +++ b/profile/3.3.5a-windows-386/ida/batch/import_symbols.idc @@ -2100,6 +2100,7 @@ static import_symbols() { set_name(0x00681290, "GxDevCreate"); set_name(0x006813B0, "GxSceneClear"); set_name(0x006813D0, "GxTexUpdate"); + set_name(0x00681630, "GxQueryCreate"); set_name(0x006817E0, "GxLog"); set_name(0x00681A60, "GxDrawLockedElements"); set_name(0x00681AB0, "GxPrimIndexPtr"); @@ -2674,6 +2675,7 @@ static import_symbols() { set_name(0x00985E60, "Script_VoiceChat_GetCurrentMicrophoneSignalLevel"); set_name(0x00985E90, "Script_VoiceChat_ActivatePrimaryCaptureCallback"); set_name(0x00985EF0, "Script_VoiceChat_StartCapture"); + set_name(0x009AD000, "DayNight__DNGlare__Initialize"); set_name(0x009D34B0, "nullsub_7"); set_name(0x009D34C0, "nullsub_8"); set_name(0x009D4260, "nullsub_9"); diff --git a/profile/3.3.5a-windows-386/symbol/daynight/func.sym b/profile/3.3.5a-windows-386/symbol/daynight/func.sym new file mode 100644 index 0000000..4a30c8f --- /dev/null +++ b/profile/3.3.5a-windows-386/symbol/daynight/func.sym @@ -0,0 +1 @@ +DayNight__DNGlare__Initialize 009AD000 f end=009AD0A3 type="void __thiscall func(DayNight__DNGlare* this, char* a1)" \ No newline at end of file diff --git a/profile/3.3.5a-windows-386/symbol/gx/func.sym b/profile/3.3.5a-windows-386/symbol/gx/func.sym index 828d93d..da79ece 100644 --- a/profile/3.3.5a-windows-386/symbol/gx/func.sym +++ b/profile/3.3.5a-windows-386/symbol/gx/func.sym @@ -19,4 +19,5 @@ GxBufLock 004829D0 f end=004829E9 GxBufUnlock 004829F0 f end=00482A13 GxBufStream 00482A20 f end=00482A3C GxScenePresent 00682A00 f end=00682A33 -GxSceneClear 006813B0 f end=006813CD \ No newline at end of file +GxSceneClear 006813B0 f end=006813CD +GxQueryCreate 00681630 f end=0068165B type="void __stdcall func(CGxQuery** query, EGxQueryType type)" diff --git a/profile/3.3.5a-windows-386/symbol/gxdeviceopengl/func.sym b/profile/3.3.5a-windows-386/symbol/gxdeviceopengl/func.sym index beef17c..e9e3499 100644 --- a/profile/3.3.5a-windows-386/symbol/gxdeviceopengl/func.sym +++ b/profile/3.3.5a-windows-386/symbol/gxdeviceopengl/func.sym @@ -1 +1 @@ -CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 \ No newline at end of file +CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 type="void __thiscall func(CGxDeviceOpenGl* this)" diff --git a/profile/3.3.5a-windows-386/symbol/main.sym b/profile/3.3.5a-windows-386/symbol/main.sym index 7122194..6b4fb2d 100644 --- a/profile/3.3.5a-windows-386/symbol/main.sym +++ b/profile/3.3.5a-windows-386/symbol/main.sym @@ -2096,6 +2096,7 @@ nullsub_5 00653A10 f GxDevCreate 00681290 f end=00681301 GxSceneClear 006813B0 f end=006813CD GxTexUpdate 006813D0 f end=006813EC +GxQueryCreate 00681630 f end=0068165B type="void __stdcall func(CGxQuery** query, EGxQueryType type)" GxLog 006817E0 f end=006817F5 GxDrawLockedElements 00681A60 f end=00681AAB type="void __stdcall func()" GxPrimIndexPtr 00681AB0 f end=00681AFB type="void __stdcall func(uint32_t indexCount, uint16_t* indices)" @@ -2193,7 +2194,7 @@ CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thisc CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)" CGxShader__Valid 00689A50 f end=00689A6F CGxDevice__NewD3d 00689EF0 f end=00689F14 type="CGxDevice* __stdcall func()" -CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 +CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 type="void __thiscall func(CGxDeviceOpenGl* this)" CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 type="CGxDevice* __stdcall func()" CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 type="CGxDevice* __stdcall func()" CGxDeviceD3d__ICreateD3dIB 0068E180 f end=0068E1E8 @@ -2287,7 +2288,7 @@ CGxDeviceD3d__XformSetView 006A9E00 f end=006A9E09 type="void __thiscall func(CG CGxDeviceD3d__IShaderConstantsFlush 006A9FE0 f end=006AA06D CGxDeviceD3d__IShaderCreatePixel 006AA070 f end=006AA0C5 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)" CGxDeviceD3d__IShaderCreateVertex 006AA0D0 f end=006AA125 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)" -CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A type="void __thiscall func(CGxShader** shaders, EGxShTarget target, char* a3, char* a4, int32_t permutations)" +CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A type="void __thiscall func(CGxDeviceD3d* this, CGxShader** shaders, EGxShTarget target, char* a3, char* a4, int32_t permutations)" CGxDeviceD3d__ShaderDestroy 006AA190 f end=006AA207 type="void __thiscall func(CGxDeviceD3d* this, CGxShader** shader)" CGxDeviceD3d__IBindVertexShader 006AA2F0 f end=006AA346 CTgaFile__ColorMapEntryBytes 006AA350 f end=006AA379 ; UC @@ -2670,6 +2671,7 @@ Script_VoiceChat_IsPlayingLoopbackSound 00985E30 f end=00985E5D Script_VoiceChat_GetCurrentMicrophoneSignalLevel 00985E60 f end=00985E8A Script_VoiceChat_ActivatePrimaryCaptureCallback 00985E90 f end=00985E98 Script_VoiceChat_StartCapture 00985EF0 f end=00985F6B +DayNight__DNGlare__Initialize 009AD000 f end=009AD0A3 type="void __thiscall func(DayNight__DNGlare* this, char* a1)" nullsub_7 009D34B0 f nullsub_8 009D34C0 f nullsub_9 009D4260 f diff --git a/profile/3.3.5a-windows-386/x64dbg/game.dd32 b/profile/3.3.5a-windows-386/x64dbg/game.dd32 index a06f03b..68941d0 100644 Binary files a/profile/3.3.5a-windows-386/x64dbg/game.dd32 and b/profile/3.3.5a-windows-386/x64dbg/game.dd32 differ diff --git a/profile/3.3.5a-windows-386/x64dbg/types.json b/profile/3.3.5a-windows-386/x64dbg/types.json index 9d99492..cdba16f 100644 --- a/profile/3.3.5a-windows-386/x64dbg/types.json +++ b/profile/3.3.5a-windows-386/x64dbg/types.json @@ -20291,7 +20291,7 @@ }, { "type": "uint32_t", - "name": "unk3AB8", + "name": "m_d3dStereoEnabled", "offset": 15040 }, { @@ -20305,11 +20305,20 @@ "offset": 15048 }, { - "type": "uint32_t", - "name": "unk3AC4", - "arrsize": 3, + "type": "float", + "name": "m_d3dStereoConvergence", "offset": 15052 }, + { + "type": "float", + "name": "m_d3dStereoSeparation", + "offset": 15056 + }, + { + "type": "int32_t", + "name": "unk3ACC", + "offset": 15060 + }, { "type": "TSGrowableArray_CGxDeviceD3d__GxVertexDecl", "name": "m_vertexDecl",