feat(profile): add more symbols for CGxDevice::Log, CGxDevice::VLog

This commit is contained in:
phaneron 2025-04-05 17:42:55 -04:00
parent 00b2eccb4c
commit 966629794b
6 changed files with 8 additions and 0 deletions

View file

@ -194,6 +194,7 @@ static import_data_types() {
apply_type(0x00684970, "int32_t __thiscall func(CGxDevice* this, CGxShader** shaders, EGxShTarget target, char* a4, char* a5, int32_t permutations)"); apply_type(0x00684970, "int32_t __thiscall func(CGxDevice* this, CGxShader** shaders, EGxShTarget target, char* a4, char* a5, int32_t permutations)");
apply_type(0x00684AD0, "void __thiscall func(CGxDevice* this, CGxFormat* format)"); apply_type(0x00684AD0, "void __thiscall func(CGxDevice* this, CGxFormat* format)");
apply_type(0x00684B50, "void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)"); apply_type(0x00684B50, "void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)");
apply_type(0x00684BA0, "void __stdcall func(char* format, va_list args)");
apply_type(0x00684C20, "void __stdcall func(char* format, ...)"); apply_type(0x00684C20, "void __stdcall func(char* format, ...)");
apply_type(0x00684C40, "void __stdcall func(CGxCaps* caps)"); apply_type(0x00684C40, "void __stdcall func(CGxCaps* caps)");
apply_type(0x00684D10, "void __stdcall func(CGxFormat* format)"); apply_type(0x00684D10, "void __stdcall func(CGxFormat* format)");
@ -820,6 +821,7 @@ static import_data_types() {
apply_type(0x00C5DF74, "uint32_t"); apply_type(0x00C5DF74, "uint32_t");
apply_type(0x00C5DF7C, "uint32_t"); apply_type(0x00C5DF7C, "uint32_t");
apply_type(0x00C5DF88, "CGxDevice*"); apply_type(0x00C5DF88, "CGxDevice*");
apply_type(0x00C5FFF4, "uint32_t");
apply_type(0x00C5FFF8, "HSLOG"); apply_type(0x00C5FFF8, "HSLOG");
apply_type(0x00CA1690, "float"); apply_type(0x00CA1690, "float");
apply_type(0x00CA1694, "int32_t"); apply_type(0x00CA1694, "int32_t");

View file

@ -2394,6 +2394,7 @@ static import_symbols() {
set_name(0x00684970, "CGxDevice__IShaderLoad"); set_name(0x00684970, "CGxDevice__IShaderLoad");
set_name(0x00684AD0, "CGxDevice__ICursorCreate"); set_name(0x00684AD0, "CGxDevice__ICursorCreate");
set_name(0x00684B50, "CGxDevice__CursorUnlock"); set_name(0x00684B50, "CGxDevice__CursorUnlock");
set_name(0x00684BA0, "CGxDevice__VLog");
set_name(0x00684C20, "CGxDevice__Log"); set_name(0x00684C20, "CGxDevice__Log");
set_name(0x00684C40, "CGxDevice__Log@2"); set_name(0x00684C40, "CGxDevice__Log@2");
set_name(0x00684D10, "CGxDevice__Log@3"); set_name(0x00684D10, "CGxDevice__Log@3");
@ -3537,6 +3538,7 @@ static import_symbols() {
set_name(0x00C5DF88, "g_theGxDevicePtr"); set_name(0x00C5DF88, "g_theGxDevicePtr");
set_name(0x00C5DFDC, "CGxDevice__s_uiVertexShader"); set_name(0x00C5DFDC, "CGxDevice__s_uiVertexShader");
set_name(0x00C5DFE0, "CGxDevice__s_shadowConstants"); set_name(0x00C5DFE0, "CGxDevice__s_shadowConstants");
set_name(0x00C5FFF4, "CGxDevice__m_logBytes");
set_name(0x00C5FFF8, "CGxDevice__m_log"); set_name(0x00C5FFF8, "CGxDevice__m_log");
set_name(0x00C5FFFC, "CGxDevice__s_uiPixelShader"); set_name(0x00C5FFFC, "CGxDevice__s_uiPixelShader");
set_name(0x00C60760, "isIdent"); set_name(0x00C60760, "isIdent");

View file

@ -54,6 +54,7 @@ CGxDevice__CursorUnlock 00684B50 f end=00684B99 type="void __thiscall func(CGxDe
CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)" CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)"
CGxDevice__Log 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const CGxDevice__Log 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const
CGxDevice__Log 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)" CGxDevice__Log 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)"
CGxDevice__VLog 00684BA0 f end=00684C15 type="void __stdcall func(char* format, va_list args)"
CGxDevice__DeviceOverride 00684FE0 f end=00685036 type="void __thiscall func(CGxDevice* this, EGxOverride override, uint32_t value)" CGxDevice__DeviceOverride 00684FE0 f end=00685036 type="void __thiscall func(CGxDevice* this, EGxOverride override, uint32_t value)"
CGxDevice__AddDeviceRestoredCallback 006853B0 f end=006853C6 type="void __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)" CGxDevice__AddDeviceRestoredCallback 006853B0 f end=006853C6 type="void __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)"
CGxDevice__RemoveDeviceRestoredCallback 006853D0 f end=0068545C type="int32_t __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)" CGxDevice__RemoveDeviceRestoredCallback 006853D0 f end=0068545C type="int32_t __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)"

View file

@ -3,4 +3,5 @@ CGxDevice__vtable 00A2DDC0 l type="CGxDevice__vtable"
CGxDevice__s_shadowConstants 00C5DFE0 l CGxDevice__s_shadowConstants 00C5DFE0 l
CGxDevice__s_uiVertexShader 00C5DFDC l CGxDevice__s_uiVertexShader 00C5DFDC l
CGxDevice__s_uiPixelShader 00C5FFFC l CGxDevice__s_uiPixelShader 00C5FFFC l
CGxDevice__m_logBytes 00C5FFF4 l type="uint32_t"
CGxDevice__m_log 00C5FFF8 l type="HSLOG" CGxDevice__m_log 00C5FFF8 l type="HSLOG"

View file

@ -2390,6 +2390,7 @@ CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D type="void __thiscall func(
CGxDevice__IShaderLoad 00684970 f end=00684AC8 type="int32_t __thiscall func(CGxDevice* this, CGxShader** shaders, EGxShTarget target, char* a4, char* a5, int32_t permutations)" CGxDevice__IShaderLoad 00684970 f end=00684AC8 type="int32_t __thiscall func(CGxDevice* this, CGxShader** shaders, EGxShTarget target, char* a4, char* a5, int32_t permutations)"
CGxDevice__ICursorCreate 00684AD0 f end=00684B4A type="void __thiscall func(CGxDevice* this, CGxFormat* format)" CGxDevice__ICursorCreate 00684AD0 f end=00684B4A type="void __thiscall func(CGxDevice* this, CGxFormat* format)"
CGxDevice__CursorUnlock 00684B50 f end=00684B99 type="void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)" CGxDevice__CursorUnlock 00684B50 f end=00684B99 type="void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)"
CGxDevice__VLog 00684BA0 f end=00684C15 type="void __stdcall func(char* format, va_list args)"
CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)" CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)"
CGxDevice__Log 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const CGxDevice__Log 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const
CGxDevice__Log 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)" CGxDevice__Log 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)"
@ -3533,6 +3534,7 @@ s_maxFPS 00C5DF7C l type="uint32_t"
g_theGxDevicePtr 00C5DF88 l type="CGxDevice*" g_theGxDevicePtr 00C5DF88 l type="CGxDevice*"
CGxDevice__s_uiVertexShader 00C5DFDC l CGxDevice__s_uiVertexShader 00C5DFDC l
CGxDevice__s_shadowConstants 00C5DFE0 l CGxDevice__s_shadowConstants 00C5DFE0 l
CGxDevice__m_logBytes 00C5FFF4 l type="uint32_t"
CGxDevice__m_log 00C5FFF8 l type="HSLOG" CGxDevice__m_log 00C5FFF8 l type="HSLOG"
CGxDevice__s_uiPixelShader 00C5FFFC l CGxDevice__s_uiPixelShader 00C5FFFC l
isIdent 00C60760 l isIdent 00C60760 l