From 34d16625b7b0fd3df05b00beaee7e42f327dd0a1 Mon Sep 17 00:00:00 2001 From: superp00t Date: Fri, 4 Oct 2024 01:43:35 -0400 Subject: [PATCH] feat(profile): add type information for CGxDevice functions --- .../3.3.5a-windows/ida/import_data_types.idc | 61 +++++++++ profile/3.3.5a-windows/ida/import_symbols.idc | 10 +- profile/3.3.5a-windows/include/async/object.h | 3 +- profile/3.3.5a-windows/include/gx/device.h | 4 +- profile/3.3.5a-windows/include/gx/light.h | 21 +++ .../3.3.5a-windows/symbol/gxdevice/func.sym | 120 +++++++++--------- profile/3.3.5a-windows/symbol/main.sym | 120 +++++++++--------- profile/3.3.5a-windows/x32dbg/game.dd32 | 32 ++++- profile/3.3.5a-windows/x32dbg/types.json | 8 +- 9 files changed, 250 insertions(+), 129 deletions(-) create mode 100644 profile/3.3.5a-windows/include/gx/light.h diff --git a/profile/3.3.5a-windows/ida/import_data_types.idc b/profile/3.3.5a-windows/ida/import_data_types.idc index 1458cb8..f68b696 100644 --- a/profile/3.3.5a-windows/ida/import_data_types.idc +++ b/profile/3.3.5a-windows/ida/import_data_types.idc @@ -2,6 +2,7 @@ static import_data_types() { apply_type(0x00408070, "void __stdcall func(float* minX, float* maxX, float* minY, float* maxY, float* minZ, float* maxZ)"); + apply_type(0x00409670, "void __thiscall func(CGxDevice* this)"); apply_type(0x004804F0, "void __cdecl func(EvtContext* context, EVENTID id, void* handler, void* param, float priority)"); apply_type(0x004806A0, "int32_t __cdecl func(EvtContext* context, EVENTID id, void *data, size_t bytes)"); apply_type(0x004B5510, "int32_t __stdcall func(uint32_t width, uint32_t height)"); @@ -10,18 +11,78 @@ static import_data_types() { apply_type(0x004B78A0, "int32_t __usercall func@(char* ext@, char* filename, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, PIXEL_FORMAT* texFormat, int32_t* isOpaque@, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)"); apply_type(0x004B8070, "int32_t __usercall func@(char* ext@, char* filename@, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, uint32_t* isOpaque, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)"); apply_type(0x004B81D0, "MipBits* func(const char* filename, uint32_t* width, uint32_t* height, PIXEL_FORMAT* dataFormat, int32_t* isOpaque, CStatus* status, uint32_t* alphaBits, int32_t a8)"); + apply_type(0x00532AF0, "CGxCaps* __thiscall func(CGxDevice* this)"); 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(0x00681F60, "void __stdcall func(float minX, float maxX, float minY, float maxY, float minZ, float maxZ)"); + apply_type(0x00682CB0, "void __thiscall func(CGxDevice* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)"); + apply_type(0x00682D00, "void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)"); + apply_type(0x00682D20, "EGxApi __thiscall func(CGxDevice* this)"); + apply_type(0x00682D40, "int32_t __thiscall func(CGxDevice* this)"); + apply_type(0x00682D70, "CRect* __thiscall func(CGxDevice* this)"); apply_type(0x00682DC0, "int32_t __thiscall func(CGxDevice* this, int32_t a2)"); apply_type(0x00682E20, "int32_t __thiscall func(CGxDevice* this, int32_t a2)"); + apply_type(0x00682E50, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00682F40, "uint32_t __stdcall func(EGxPrim primType, uint32_t indexCount)"); + apply_type(0x00683080, "void __thiscall func(CGxDevice* this, uint32_t whichLight, int32_t enable)"); + apply_type(0x006830B0, "int32_t __thiscall func(CGxDevice* this, uint32_t app, uint32_t hw, uint32_t appDisables, uint32_t hwDisables, uint32_t flagPos, int32_t* enable)"); + apply_type(0x00683100, "int32_t __thiscall func(CGxDevice* this, EGxMasterEnables state)"); + apply_type(0x00683130, "int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, void *data, uint32_t size, uint32_t offset)"); + apply_type(0x00683150, "uint8_t* __thiscall func(CGxDevice* this, CGxBuf* buf)"); + apply_type(0x00683180, "int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, uint32_t size)"); + apply_type(0x006833A0, "void __thiscall func(CGxDevice* this)"); + apply_type(0x006833E0, "void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, float* constants, uint32_t count)"); + apply_type(0x00683560, "uint8_t* __thiscall func(CGxDevice* this, EGxShTarget target)"); + apply_type(0x00683580, "void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, uint32_t count)"); + apply_type(0x006835E0, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00683610, "void __stdcall func(EGxTexCommand command, uint32_t width, uint32_t height, uint32_t face, uint32_t level, void* userArg, uint32_t* texelStrideInBytes, void** texels)"); + apply_type(0x00683640, "void __thiscall func(CGxDevice* this, int32_t visible)"); + apply_type(0x00683650, "uint32_t* __thiscall func(CGxDevice* this)"); + apply_type(0x00683660, "void __thiscall func(CGxDevice* this, float depth)"); + apply_type(0x006840F0, "int32_t __thiscall func(CGxDevice* this, CGxFormat* format)"); + apply_type(0x00684190, "int32_t __thiscall func(CGxDevice* this, CGxGammaRamp* ramp)"); + apply_type(0x00684360, "void __thiscall func(CGxDevice* this, CRect* rect)"); + apply_type(0x006843B0, "void __thiscall func(CGxDevice* this)"); + apply_type(0x006843E0, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00684410, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00684440, "void __thiscall func(CGxDevice* this, uint32_t a2, C4Plane* plane)"); + apply_type(0x006847D0, "void __thiscall func(CGxDevice* this, uint32_t a2, CGxLight* light, C3Vector* pos)"); + apply_type(0x00684850, "void __thiscall func(CGxDevice* this, EGxPoolTarget target, uint32_t itemSize, uint32_t itemCount)"); + apply_type(0x006848A0, "void __thiscall func(CGxDevice* this, CGxTex* texId, CiRect* updateRect, int32_t immediate)"); + apply_type(0x00684900, "void __thiscall func(CGxDevice* this, CGxTex* texId)"); + 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(0x00684B50, "void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)"); + apply_type(0x00684C20, "void __stdcall func(char* format, ...)"); + apply_type(0x00684C40, "void __stdcall func(CGxCaps* caps)"); + apply_type(0x00684D10, "void __stdcall func(CGxFormat* format)"); apply_type(0x006853B0, "void __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)"); apply_type(0x006853D0, "int32_t __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)"); apply_type(0x00685460, "void __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)"); apply_type(0x00685480, "int32_t __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)"); apply_type(0x00685510, "void __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)"); apply_type(0x00685530, "int32_t __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)"); + apply_type(0x00685970, "void __thiscall func(CGxDevice* this, EGxRenderState which)"); + apply_type(0x006859E0, "void __thiscall func(CGxDevice* this, EGxRenderState which)"); + apply_type(0x00685A70, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00685B50, "void __thiscall func(CGxDevice* this, int32_t force)"); + apply_type(0x00685C60, "void __thiscall func(CGxDevice* this, EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t*, void**), char* name, CGxTex** texId)"); + apply_type(0x00685EB0, "void __thiscall func(CGxDevice* this, EGxMasterEnables state, int32_t enable)"); + apply_type(0x00685F50, "void __thiscall func(CGxDevice* this, EGxRenderState which, void* value)"); + apply_type(0x00685FB0, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00687660, "CGxBuf* __thiscall func(CGxDevice* this, CGxPool* pool, uint32_t itemSize, uint32_t itemCount, uint32_t index)"); + apply_type(0x006876D0, "CGxPool* __thiscall func(CGxDevice* this, EGxPoolTarget target, EGxPoolUsage usage, uint32_t size, EGxPoolHintBits hint, char* name)"); + apply_type(0x00687A90, "void __thiscall func(CGxDevice* this)"); + apply_type(0x00688340, "void __thiscall func(CGxDevice* this, CGxPool* pool)"); + apply_type(0x00688690, "void __thiscall func(CGxDevice* this)"); + apply_type(0x006890C0, "void __thiscall func(CGxDevice* this)"); + 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(0x0068BF20, "CGxDevice* __stdcall func()"); + apply_type(0x0068C220, "CGxDevice* __stdcall func()"); apply_type(0x006A5A30, "void __thiscall func(CGxDeviceD3d* this)"); + apply_type(0x006A5EF0, "void __thiscall func(CGxDevice* this, CGxTex* texId, uint32_t* width, uint32_t* height, uint32_t* baseMip, uint32_t* mipCount)"); apply_type(0x006AA3B0, "int32_t __thiscall func(CTgaFile* this)"); apply_type(0x006AA3E0, "uint32_t __thiscall func(CTgaFile* this)"); apply_type(0x006AA420, "void __thiscall func(CTgaFile* this, uint8_t* pAlphaData, uint8_t* pNoAlphaData, uint8_t* alpha)"); diff --git a/profile/3.3.5a-windows/ida/import_symbols.idc b/profile/3.3.5a-windows/ida/import_symbols.idc index c5c010d..5e1ba29 100644 --- a/profile/3.3.5a-windows/ida/import_symbols.idc +++ b/profile/3.3.5a-windows/ida/import_symbols.idc @@ -2137,7 +2137,7 @@ static main() { set_name(0x00684B50, "CGxDevice__CursorUnlock"); set_name(0x00684C20, "CGxDevice__Log"); set_name(0x00684C40, "CGxDevice__Log_CGxCaps"); - set_name(0x00684D10, "CGxDevice__Log"); + set_name(0x00684D10, "CGxDevice__Log_CGxFormat"); set_name(0x006853B0, "CGxDevice__AddDeviceRestoredCallback"); set_name(0x006853D0, "CGxDevice__RemoveDeviceRestoredCallback"); set_name(0x00685460, "CGxDevice__AddTextureRecreationCallback"); @@ -2150,13 +2150,15 @@ static main() { set_name(0x00685B50, "CGxDevice__IRsSync"); set_name(0x00685C60, "CGxDevice__TexCreate"); set_name(0x00685EB0, "CGxDevice__MasterEnableSet"); - set_name(0x00685F50, "CGxDevice__RsSet"); + set_name(0x00685F50, "CGxDevice__RsSet_pointer_to_void"); set_name(0x00685FB0, "CGxDevice__RsPop"); set_name(0x00687660, "CGxDevice__BufCreate"); set_name(0x006876D0, "CGxDevice__PoolCreate"); set_name(0x00687A90, "CGxDevice__ICursorDraw"); set_name(0x00688340, "CGxDevice__PoolDestroy"); set_name(0x00688690, "CGxDevice__CGxDevice"); + set_name(0x006890C0, "CGxDevice__destructor"); + set_name(0x00689690, "CGxDevice__scalar_deleting_destructor"); set_name(0x006897C0, "CGxDevice__ShaderCreate"); set_name(0x00689A50, "CGxShader__Valid"); set_name(0x00689EF0, "CGxDevice__NewD3d"); @@ -6990,6 +6992,10 @@ static main() { set_func_end(0x00688340, 0x00688372); set_func_start(0x00688690, 0x00688690); set_func_end(0x00688690, 0x0068903F); + set_func_start(0x006890C0, 0x006890C0); + set_func_end(0x006890C0, 0x00689460); + set_func_start(0x00689690, 0x00689690); + set_func_end(0x00689690, 0x006896BB); set_func_start(0x006897C0, 0x006897C0); set_func_end(0x006897C0, 0x00689A49); set_func_start(0x00689A50, 0x00689A50); diff --git a/profile/3.3.5a-windows/include/async/object.h b/profile/3.3.5a-windows/include/async/object.h index d3481f6..046b0ca 100644 --- a/profile/3.3.5a-windows/include/async/object.h +++ b/profile/3.3.5a-windows/include/async/object.h @@ -8,6 +8,8 @@ DECLARE_STRUCT(CAsyncObject); DECLARE_STRUCT(TSLink_CAsyncObject); +STORM_TS_LIST(CAsyncObject); + struct CAsyncObject { void* file; void* buffer; @@ -26,6 +28,5 @@ struct CAsyncObject { uint16_t padding; TSLink_CAsyncObject link; }; -STORM_TS_LIST(CAsyncObject); #endif \ No newline at end of file diff --git a/profile/3.3.5a-windows/include/gx/device.h b/profile/3.3.5a-windows/include/gx/device.h index b349be8..dd92f6d 100644 --- a/profile/3.3.5a-windows/include/gx/device.h +++ b/profile/3.3.5a-windows/include/gx/device.h @@ -82,8 +82,8 @@ struct CGxDevice__vtable { void* v_fn_6_NotifyOnTextureRecreation; // void NotifyOnDisplayChange(); void* v_fn_7_NotifyOnDisplayChange; - // don't know if this ever gets called (something deleted?) - void* v_fn_8_destructor; + // public: virtual void * __thiscall CGxDevice::`scalar deleting destructor'(unsigned int) + void* v_fn_8_scalar_deleting_destructor; // int32_t DeviceCreate(const CGxFormat&); void* v_fn_9_DeviceCreate; // int32_t DeviceCreate(long (*)(void*, uint32_t, uint32_t, int32_t), CGxFormat const&); diff --git a/profile/3.3.5a-windows/include/gx/light.h b/profile/3.3.5a-windows/include/gx/light.h new file mode 100644 index 0000000..8e1e997 --- /dev/null +++ b/profile/3.3.5a-windows/include/gx/light.h @@ -0,0 +1,21 @@ +#ifndef GX_LIGHT_H +#define GX_LIGHT_H + +#include "tempest/vector.h" + +DECLARE_STRUCT(CGxLight); + +struct CGxLight { + // int32_t m_enabled : 1; + // int32_t m_isOmni : 1; + int32_t m_flags; + C3Vector m_dir; + C3Vector m_ambColor; + C3Vector m_dirColor; + C3Vector m_specColor; + float m_constantAttenuation; + float m_linearAttenuation; + float m_quadraticAttenuation; +}; + +#endif \ No newline at end of file diff --git a/profile/3.3.5a-windows/symbol/gxdevice/func.sym b/profile/3.3.5a-windows/symbol/gxdevice/func.sym index e3e2ad2..6af7620 100644 --- a/profile/3.3.5a-windows/symbol/gxdevice/func.sym +++ b/profile/3.3.5a-windows/symbol/gxdevice/func.sym @@ -1,67 +1,69 @@ -CGxDevice__RsPush 00409670 f end=004096CC -CGxDevice__Caps 00532AF0 f end=00532AF7 ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const -CGxDevice__DeviceCreate_WindowProc_CGxFormat 00682CB0 f end=00682CCB -CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 -CGxDevice__DeviceApi 00682D20 f end=00682D27 -CGxDevice__IDevIsWindowed 00682D40 f end=00682D48 -CGxDevice__DeviceCurWindow 00682D70 f end=00682D76 +CGxDevice__RsPush 00409670 f end=004096CC type="void __thiscall func(CGxDevice* this)" +CGxDevice__Caps 00532AF0 f end=00532AF7 type="CGxCaps* __thiscall func(CGxDevice* this)" ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const +CGxDevice__DeviceCreate_WindowProc_CGxFormat 00682CB0 f end=00682CCB type="void __thiscall func(CGxDevice* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)" +CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 type="void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)" +CGxDevice__DeviceApi 00682D20 f end=00682D27 type="EGxApi __thiscall func(CGxDevice* this)" +CGxDevice__IDevIsWindowed 00682D40 f end=00682D48 type="int32_t __thiscall func(CGxDevice* this)" +CGxDevice__DeviceCurWindow 00682D70 f end=00682D76 type="CRect* __thiscall func(CGxDevice* this)" CGxDevice__CapsIsWindowVisible 00682DC0 f end=00682DE7 type="int32_t __thiscall func(CGxDevice* this, int32_t a2)" CGxDevice__CapsHasContext 00682E20 f end=00682E47 type="int32_t __thiscall func(CGxDevice* this, int32_t a2)" -CGxDevice__ScenePresent 00682E50 f end=00682E66 -CGxDevice__PrimCalcCount 00682F40 f end=00682F66 -CGxDevice__LightEnable 00683080 f end=006830A4 -CGxDevice__NeedsUpdate 006830B0 f end=006830F9 -CGxDevice__MasterEnable 00683100 f end=00683121 -CGxDevice__BufData 00683130 f end=00683142 -CGxDevice__BufLock 00683150 f end=00683171 -CGxDevice__BufUnlock 00683180 f end=006831A0 -CGxDevice__ShaderConstantsClear 006833A0 f end=006833DD -CGxDevice__ShaderConstantsSet 006833E0 f end=00683554 -CGxDevice__ShaderConstantsLock 00683560 f end=00683577 -CGxDevice__ShaderConstantsUnlock 00683580 f end=006835D6 -CGxDevice__ICursorDestroy 006835E0 f end=00683602 -CGxDevice__ICursorUpdate 00683610 f end=00683632 -CGxDevice__CursorSetVisible 00683640 f end=00683650 -CGxDevice__CursorLock 00683650 f end=00683657 -CGxDevice__CursorSetDepth 00683660 f end=00683670 -CGxDevice__DeviceSetFormat 006840F0 f end=0068416C -CGxDevice__DeviceSetGamma 00684190 f end=006841AF -CGxDevice__DeviceSetDefWindow 00684360 f end=006843B0 -CGxDevice__NotifyOnDeviceRestored 006843B0 f end=006843D9 -CGxDevice__NotifyOnTextureRecreation 006843E0 f end=00684409 -CGxDevice__NotifyOnDisplayChange 00684410 f end=00684439 -CGxDevice__ClipPlaneSet 00684440 f end=006844B9 -CGxDevice__LightSet 006847D0 f end=00684843 -CGxDevice__BufStream 00684850 f end=0068489F -CGxDevice__TexMarkForUpdate 006848A0 f end=000684900 -CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D -CGxDevice__IShaderLoad 00684970 f end=00684AC8 -CGxDevice__ICursorCreate 00684AD0 f end=00684B4A -CGxDevice__CursorUnlock 00684B50 f end=00684B99 -CGxDevice__Log 00684C20 f end=00684C3E -CGxDevice__Log_CGxCaps 00684C40 f end=00684D07 ; CGxDevice::Log(CGxCaps const&) const -CGxDevice__Log 00684D10 f end=00684D6C +CGxDevice__ScenePresent 00682E50 f end=00682E66 type="void __thiscall func(CGxDevice* this)" +CGxDevice__PrimCalcCount 00682F40 f end=00682F66 type="uint32_t __stdcall func(EGxPrim primType, uint32_t indexCount)" +CGxDevice__LightEnable 00683080 f end=006830A4 type="void __thiscall func(CGxDevice* this, uint32_t whichLight, int32_t enable)" +CGxDevice__NeedsUpdate 006830B0 f end=006830F9 type="int32_t __thiscall func(CGxDevice* this, uint32_t app, uint32_t hw, uint32_t appDisables, uint32_t hwDisables, uint32_t flagPos, int32_t* enable)" +CGxDevice__MasterEnable 00683100 f end=00683121 type="int32_t __thiscall func(CGxDevice* this, EGxMasterEnables state)" +CGxDevice__BufData 00683130 f end=00683142 type="int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, void *data, uint32_t size, uint32_t offset)" +CGxDevice__BufLock 00683150 f end=00683171 type="uint8_t* __thiscall func(CGxDevice* this, CGxBuf* buf)" +CGxDevice__BufUnlock 00683180 f end=006831A0 type="int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, uint32_t size)" +CGxDevice__ShaderConstantsClear 006833A0 f end=006833DD type="void __thiscall func(CGxDevice* this)" +CGxDevice__ShaderConstantsSet 006833E0 f end=00683554 type="void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, float* constants, uint32_t count)" +CGxDevice__ShaderConstantsLock 00683560 f end=00683577 type="uint8_t* __thiscall func(CGxDevice* this, EGxShTarget target)" +CGxDevice__ShaderConstantsUnlock 00683580 f end=006835D6 type="void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, uint32_t count)" +CGxDevice__ICursorDestroy 006835E0 f end=00683602 type="void __thiscall func(CGxDevice* this)" +CGxDevice__ICursorUpdate 00683610 f end=00683632 type="void __stdcall func(EGxTexCommand command, uint32_t width, uint32_t height, uint32_t face, uint32_t level, void* userArg, uint32_t* texelStrideInBytes, void** texels)" +CGxDevice__CursorSetVisible 00683640 f end=00683650 type="void __thiscall func(CGxDevice* this, int32_t visible)" +CGxDevice__CursorLock 00683650 f end=00683657 type="uint32_t* __thiscall func(CGxDevice* this)" +CGxDevice__CursorSetDepth 00683660 f end=00683670 type="void __thiscall func(CGxDevice* this, float depth)" +CGxDevice__DeviceSetFormat 006840F0 f end=0068416C type="int32_t __thiscall func(CGxDevice* this, CGxFormat* format)" +CGxDevice__DeviceSetGamma 00684190 f end=006841AF type="int32_t __thiscall func(CGxDevice* this, CGxGammaRamp* ramp)" +CGxDevice__DeviceSetDefWindow 00684360 f end=006843B0 type="void __thiscall func(CGxDevice* this, CRect* rect)" +CGxDevice__NotifyOnDeviceRestored 006843B0 f end=006843D9 type="void __thiscall func(CGxDevice* this)" +CGxDevice__NotifyOnTextureRecreation 006843E0 f end=00684409 type="void __thiscall func(CGxDevice* this)" +CGxDevice__NotifyOnDisplayChange 00684410 f end=00684439 type="void __thiscall func(CGxDevice* this)" +CGxDevice__ClipPlaneSet 00684440 f end=006844B9 type="void __thiscall func(CGxDevice* this, uint32_t a2, C4Plane* plane)" +CGxDevice__LightSet 006847D0 f end=00684843 type="void __thiscall func(CGxDevice* this, uint32_t a2, CGxLight* light, C3Vector* pos)" +CGxDevice__BufStream 00684850 f end=0068489F type="void __thiscall func(CGxDevice* this, EGxPoolTarget target, uint32_t itemSize, uint32_t itemCount)" +CGxDevice__TexMarkForUpdate 006848A0 f end=000684900 type="void __thiscall func(CGxDevice* this, CGxTex* texId, CiRect* updateRect, int32_t immediate)" +CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D type="void __thiscall func(CGxDevice* this, CGxTex* texId)" +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__CursorUnlock 00684B50 f end=00684B99 type="void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)" +CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)" +CGxDevice__Log_CGxCaps 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const +CGxDevice__Log_CGxFormat 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)" 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__AddTextureRecreationCallback 00685460 f end=00685476 type="void __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)" CGxDevice__RemoveTextureRecreationCallback 00685480 f end=0068550C type="int32_t __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)" CGxDevice__AddDisplayChangeCallback 00685510 f end=00685526 type="void __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)" CGxDevice__RemoveDisplayChangeCallback 00685530 f end=006855BC type="int32_t __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)" -CGxDevice__IRsDirty 00685970 f end=006859DB -CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 ; CGxDevice::IRsForceUpdate(EGxRenderState) -CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E ; CGxDevice::IRsForceUpdate() -CGxDevice__IRsSync 00685B50 f end=00685BFE -CGxDevice__TexCreate 00685C60 f end=00685CCB -CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 -CGxDevice__RsSet 00685F50 f end=00685FB0 -CGxDevice__RsPop 00685FB0 f end=00686116 -CGxDevice__BufCreate 00687660 f end=006876C9 -CGxDevice__PoolCreate 006876D0 f end=0068773F -CGxDevice__ICursorDraw 00687A90 f end=00687FCA -CGxDevice__PoolDestroy 00688340 f end=00688372 -CGxDevice__CGxDevice 00688690 f end=0068903F -CGxDevice__ShaderCreate 006897C0 f end=00689A49 -CGxDevice__NewD3d 00689EF0 f end=00689F14 -CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 -CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 -CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF \ No newline at end of file +CGxDevice__IRsDirty 00685970 f end=006859DB type="void __thiscall func(CGxDevice* this, EGxRenderState which)" +CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 type="void __thiscall func(CGxDevice* this, EGxRenderState which)" ; CGxDevice::IRsForceUpdate(EGxRenderState) +CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E type="void __thiscall func(CGxDevice* this)" ; CGxDevice::IRsForceUpdate() +CGxDevice__IRsSync 00685B50 f end=00685BFE type="void __thiscall func(CGxDevice* this, int32_t force)" +CGxDevice__TexCreate 00685C60 f end=00685CCB type="void __thiscall func(CGxDevice* this, EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t*, void**), char* name, CGxTex** texId)" +CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 type="void __thiscall func(CGxDevice* this, EGxMasterEnables state, int32_t enable)" +CGxDevice__RsSet_pointer_to_void 00685F50 f end=00685FB0 type="void __thiscall func(CGxDevice* this, EGxRenderState which, void* value)" +CGxDevice__RsPop 00685FB0 f end=00686116 type="void __thiscall func(CGxDevice* this)" +CGxDevice__BufCreate 00687660 f end=006876C9 type="CGxBuf* __thiscall func(CGxDevice* this, CGxPool* pool, uint32_t itemSize, uint32_t itemCount, uint32_t index)" +CGxDevice__PoolCreate 006876D0 f end=0068773F type="CGxPool* __thiscall func(CGxDevice* this, EGxPoolTarget target, EGxPoolUsage usage, uint32_t size, EGxPoolHintBits hint, char* name)" +CGxDevice__ICursorDraw 00687A90 f end=00687FCA type="void __thiscall func(CGxDevice* this)" +CGxDevice__PoolDestroy 00688340 f end=00688372 type="void __thiscall func(CGxDevice* this, CGxPool* pool)" +CGxDevice__CGxDevice 00688690 f end=0068903F type="void __thiscall func(CGxDevice* this)" +CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevice* this)" +CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice *this, uint8_t __flags)" +CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)" +CGxDevice__NewD3d 00689EF0 f end=00689F14 type="CGxDevice* __stdcall func()" +CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 type="CGxDevice* __stdcall func()" +CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 type="CGxDevice* __stdcall func()" +CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF type="void __thiscall func(CGxDevice* this, CGxTex* texId, uint32_t* width, uint32_t* height, uint32_t* baseMip, uint32_t* mipCount)" \ No newline at end of file diff --git a/profile/3.3.5a-windows/symbol/main.sym b/profile/3.3.5a-windows/symbol/main.sym index 2b2ea5a..f4b181e 100644 --- a/profile/3.3.5a-windows/symbol/main.sym +++ b/profile/3.3.5a-windows/symbol/main.sym @@ -16,7 +16,7 @@ GxXformProjNativeTranspose 00408110 f end=0040820F GxShaderConstantsSet 00408210 f end=0040823B GxRsSet_CGxShader 00408240 f end=00408258 GxRsSet_int32_t 00408BF0 f end=00408C27 -CGxDevice__RsPush 00409670 f end=004096CC +CGxDevice__RsPush 00409670 f end=004096CC type="void __thiscall func(CGxDevice* this)" purecall 0040BAA5 f end=0040BACF nullsub_1 0040D3B5 f SFile__FileIsLocal 004217C0 f end=004217DA @@ -619,7 +619,7 @@ Script_ResetTutorials 00530830 f end=00530838 Script_TriggerTutorial 005308D0 f end=0053091F Script_BNConnected 00530EC0 f end=00530F13 Script_IsBNLogin 00530F20 f end=00530F58 -CGxDevice__Caps 00532AF0 f end=00532AF7 ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const +CGxDevice__Caps 00532AF0 f end=00532AF7 type="CGxCaps* __thiscall func(CGxDevice* this)" ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const Script_BNGetInfo 005343F0 f end=00534581 Script_BNGetNumFriends 00534590 f end=005346EC Script_BNGetNumFriendToons 005349F0 f end=00534B5C @@ -2092,72 +2092,74 @@ GxDrawLockedElements 00682340 f end=0068239E GxPrimVertexPtr_FFP 00682400 f end=00682781 ; this is one of the functions named 'GxPrimVertexPtr' that uses the fixed-function pipeline GxPrimLockVertexPtrs 006828C0 f end=006828FE GxScenePresent 00682A00 f end=00682A33 -CGxDevice__DeviceCreate_WindowProc_CGxFormat 00682CB0 f end=00682CCB -CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 -CGxDevice__DeviceApi 00682D20 f end=00682D27 -CGxDevice__IDevIsWindowed 00682D40 f end=00682D48 -CGxDevice__DeviceCurWindow 00682D70 f end=00682D76 +CGxDevice__DeviceCreate_WindowProc_CGxFormat 00682CB0 f end=00682CCB type="void __thiscall func(CGxDevice* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)" +CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 type="void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)" +CGxDevice__DeviceApi 00682D20 f end=00682D27 type="EGxApi __thiscall func(CGxDevice* this)" +CGxDevice__IDevIsWindowed 00682D40 f end=00682D48 type="int32_t __thiscall func(CGxDevice* this)" +CGxDevice__DeviceCurWindow 00682D70 f end=00682D76 type="CRect* __thiscall func(CGxDevice* this)" CGxDevice__CapsIsWindowVisible 00682DC0 f end=00682DE7 type="int32_t __thiscall func(CGxDevice* this, int32_t a2)" CGxDevice__CapsHasContext 00682E20 f end=00682E47 type="int32_t __thiscall func(CGxDevice* this, int32_t a2)" -CGxDevice__ScenePresent 00682E50 f end=00682E66 -CGxDevice__PrimCalcCount 00682F40 f end=00682F66 -CGxDevice__LightEnable 00683080 f end=006830A4 -CGxDevice__NeedsUpdate 006830B0 f end=006830F9 -CGxDevice__MasterEnable 00683100 f end=00683121 -CGxDevice__BufData 00683130 f end=00683142 -CGxDevice__BufLock 00683150 f end=00683171 -CGxDevice__BufUnlock 00683180 f end=006831A0 -CGxDevice__ShaderConstantsClear 006833A0 f end=006833DD -CGxDevice__ShaderConstantsSet 006833E0 f end=00683554 -CGxDevice__ShaderConstantsLock 00683560 f end=00683577 -CGxDevice__ShaderConstantsUnlock 00683580 f end=006835D6 -CGxDevice__ICursorDestroy 006835E0 f end=00683602 -CGxDevice__ICursorUpdate 00683610 f end=00683632 -CGxDevice__CursorSetVisible 00683640 f end=00683650 -CGxDevice__CursorLock 00683650 f end=00683657 -CGxDevice__CursorSetDepth 00683660 f end=00683670 -CGxDevice__DeviceSetFormat 006840F0 f end=0068416C -CGxDevice__DeviceSetGamma 00684190 f end=006841AF -CGxDevice__DeviceSetDefWindow 00684360 f end=006843B0 -CGxDevice__NotifyOnDeviceRestored 006843B0 f end=006843D9 -CGxDevice__NotifyOnTextureRecreation 006843E0 f end=00684409 -CGxDevice__NotifyOnDisplayChange 00684410 f end=00684439 -CGxDevice__ClipPlaneSet 00684440 f end=006844B9 -CGxDevice__LightSet 006847D0 f end=00684843 -CGxDevice__BufStream 00684850 f end=0068489F -CGxDevice__TexMarkForUpdate 006848A0 f end=000684900 -CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D -CGxDevice__IShaderLoad 00684970 f end=00684AC8 -CGxDevice__ICursorCreate 00684AD0 f end=00684B4A -CGxDevice__CursorUnlock 00684B50 f end=00684B99 -CGxDevice__Log 00684C20 f end=00684C3E -CGxDevice__Log_CGxCaps 00684C40 f end=00684D07 ; CGxDevice::Log(CGxCaps const&) const -CGxDevice__Log 00684D10 f end=00684D6C +CGxDevice__ScenePresent 00682E50 f end=00682E66 type="void __thiscall func(CGxDevice* this)" +CGxDevice__PrimCalcCount 00682F40 f end=00682F66 type="uint32_t __stdcall func(EGxPrim primType, uint32_t indexCount)" +CGxDevice__LightEnable 00683080 f end=006830A4 type="void __thiscall func(CGxDevice* this, uint32_t whichLight, int32_t enable)" +CGxDevice__NeedsUpdate 006830B0 f end=006830F9 type="int32_t __thiscall func(CGxDevice* this, uint32_t app, uint32_t hw, uint32_t appDisables, uint32_t hwDisables, uint32_t flagPos, int32_t* enable)" +CGxDevice__MasterEnable 00683100 f end=00683121 type="int32_t __thiscall func(CGxDevice* this, EGxMasterEnables state)" +CGxDevice__BufData 00683130 f end=00683142 type="int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, void *data, uint32_t size, uint32_t offset)" +CGxDevice__BufLock 00683150 f end=00683171 type="uint8_t* __thiscall func(CGxDevice* this, CGxBuf* buf)" +CGxDevice__BufUnlock 00683180 f end=006831A0 type="int32_t __thiscall func(CGxDevice* this, CGxBuf* buf, uint32_t size)" +CGxDevice__ShaderConstantsClear 006833A0 f end=006833DD type="void __thiscall func(CGxDevice* this)" +CGxDevice__ShaderConstantsSet 006833E0 f end=00683554 type="void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, float* constants, uint32_t count)" +CGxDevice__ShaderConstantsLock 00683560 f end=00683577 type="uint8_t* __thiscall func(CGxDevice* this, EGxShTarget target)" +CGxDevice__ShaderConstantsUnlock 00683580 f end=006835D6 type="void __thiscall func(CGxDevice* this, EGxShTarget target, uint32_t index, uint32_t count)" +CGxDevice__ICursorDestroy 006835E0 f end=00683602 type="void __thiscall func(CGxDevice* this)" +CGxDevice__ICursorUpdate 00683610 f end=00683632 type="void __stdcall func(EGxTexCommand command, uint32_t width, uint32_t height, uint32_t face, uint32_t level, void* userArg, uint32_t* texelStrideInBytes, void** texels)" +CGxDevice__CursorSetVisible 00683640 f end=00683650 type="void __thiscall func(CGxDevice* this, int32_t visible)" +CGxDevice__CursorLock 00683650 f end=00683657 type="uint32_t* __thiscall func(CGxDevice* this)" +CGxDevice__CursorSetDepth 00683660 f end=00683670 type="void __thiscall func(CGxDevice* this, float depth)" +CGxDevice__DeviceSetFormat 006840F0 f end=0068416C type="int32_t __thiscall func(CGxDevice* this, CGxFormat* format)" +CGxDevice__DeviceSetGamma 00684190 f end=006841AF type="int32_t __thiscall func(CGxDevice* this, CGxGammaRamp* ramp)" +CGxDevice__DeviceSetDefWindow 00684360 f end=006843B0 type="void __thiscall func(CGxDevice* this, CRect* rect)" +CGxDevice__NotifyOnDeviceRestored 006843B0 f end=006843D9 type="void __thiscall func(CGxDevice* this)" +CGxDevice__NotifyOnTextureRecreation 006843E0 f end=00684409 type="void __thiscall func(CGxDevice* this)" +CGxDevice__NotifyOnDisplayChange 00684410 f end=00684439 type="void __thiscall func(CGxDevice* this)" +CGxDevice__ClipPlaneSet 00684440 f end=006844B9 type="void __thiscall func(CGxDevice* this, uint32_t a2, C4Plane* plane)" +CGxDevice__LightSet 006847D0 f end=00684843 type="void __thiscall func(CGxDevice* this, uint32_t a2, CGxLight* light, C3Vector* pos)" +CGxDevice__BufStream 00684850 f end=0068489F type="void __thiscall func(CGxDevice* this, EGxPoolTarget target, uint32_t itemSize, uint32_t itemCount)" +CGxDevice__TexMarkForUpdate 006848A0 f end=000684900 type="void __thiscall func(CGxDevice* this, CGxTex* texId, CiRect* updateRect, int32_t immediate)" +CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D type="void __thiscall func(CGxDevice* this, CGxTex* texId)" +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__CursorUnlock 00684B50 f end=00684B99 type="void __thiscall func(CGxDevice* this, uint32_t x, uint32_t y)" +CGxDevice__Log 00684C20 f end=00684C3E type="void __stdcall func(char* format, ...)" +CGxDevice__Log_CGxCaps 00684C40 f end=00684D07 type="void __stdcall func(CGxCaps* caps)" ; CGxDevice::Log(CGxCaps const&) const +CGxDevice__Log_CGxFormat 00684D10 f end=00684D6C type="void __stdcall func(CGxFormat* format)" 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__AddTextureRecreationCallback 00685460 f end=00685476 type="void __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)" CGxDevice__RemoveTextureRecreationCallback 00685480 f end=0068550C type="int32_t __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)" CGxDevice__AddDisplayChangeCallback 00685510 f end=00685526 type="void __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)" CGxDevice__RemoveDisplayChangeCallback 00685530 f end=006855BC type="int32_t __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)" -CGxDevice__IRsDirty 00685970 f end=006859DB -CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 ; CGxDevice::IRsForceUpdate(EGxRenderState) -CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E ; CGxDevice::IRsForceUpdate() -CGxDevice__IRsSync 00685B50 f end=00685BFE -CGxDevice__TexCreate 00685C60 f end=00685CCB -CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 -CGxDevice__RsSet 00685F50 f end=00685FB0 -CGxDevice__RsPop 00685FB0 f end=00686116 -CGxDevice__BufCreate 00687660 f end=006876C9 -CGxDevice__PoolCreate 006876D0 f end=0068773F -CGxDevice__ICursorDraw 00687A90 f end=00687FCA -CGxDevice__PoolDestroy 00688340 f end=00688372 -CGxDevice__CGxDevice 00688690 f end=0068903F -CGxDevice__ShaderCreate 006897C0 f end=00689A49 +CGxDevice__IRsDirty 00685970 f end=006859DB type="void __thiscall func(CGxDevice* this, EGxRenderState which)" +CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 type="void __thiscall func(CGxDevice* this, EGxRenderState which)" ; CGxDevice::IRsForceUpdate(EGxRenderState) +CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E type="void __thiscall func(CGxDevice* this)" ; CGxDevice::IRsForceUpdate() +CGxDevice__IRsSync 00685B50 f end=00685BFE type="void __thiscall func(CGxDevice* this, int32_t force)" +CGxDevice__TexCreate 00685C60 f end=00685CCB type="void __thiscall func(CGxDevice* this, EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t*, void**), char* name, CGxTex** texId)" +CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 type="void __thiscall func(CGxDevice* this, EGxMasterEnables state, int32_t enable)" +CGxDevice__RsSet_pointer_to_void 00685F50 f end=00685FB0 type="void __thiscall func(CGxDevice* this, EGxRenderState which, void* value)" +CGxDevice__RsPop 00685FB0 f end=00686116 type="void __thiscall func(CGxDevice* this)" +CGxDevice__BufCreate 00687660 f end=006876C9 type="CGxBuf* __thiscall func(CGxDevice* this, CGxPool* pool, uint32_t itemSize, uint32_t itemCount, uint32_t index)" +CGxDevice__PoolCreate 006876D0 f end=0068773F type="CGxPool* __thiscall func(CGxDevice* this, EGxPoolTarget target, EGxPoolUsage usage, uint32_t size, EGxPoolHintBits hint, char* name)" +CGxDevice__ICursorDraw 00687A90 f end=00687FCA type="void __thiscall func(CGxDevice* this)" +CGxDevice__PoolDestroy 00688340 f end=00688372 type="void __thiscall func(CGxDevice* this, CGxPool* pool)" +CGxDevice__CGxDevice 00688690 f end=0068903F type="void __thiscall func(CGxDevice* this)" +CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevice* this)" +CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice *this, uint8_t __flags)" +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 +CGxDevice__NewD3d 00689EF0 f end=00689F14 type="CGxDevice* __stdcall func()" CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 -CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 -CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 +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 CGxDeviceD3d__ISetPresentParms 0068E250 f end=0068E448 CGxDeviceD3d__PoolDestroy 0068E720 f end=0068E742 @@ -2209,7 +2211,7 @@ CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25 CGxDeviceD3d__IXformSetWorld 006A5A30 f end=006A5A92 type="void __thiscall func(CGxDeviceD3d* this)" CGxDeviceD3d__IBindPixelShader 006A5C70 f end=006A5D48 CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36 -CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF +CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF type="void __thiscall func(CGxDevice* this, CGxTex* texId, uint32_t* width, uint32_t* height, uint32_t* baseMip, uint32_t* mipCount)" CGxDeviceD3d__SceneClear 006A74B0 f end=006A7538 CGxDeviceD3d__CapsWindowSizeInScreenCoords 006A9920 f end=006A99D4 CGxDeviceD3d__XformSetProjection 006A9B40 f end=006A9D88 diff --git a/profile/3.3.5a-windows/x32dbg/game.dd32 b/profile/3.3.5a-windows/x32dbg/game.dd32 index 7847678..0b56f09 100644 --- a/profile/3.3.5a-windows/x32dbg/game.dd32 +++ b/profile/3.3.5a-windows/x32dbg/game.dd32 @@ -17232,6 +17232,22 @@ "icount": "0x0", "parent": "0x288690" }, + { + "manual": true, + "start": "0x2890c0", + "end": "0x28945f", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2890c0" + }, + { + "manual": true, + "start": "0x289690", + "end": "0x2896ba", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x289690" + }, { "manual": true, "start": "0x2897c0", @@ -34121,7 +34137,7 @@ { "manual": true, "module": "wow.exe", - "text": "CGxDevice__Log", + "text": "CGxDevice__Log_CGxFormat", "address": "0x284d10" }, { @@ -34199,7 +34215,7 @@ { "manual": true, "module": "wow.exe", - "text": "CGxDevice__RsSet", + "text": "CGxDevice__RsSet_pointer_to_void", "address": "0x285f50" }, { @@ -34238,6 +34254,18 @@ "text": "CGxDevice__CGxDevice", "address": "0x288690" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDevice__destructor", + "address": "0x2890c0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDevice__scalar_deleting_destructor", + "address": "0x289690" + }, { "manual": true, "module": "wow.exe", diff --git a/profile/3.3.5a-windows/x32dbg/types.json b/profile/3.3.5a-windows/x32dbg/types.json index b56bc97..01ddfc7 100644 --- a/profile/3.3.5a-windows/x32dbg/types.json +++ b/profile/3.3.5a-windows/x32dbg/types.json @@ -878,7 +878,7 @@ }, { "type": "void*", - "name": "v_fn_8_destructor", + "name": "v_fn_8_scalar_deleting_destructor", "offset": 32 }, { @@ -5536,7 +5536,7 @@ }, { "name": "CAsyncObject", - "size": 40, + "size": 48, "members": [ { "type": "void*", @@ -5622,7 +5622,7 @@ }, { "name": "TSLinkedNode_CAsyncObject", - "size": 0, + "size": 8, "members": [ { "type": "TSLink_CAsyncObject", @@ -6162,7 +6162,7 @@ }, { "name": "TSList_CAsyncObject", - "size": 4, + "size": 12, "members": [ { "type": "ptrdiff_t",