From 063790577d8eb3a2db9fcb9a304cb3ca896e0364 Mon Sep 17 00:00:00 2001 From: superp00t Date: Thu, 1 Aug 2024 01:21:17 -0400 Subject: [PATCH] chore(profile): update 3.3.5a --- 3.3.5a/include/gx/device.h | 8 +- 3.3.5a/include/gx/shader.h | 59 +- 3.3.5a/symbol/gx/func.sym | 10 +- 3.3.5a/symbol/gxdevice/func.sym | 3 +- 3.3.5a/symbol/gxdevice/label.sym | 8 +- 3.3.5a/symbol/gxdeviced3d/func.sym | 45 +- 3.3.5a/symbol/gxshader/func.sym | 1 + 3.3.5a/symbol/main.sym | 56 +- 3.3.5a/symbol/tempest/func.sym | 23 +- 3.3.5a/x32dbg/game.dd32 | 554 ++++- 3.3.5a/x32dbg/types.json | 3720 +++++++++++++++------------- 11 files changed, 2615 insertions(+), 1872 deletions(-) create mode 100644 3.3.5a/symbol/gxshader/func.sym diff --git a/3.3.5a/include/gx/device.h b/3.3.5a/include/gx/device.h index e88a55a..2183ae0 100644 --- a/3.3.5a/include/gx/device.h +++ b/3.3.5a/include/gx/device.h @@ -154,7 +154,8 @@ struct CGxDevice__vtable { // void ShaderConstantsSet(EGxShTarget, uint32_t, const float*, uint32_t); void* v_fn_70_ShaderConstantsSet; void* v_fn_71; - void* v_fn_72; + // void IShaderCreate(CGxShader*); + void* v_fn_72_IShaderCreate; // void CursorSetVisible(int32_t); void* v_fn_73_CursorSetVisible; // void* CursorLock(); @@ -179,7 +180,7 @@ struct CGxDevice { TSGrowableArray_CGxPushedRenderState m_pushedStates; // 0x4 (size: 0x14) TSGrowableArray_uint32_t m_stackOffsets; // 0x18 (size: 0x14) TSGrowableArray_EGxRenderState m_dirtyStates; // 0x2C (size: 0x14) - uint32_t m_unk40[76]; + uint32_t m_unk34[76]; CRect m_defWindowRect; // 0x164 (size: 0x10) CRect m_curWindowRect; // 0x174 (size: 0x10) uint32_t m_unk184[12]; @@ -246,7 +247,8 @@ struct CGxDevice { uint32_t m_cursorHotspotY; CImVector m_cursor[1024]; // 0x2960 (size 0x4) CGxTex* m_cursorTexture; // 0x3960 (size 0x4) - // 0x3964 == 14688 (the complete size of CGxDevice) + float m_cursorDepth; // 0x3964 (size 0x4) + // 0x3968 == 14692 (the complete size of CGxDevice) }; #endif \ No newline at end of file diff --git a/3.3.5a/include/gx/shader.h b/3.3.5a/include/gx/shader.h index bc0c009..8f58f89 100644 --- a/3.3.5a/include/gx/shader.h +++ b/3.3.5a/include/gx/shader.h @@ -1,29 +1,30 @@ -#ifndef GX_SHADER_H -#define GX_SHADER_H - -#include "storm/hash.h" -#include "storm/array/uint8_t.h" - -typedef struct CGxShader CGxShader; - -STORM_TS_HASH(CGxShader, HASHKEY_STRI); - -// class CGxShader : public TSHashObject -struct CGxShader { - TSHashObject_CGxShader_HASHKEY_STRI b_base; - uint32_t refCount; - void* apiSpecific; - int32_t target; - int32_t int28; - int32_t valid; - int32_t loaded; - int32_t int34; - int32_t patched; - int32_t int3C; - int32_t int40; - int16_t int44; - int16_t int46; - TSGrowableArray_uint8_t code; -}; - -#endif \ No newline at end of file +#ifndef GX_SHADER_H +#define GX_SHADER_H + +#include "storm/hash.h" +#include "storm/array/uint8_t.h" + +typedef struct CGxShader CGxShader; + +STORM_TS_HASH(CGxShader, HASHKEY_STRI); + +// class CGxShader : public TSHashObject +struct CGxShader { + TSHashObject_CGxShader_HASHKEY_STRI b_base; + uint32_t refCount; + void* apiSpecific; + int32_t target; + int32_t int28; + int32_t valid; + int32_t loaded; + int32_t int34; + int32_t patched; + int32_t int3C; + int32_t int40; + int16_t int44; + int16_t int46; + TSGrowableArray_uint8_t code; +}; + +#endif + diff --git a/3.3.5a/symbol/gx/func.sym b/3.3.5a/symbol/gx/func.sym index 42b1860..22d0f5a 100644 --- a/3.3.5a/symbol/gx/func.sym +++ b/3.3.5a/symbol/gx/func.sym @@ -5,8 +5,16 @@ OnPaint 004A8720 f end=004A8B58 GxCapsWindowSizeInScreenCoords 00493BF0 f end=00493C09 GxTexCreate 00681CB0 f end=00681D87 GxTexUpdate 006813D0 f end=006813EC +GxXformProjection 004BEC70 f end=004BEC88 GxXformSetProjection 00408030 f end=00408049 GxXformViewport 00408070 f end=004080D9 +GxXformProjNativeTranspose 00408110 f end=0040820F +GxXformPush_EGxXform_C44Matrix 00616AD0 f end=00616AE8 +GxXformPop 0057C420 f end=0057C44A GxRsSet_int32_t 00408BF0 f end=00408C27 GxRsSet_CGxShader 00408240 f end=00408258 -GxDraw 00482A40 f end=00482A5D \ No newline at end of file +GxDraw 00482A40 f end=00482A5D +GxShaderConstantsSet 00408210 f end=0040823B +GxBufLock 004829D0 f end=004829E9 +GxBufUnlock 004829F0 f end=00482A13 +GxBufStream 00482A20 f end=00482A3C \ No newline at end of file diff --git a/3.3.5a/symbol/gxdevice/func.sym b/3.3.5a/symbol/gxdevice/func.sym index ca8eb9c..a915a5b 100644 --- a/3.3.5a/symbol/gxdevice/func.sym +++ b/3.3.5a/symbol/gxdevice/func.sym @@ -53,4 +53,5 @@ CGxDevice__ShaderCreate 006897C0 f end=00689A49 CGxDevice__ShaderConstantsSet 006833E0 f end=00683554 CGxDevice__CursorSetVisible 00683640 f end=00683650 CGxDevice__CursorLock 00683650 f end=00683657 -CGxDevice__CursorUnlock 00684B50 f end=00684B99 \ No newline at end of file +CGxDevice__CursorSetDepth 00683660 f end=00683670 +CGxDevice__CursorUnlock 00684B50 f end=00684B99 diff --git a/3.3.5a/symbol/gxdevice/label.sym b/3.3.5a/symbol/gxdevice/label.sym index 08b1b53..24b8ab1 100644 --- a/3.3.5a/symbol/gxdevice/label.sym +++ b/3.3.5a/symbol/gxdevice/label.sym @@ -1,3 +1,5 @@ -g_theGxDevicePtr 00c5df88 l -CGxDevice__vtable 00a2ddc0 l -CGxDevice__s_shadowConstants 00c5dfe0 l \ No newline at end of file +g_theGxDevicePtr 00C5DF88 l +CGxDevice__vtable 00A2DDC0 l +CGxDevice__s_shadowConstants 00C5DFE0 l +CGxDevice__s_uiVertexShader 00C5DFDC l +CGxDevice__s_uiPixelShader 00C5FFFC l \ No newline at end of file diff --git a/3.3.5a/symbol/gxdeviced3d/func.sym b/3.3.5a/symbol/gxdeviced3d/func.sym index 189882c..13565cd 100644 --- a/3.3.5a/symbol/gxdeviced3d/func.sym +++ b/3.3.5a/symbol/gxdeviced3d/func.sym @@ -1,24 +1,29 @@ -CGxDeviceD3d__CGxDeviceD3d 0068FD50 f end=0068FE80 -CGxDeviceD3d__ITexMarkAsUpdated 006A3070 f end=006A30CF -CGxDeviceD3d__IRsSendToHw 006A4C30 f end=006A5499 -CGxDeviceD3d__ICursorCreate 0068E900 f end=0068E975 -CGxDeviceD3d__ICursorDestroy 006A00C0 f end=006A0102 -CGxDeviceD3d__ICursorDraw 0068E810 f end=0068E8F2 -CGxDeviceD3d__DeviceCreate_WindowProc_CGxFormat 00690750 f end=00690821 -CGxDeviceD3d__DeviceSetFormat 006904D0 f end=006905E8 -CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25 -CGxDeviceD3d__ScenePresent 006A3450 f end=006A3611 -CGxDeviceD3d__XformSetProjection 006A9B40 f end=006A9D88 CGxDeviceD3d__PoolDestroy 0068E720 f end=0068E742 -CGxDeviceD3d__BufLock 0068FCE0 f end=0068FCFE -CGxDeviceD3d__BufUnlock 0068FAE0 f end=0068FB07 -CGxDeviceD3d__BufData 0068FD00 f end=0068FD49 -CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A +CGxDeviceD3d__ICursorDraw 0068E810 f end=0068E8F2 +CGxDeviceD3d__ICursorCreate 0068E900 f end=0068E975 CGxDeviceD3d__ICreateWindow 0068EBB0 f end=0068ED78 CGxDeviceD3d__ISetCaps 0068EE20 f end=0068F36D CGxDeviceD3d__ICreateD3dDevice 0068F3D0 f end=0068F692 -CGxDeviceD3d__ISceneBegin 006A3350 f -CGxDeviceD3d__ScenePresent 006A3450 f -CGxDeviceD3d__Draw 006A3620 f -CGxDeviceD3d__IStateSyncEnables 006A3810 f -CGxDeviceD3d__ISetVertexBuffer 006A39E0 f \ No newline at end of file +CGxDeviceD3d__BufUnlock 0068FAE0 f end=0068FB07 +CGxDeviceD3d__BufLock 0068FCE0 f end=0068FCFE +CGxDeviceD3d__BufData 0068FD00 f end=0068FD49 +CGxDeviceD3d__CGxDeviceD3d 0068FD50 f end=0068FE80 +CGxDeviceD3d__DeviceSetFormat 006904D0 f end=006905E8 +CGxDeviceD3d__DeviceCreate_WindowProc_CGxFormat 00690750 f end=00690821 +CGxDeviceD3d__ICursorDestroy 006A00C0 f end=006A0102 +CGxDeviceD3d__ITexMarkAsUpdated 006A3070 f end=006A30CF +CGxDeviceD3d__ISceneBegin 006A3350 f end=006A3417 +CGxDeviceD3d__ScenePresent 006A3450 f end=006A3611 +CGxDeviceD3d__Draw 006A3620 f end=006A3716 +CGxDeviceD3d__IStateSyncEnables 006A3810 f end=006A386E +CGxDeviceD3d__ISetVertexBuffer 006A39E0 f end=006A3A59 +CGxDeviceD3d__IRsSendToHw 006A4C30 f end=006A5499 +CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25 +CGxDeviceD3d__XformSetProjection 006A9B40 f end=006A9D88 +CGxDeviceD3d__XformSetView 006A9E00 f end=006A9E09 +CGxDeviceD3d__IShaderConstantsFlush 006A9FE0 f end=006AA06D +CGxDeviceD3d__IShaderCreatePixel 006AA070 f end=006AA0C5 +CGxDeviceD3d__IShaderCreateVertex 006AA0D0 f end=006AA125 +CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A +CGxDeviceD3d__IBindVertexShader 006AA2F0 f end=006AA346 +CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36 \ No newline at end of file diff --git a/3.3.5a/symbol/gxshader/func.sym b/3.3.5a/symbol/gxshader/func.sym new file mode 100644 index 0000000..1df389c --- /dev/null +++ b/3.3.5a/symbol/gxshader/func.sym @@ -0,0 +1 @@ +CGxShader__Valid 00689A50 f end=00689A6F \ No newline at end of file diff --git a/3.3.5a/symbol/main.sym b/3.3.5a/symbol/main.sym index 67ef6b6..c442611 100644 --- a/3.3.5a/symbol/main.sym +++ b/3.3.5a/symbol/main.sym @@ -9,9 +9,11 @@ InitializeGlobal 004067F0 f end=00406B67 DestroyGlobal 00406B70 f end=00406C65 CommonMain 00406C70 f end=00406D64 C44Matrix__C44Matrix 00407F40 f end=00407F76 -C44Matrix__operator_equals_C44Matrix 00407F80 f end=00407FEA +C44Matrix__operator_assign_C44Matrix 00407F80 f end=00407FEA GxXformSetProjection 00408030 f end=00408049 GxXformViewport 00408070 f end=004080D9 +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 @@ -110,6 +112,9 @@ IEvtTimerGetNextTime 00480F70 f end=00480FCA IEvtTimerDispatch 00481100 f end=00481289 IEvtTimerKill 00481290 f end=0048138F IEvtTimerSet 00481390 f end=004814E4 +GxBufLock 004829D0 f end=004829E9 +GxBufUnlock 004829F0 f end=00482A13 +GxBufStream 00482A20 f end=00482A3C GxDraw 00482A40 f end=00482A5D GxCapsWindowSizeInScreenCoords 00493BF0 f end=00493C09 ScrnLayerSetRect 004A8500 f end=004A8522 @@ -121,11 +126,33 @@ TextBlockCreate 004BDAA0 f end=004BDBE4 TextBlockSetStringPos 004BDBF0 f end=004BDC4C TextBlockGetWrappedTextHeight 004BDD80 f TextBlockGenerateFont 004BE9C0 f end=004BEB8C +GxXformProjection 004BEC70 f end=004BEC88 CCamera__SetupWorldProjection 004BECF0 f end=004BEE5E CameraSetupScreenProjection 004BEE60 f end=004BF0B9 CameraSetupWorldProjection 004BF0C0 f end=004BF0E2 CCamera__CCamera 004BF770 f end=004BFA4E CameraCreate 004BFCA0 f end=004BFCD4 +CRndSeed__SetSeed 004C1510 f +C44Matrix__Determinant 004C1930 f +C44Matrix__Translate 004C1B30 f +C44Matrix__Scale_C3Vector 004C1B90 f +C44Matrix__Scale_float 004C1BF0 f +C44Matrix__C44Matrix_C4Quaternion 004C1DE0 f +operator_multiply_C44Matrix_C44Matrix 004C1F00 f +operator_multiply_C3Vector_C44Matrix 004C21B0 f +C44Matrix__operator_assignment_multiply 004C2370 f +C44Matrix__Transpose 004C23D0 f +C44Matrix__Inverse 004C2F90 f +C44Matrix__AffineInverse 004C2FC0 f +C44Matrix__AffineInvertInPlace 004C30A0 f +C44Matrix__RotationAroundZ 004C3290 f +C44Matrix__RotateAroundX 004C3300 f +C44Matrix__RotateAroundY 004C3340 f +C44Matrix__RotateAroundZ 004C3380 f +C44Matrix__Rotate 004C33C0 f +C3Vector__Normalize_1 004C3420 f +C3Vector__Normalize_2 004C3600 f +C33Matrix__operator_assign_C33Matrix 004C51B0 f Script_GetLocale 004DBFD0 f end=004DBFF3 ; thanks namreeb :^) Script_IsWindowsClient 004DCE40 f end=004DCE5E Script_RestartGx 004DD400 f end=004DD412 @@ -993,6 +1020,7 @@ Script_CloseBankFrame 0057B9C0 f end=0057B9E0 Script_GetNumBankSlots 0057BAB0 f end=0057BB30 Script_GetBankSlotCost 0057BB30 f end=0057BBB3 Script_PurchaseSlot 0057BBC0 f end=0057BC8A +GxXformPop 0057C420 f end=0057C44A Script_GetNumTrackingTypes 0057F170 f end=0057F1AE Script_GetTrackingInfo 0057F1B0 f end=0057F37A Script_SetTracking 0057F380 f end=0057F4F0 @@ -2003,6 +2031,7 @@ Script_UnitDebuff 00614CF0 f end=00614D3F Script_UnitAura 00614D40 f end=00614D83 Script_GetVehicleUIIndicator 00614E60 f end=00614EEE Script_GetVehicleUIIndicatorSeat 00614EF0 f end=00614FC6 +GxXformPush_EGxXform_C44Matrix 00616AD0 f end=00616AE8 nullsub_4 00632050 f nullsub_5 00653A10 f GxDevCreate 00681290 f end=00681301 @@ -2036,6 +2065,7 @@ 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 @@ -2065,6 +2095,7 @@ CGxDevice__ICursorDraw 00687A90 f end=00687FCA CGxDevice__PoolDestroy 00688340 f end=00688372 CGxDevice__CGxDevice 00688690 f end=0068903F CGxDevice__ShaderCreate 006897C0 f end=00689A49 +CGxShader__Valid 00689A50 f end=00689A6F CGxDevice__NewD3d 00689EF0 f end=00689F14 CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 @@ -2084,17 +2115,22 @@ CGxDeviceD3d__DeviceCreate_WindowProc_CGxFormat 00690750 f end=00690821 CGxDeviceD3d__ICursorDestroy 006A00C0 f end=006A0102 CGxDeviceD3d9Ex__CGxDeviceD3d9Ex 006A1A90 f end=006A1C24 CGxDeviceD3d__ITexMarkAsUpdated 006A3070 f end=006A30CF -CGxDeviceD3d__ISceneBegin 006A3350 f -CGxDeviceD3d__ScenePresent 006A3450 f +CGxDeviceD3d__ISceneBegin 006A3350 f end=006A3417 CGxDeviceD3d__ScenePresent 006A3450 f end=006A3611 -CGxDeviceD3d__Draw 006A3620 f -CGxDeviceD3d__IStateSyncEnables 006A3810 f -CGxDeviceD3d__ISetVertexBuffer 006A39E0 f +CGxDeviceD3d__Draw 006A3620 f end=006A3716 +CGxDeviceD3d__IStateSyncEnables 006A3810 f end=006A386E +CGxDeviceD3d__ISetVertexBuffer 006A39E0 f end=006A3A59 CGxDeviceD3d__IRsSendToHw 006A4C30 f end=006A5499 CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25 +CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36 CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF CGxDeviceD3d__XformSetProjection 006A9B40 f end=006A9D88 +CGxDeviceD3d__XformSetView 006A9E00 f end=006A9E09 +CGxDeviceD3d__IShaderConstantsFlush 006A9FE0 f end=006AA06D +CGxDeviceD3d__IShaderCreatePixel 006AA070 f end=006AA0C5 +CGxDeviceD3d__IShaderCreateVertex 006AA0D0 f end=006AA125 CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A +CGxDeviceD3d__IBindVertexShader 006AA2F0 f end=006AA346 nullsub_154 006B0960 f nullsub_151 006B1B80 f nullsub_6 006B1B90 f @@ -2471,8 +2507,12 @@ nullsub_147 009DE1A0 f nullsub_148 009DE1B0 f nullsub_149 009DE1C0 f nullsub_150 009DE1D0 f +CGxDevice__vtable 00A2DDC0 l CGxDeviceOpenGl__vtable 00A2E198 l -CGxDevice__vtable 00a2ddc0 l +g_theGxDevicePtr 00C5DF88 l +CGxDevice__s_uiVertexShader 00C5DFDC l +CGxDevice__s_shadowConstants 00C5DFE0 l +CGxDevice__s_uiPixelShader 00C5FFFC l CGxDeviceD3d__vtable 00a2e718 l CGxDeviceD3d9Ex__vtable 00a2f500 l s_rect 00adbab4 l ; RECTF @@ -2482,8 +2522,6 @@ s_fontHeight 00adbacc l ; float s_hRect 00adbad4 l ; RECTF s_baseTextFlags 00adbae4 l ; uint32 s_mainThread 00b417c8 l -g_theGxDevicePtr 00c5df88 l -CGxDevice__s_shadowConstants 00c5dfe0 l s_caretpixheight 00ca1690 l s_caret 00ca1694 l ; int32 s_caretpixwidth 00ca1718 l diff --git a/3.3.5a/symbol/tempest/func.sym b/3.3.5a/symbol/tempest/func.sym index b7df499..145938d 100644 --- a/3.3.5a/symbol/tempest/func.sym +++ b/3.3.5a/symbol/tempest/func.sym @@ -1,2 +1,23 @@ +CRndSeed__SetSeed 004C1510 f C44Matrix__C44Matrix 00407F40 f end=00407F76 -C44Matrix__operator_equals_C44Matrix 00407F80 f end=00407FEA +C44Matrix__operator_assign_C44Matrix 00407F80 f end=00407FEA +C44Matrix__Determinant 004C1930 f +C44Matrix__Translate 004C1B30 f +C44Matrix__Scale_C3Vector 004C1B90 f +C44Matrix__Scale_float 004C1BF0 f +C44Matrix__C44Matrix_C4Quaternion 004C1DE0 f +operator_multiply_C44Matrix_C44Matrix 004C1F00 f +operator_multiply_C3Vector_C44Matrix 004C21B0 f +C44Matrix__operator_assignment_multiply 004C2370 f +C44Matrix__Transpose 004C23D0 f +C44Matrix__Inverse 004C2F90 f +C44Matrix__AffineInverse 004C2FC0 f +C44Matrix__AffineInvertInPlace 004C30A0 f +C44Matrix__RotationAroundZ 004C3290 f +C44Matrix__RotateAroundX 004C3300 f +C44Matrix__RotateAroundY 004C3340 f +C44Matrix__RotateAroundZ 004C3380 f +C44Matrix__Rotate 004C33C0 f +C3Vector__Normalize_1 004C3420 f +C3Vector__Normalize_2 004C3600 f +C33Matrix__operator_assign_C33Matrix 004C51B0 f \ No newline at end of file diff --git a/3.3.5a/x32dbg/game.dd32 b/3.3.5a/x32dbg/game.dd32 index 3f479dd..1a5c2be 100644 --- a/3.3.5a/x32dbg/game.dd32 +++ b/3.3.5a/x32dbg/game.dd32 @@ -112,6 +112,22 @@ "icount": "0x0", "parent": "0x8070" }, + { + "manual": true, + "start": "0x8110", + "end": "0x820e", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x8110" + }, + { + "manual": true, + "start": "0x8210", + "end": "0x823a", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x8210" + }, { "manual": true, "start": "0x8240", @@ -896,6 +912,30 @@ "icount": "0x0", "parent": "0x81390" }, + { + "manual": true, + "start": "0x829d0", + "end": "0x829e8", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x829d0" + }, + { + "manual": true, + "start": "0x829f0", + "end": "0x82a12", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x829f0" + }, + { + "manual": true, + "start": "0x82a20", + "end": "0x82a3b", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x82a20" + }, { "manual": true, "start": "0x82a40", @@ -984,6 +1024,14 @@ "icount": "0x0", "parent": "0xbe9c0" }, + { + "manual": true, + "start": "0xbec70", + "end": "0xbec87", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xbec70" + }, { "manual": true, "start": "0xbecf0", @@ -1024,6 +1072,174 @@ "icount": "0x0", "parent": "0xbfca0" }, + { + "manual": true, + "start": "0xc1510", + "end": "0xc1510", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1510" + }, + { + "manual": true, + "start": "0xc1930", + "end": "0xc1930", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1930" + }, + { + "manual": true, + "start": "0xc1b30", + "end": "0xc1b30", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1b30" + }, + { + "manual": true, + "start": "0xc1b90", + "end": "0xc1b90", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1b90" + }, + { + "manual": true, + "start": "0xc1bf0", + "end": "0xc1bf0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1bf0" + }, + { + "manual": true, + "start": "0xc1de0", + "end": "0xc1de0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1de0" + }, + { + "manual": true, + "start": "0xc1f00", + "end": "0xc1f00", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc1f00" + }, + { + "manual": true, + "start": "0xc21b0", + "end": "0xc21b0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc21b0" + }, + { + "manual": true, + "start": "0xc2370", + "end": "0xc2370", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc2370" + }, + { + "manual": true, + "start": "0xc23d0", + "end": "0xc23d0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc23d0" + }, + { + "manual": true, + "start": "0xc2f90", + "end": "0xc2f90", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc2f90" + }, + { + "manual": true, + "start": "0xc2fc0", + "end": "0xc2fc0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc2fc0" + }, + { + "manual": true, + "start": "0xc30a0", + "end": "0xc30a0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc30a0" + }, + { + "manual": true, + "start": "0xc3290", + "end": "0xc3290", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3290" + }, + { + "manual": true, + "start": "0xc3300", + "end": "0xc3300", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3300" + }, + { + "manual": true, + "start": "0xc3340", + "end": "0xc3340", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3340" + }, + { + "manual": true, + "start": "0xc3380", + "end": "0xc3380", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3380" + }, + { + "manual": true, + "start": "0xc33c0", + "end": "0xc33c0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc33c0" + }, + { + "manual": true, + "start": "0xc3420", + "end": "0xc3420", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3420" + }, + { + "manual": true, + "start": "0xc3600", + "end": "0xc3600", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc3600" + }, + { + "manual": true, + "start": "0xc51b0", + "end": "0xc51b0", + "module": "wow.exe", + "icount": "0x0", + "parent": "0xc51b0" + }, { "manual": true, "start": "0xdbfd0", @@ -7960,6 +8176,14 @@ "icount": "0x0", "parent": "0x17bbc0" }, + { + "manual": true, + "start": "0x17c420", + "end": "0x17c449", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x17c420" + }, { "manual": true, "start": "0x17f170", @@ -16040,6 +16264,14 @@ "icount": "0x0", "parent": "0x214ef0" }, + { + "manual": true, + "start": "0x216ad0", + "end": "0x216ae7", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x216ad0" + }, { "manual": true, "start": "0x232050", @@ -16304,6 +16536,14 @@ "icount": "0x0", "parent": "0x283650" }, + { + "manual": true, + "start": "0x283660", + "end": "0x28366f", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x283660" + }, { "manual": true, "start": "0x2840f0", @@ -16536,6 +16776,14 @@ "icount": "0x0", "parent": "0x2897c0" }, + { + "manual": true, + "start": "0x289a50", + "end": "0x289a6e", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x289a50" + }, { "manual": true, "start": "0x289ef0", @@ -16691,7 +16939,7 @@ { "manual": true, "start": "0x2a3350", - "end": "0x2a3350", + "end": "0x2a3416", "module": "wow.exe", "icount": "0x0", "parent": "0x2a3350" @@ -16704,18 +16952,10 @@ "icount": "0x0", "parent": "0x2a3450" }, - { - "manual": true, - "start": "0x2a3450", - "end": "0x2a3450", - "module": "wow.exe", - "icount": "0x0", - "parent": "0x2a3450" - }, { "manual": true, "start": "0x2a3620", - "end": "0x2a3620", + "end": "0x2a3715", "module": "wow.exe", "icount": "0x0", "parent": "0x2a3620" @@ -16723,7 +16963,7 @@ { "manual": true, "start": "0x2a3810", - "end": "0x2a3810", + "end": "0x2a386d", "module": "wow.exe", "icount": "0x0", "parent": "0x2a3810" @@ -16731,7 +16971,7 @@ { "manual": true, "start": "0x2a39e0", - "end": "0x2a39e0", + "end": "0x2a3a58", "module": "wow.exe", "icount": "0x0", "parent": "0x2a39e0" @@ -16752,6 +16992,14 @@ "icount": "0x0", "parent": "0x2a5a00" }, + { + "manual": true, + "start": "0x2a5e10", + "end": "0x2a5e35", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2a5e10" + }, { "manual": true, "start": "0x2a5ef0", @@ -16768,6 +17016,38 @@ "icount": "0x0", "parent": "0x2a9b40" }, + { + "manual": true, + "start": "0x2a9e00", + "end": "0x2a9e08", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2a9e00" + }, + { + "manual": true, + "start": "0x2a9fe0", + "end": "0x2aa06c", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2a9fe0" + }, + { + "manual": true, + "start": "0x2aa070", + "end": "0x2aa0c4", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2aa070" + }, + { + "manual": true, + "start": "0x2aa0d0", + "end": "0x2aa124", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2aa0d0" + }, { "manual": true, "start": "0x2aa130", @@ -16776,6 +17056,14 @@ "icount": "0x0", "parent": "0x2aa130" }, + { + "manual": true, + "start": "0x2aa2f0", + "end": "0x2aa345", + "module": "wow.exe", + "icount": "0x0", + "parent": "0x2aa2f0" + }, { "manual": true, "start": "0x2b0960", @@ -19847,7 +20135,7 @@ { "manual": true, "module": "wow.exe", - "text": "C44Matrix__operator_equals_C44Matrix", + "text": "C44Matrix__operator_assign_C44Matrix", "address": "0x7f80" }, { @@ -19862,6 +20150,18 @@ "text": "GxXformViewport", "address": "0x8070" }, + { + "manual": true, + "module": "wow.exe", + "text": "GxXformProjNativeTranspose", + "address": "0x8110" + }, + { + "manual": true, + "module": "wow.exe", + "text": "GxShaderConstantsSet", + "address": "0x8210" + }, { "manual": true, "module": "wow.exe", @@ -20450,6 +20750,24 @@ "text": "IEvtTimerSet", "address": "0x81390" }, + { + "manual": true, + "module": "wow.exe", + "text": "GxBufLock", + "address": "0x829d0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "GxBufUnlock", + "address": "0x829f0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "GxBufStream", + "address": "0x82a20" + }, { "manual": true, "module": "wow.exe", @@ -20516,6 +20834,12 @@ "text": "TextBlockGenerateFont", "address": "0xbe9c0" }, + { + "manual": true, + "module": "wow.exe", + "text": "GxXformProjection", + "address": "0xbec70" + }, { "manual": true, "module": "wow.exe", @@ -20546,6 +20870,132 @@ "text": "CameraCreate", "address": "0xbfca0" }, + { + "manual": true, + "module": "wow.exe", + "text": "CRndSeed__SetSeed", + "address": "0xc1510" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Determinant", + "address": "0xc1930" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Translate", + "address": "0xc1b30" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Scale_C3Vector", + "address": "0xc1b90" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Scale_float", + "address": "0xc1bf0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__C44Matrix_C4Quaternion", + "address": "0xc1de0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "operator_multiply_C44Matrix_C44Matrix", + "address": "0xc1f00" + }, + { + "manual": true, + "module": "wow.exe", + "text": "operator_multiply_C3Vector_C44Matrix", + "address": "0xc21b0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__operator_assignment_multiply", + "address": "0xc2370" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Transpose", + "address": "0xc23d0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Inverse", + "address": "0xc2f90" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__AffineInverse", + "address": "0xc2fc0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__AffineInvertInPlace", + "address": "0xc30a0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__RotationAroundZ", + "address": "0xc3290" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__RotateAroundX", + "address": "0xc3300" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__RotateAroundY", + "address": "0xc3340" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__RotateAroundZ", + "address": "0xc3380" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C44Matrix__Rotate", + "address": "0xc33c0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C3Vector__Normalize_1", + "address": "0xc3420" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C3Vector__Normalize_2", + "address": "0xc3600" + }, + { + "manual": true, + "module": "wow.exe", + "text": "C33Matrix__operator_assign_C33Matrix", + "address": "0xc51b0" + }, { "manual": true, "module": "wow.exe", @@ -25748,6 +26198,12 @@ "text": "Script_PurchaseSlot", "address": "0x17bbc0" }, + { + "manual": true, + "module": "wow.exe", + "text": "GxXformPop", + "address": "0x17c420" + }, { "manual": true, "module": "wow.exe", @@ -31808,6 +32264,12 @@ "text": "Script_GetVehicleUIIndicatorSeat", "address": "0x214ef0" }, + { + "manual": true, + "module": "wow.exe", + "text": "GxXformPush_EGxXform_C44Matrix", + "address": "0x216ad0" + }, { "manual": true, "module": "wow.exe", @@ -32006,6 +32468,12 @@ "text": "CGxDevice__CursorLock", "address": "0x283650" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDevice__CursorSetDepth", + "address": "0x283660" + }, { "manual": true, "module": "wow.exe", @@ -32180,6 +32648,12 @@ "text": "CGxDevice__ShaderCreate", "address": "0x2897c0" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxShader__Valid", + "address": "0x289a50" + }, { "manual": true, "module": "wow.exe", @@ -32306,12 +32780,6 @@ "text": "CGxDeviceD3d__ScenePresent", "address": "0x2a3450" }, - { - "manual": true, - "module": "wow.exe", - "text": "CGxDeviceD3d__ScenePresent", - "address": "0x2a3450" - }, { "manual": true, "module": "wow.exe", @@ -32342,6 +32810,12 @@ "text": "CGxDeviceD3d__CapsWindowSize", "address": "0x2a5a00" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__IShaderCreate", + "address": "0x2a5e10" + }, { "manual": true, "module": "wow.exe", @@ -32354,12 +32828,42 @@ "text": "CGxDeviceD3d__XformSetProjection", "address": "0x2a9b40" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__XformSetView", + "address": "0x2a9e00" + }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__IShaderConstantsFlush", + "address": "0x2a9fe0" + }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__IShaderCreatePixel", + "address": "0x2aa070" + }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__IShaderCreateVertex", + "address": "0x2aa0d0" + }, { "manual": true, "module": "wow.exe", "text": "CGxDeviceD3d__ShaderCreate", "address": "0x2aa130" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDeviceD3d__IBindVertexShader", + "address": "0x2aa2f0" + }, { "manual": true, "module": "wow.exe", @@ -34688,12 +35192,24 @@ "text": "g_theGxDevicePtr", "address": "0x85df88" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDevice__s_uiVertexShader", + "address": "0x85dfdc" + }, { "manual": true, "module": "wow.exe", "text": "CGxDevice__s_shadowConstants", "address": "0x85dfe0" }, + { + "manual": true, + "module": "wow.exe", + "text": "CGxDevice__s_uiPixelShader", + "address": "0x85fffc" + }, { "manual": true, "module": "wow.exe", diff --git a/3.3.5a/x32dbg/types.json b/3.3.5a/x32dbg/types.json index 4395c43..20a8864 100644 --- a/3.3.5a/x32dbg/types.json +++ b/3.3.5a/x32dbg/types.json @@ -1,41 +1,5 @@ { "types": [ - { - "type": "int32_t", - "name": "ptrdiff_t" - }, - { - "type": "uint32_t", - "name": "uintptr_t" - }, - { - "type": "int32_t", - "name": "intptr_t" - }, - { - "type": "int", - "name": "EGxPoolHintBits" - }, - { - "type": "int", - "name": "EGxPoolTarget" - }, - { - "type": "int", - "name": "EGxPoolUsage" - }, - { - "type": "int", - "name": "EGxVertexAttrib" - }, - { - "type": "int", - "name": "EGxVertexBufferFormat" - }, - { - "type": "int", - "name": "EGxColorFormat" - }, { "type": "int", "name": "BlitAlpha" @@ -44,6 +8,26 @@ "type": "int", "name": "BlitFormat" }, + { + "type": "int", + "name": "CGxFormat__Format" + }, + { + "type": "int", + "name": "CGxMatrixStack__EMatrixFlags" + }, + { + "type": "int", + "name": "COLOR_FILE_FORMAT" + }, + { + "type": "long long", + "name": "D3DDEVTYPE" + }, + { + "type": "int32_t", + "name": "D3DFORMAT" + }, { "type": "int", "name": "EGxApi" @@ -52,6 +36,10 @@ "type": "int", "name": "EGxBlend" }, + { + "type": "int", + "name": "EGxColorFormat" + }, { "type": "int", "name": "EGxFontHJusts" @@ -64,6 +52,18 @@ "type": "int", "name": "EGxMasterEnables" }, + { + "type": "int", + "name": "EGxPoolHintBits" + }, + { + "type": "int", + "name": "EGxPoolTarget" + }, + { + "type": "int", + "name": "EGxPoolUsage" + }, { "type": "int", "name": "EGxPrim" @@ -108,6 +108,18 @@ "type": "int", "name": "EGxTexWrapMode" }, + { + "type": "int", + "name": "EGxVertexAttrib" + }, + { + "type": "int", + "name": "EGxVertexBufferFormat" + }, + { + "type": "int", + "name": "EGxWM" + }, { "type": "int", "name": "EGxXform" @@ -116,138 +128,32 @@ "type": "int", "name": "EGxuDrawListCategory" }, - { - "type": "int", - "name": "EGxWM" - }, - { - "type": "int", - "name": "COLOR_FILE_FORMAT" - }, { "type": "int", "name": "PIXEL_FORMAT" }, { - "type": "int", - "name": "CGxFormat__Format" - }, - { - "type": "int", - "name": "CGxMatrixStack__EMatrixFlags" + "type": "int32_t", + "name": "intptr_t" }, { "type": "int32_t", - "name": "D3DFORMAT" + "name": "ptrdiff_t" }, { - "type": "long long", - "name": "D3DDEVTYPE" + "type": "uint32_t", + "name": "uintptr_t" } ], "structs": [ - { - "name": "HASHKEY_PTR", - "members": [ - { - "type": "void*", - "name": "m_key" - } - ] - }, - { - "name": "HASHKEY_STR", - "members": [ - { - "type": "char*", - "name": "m_str" - } - ] - }, - { - "name": "HASHKEY_STRI", - "members": [ - { - "type": "char*", - "name": "m_str" - } - ] - }, - { - "name": "HASHKEY_NONE" - }, - { - "name": "CAaBox", - "members": [ - { - "type": "C3Vector", - "name": "b" - }, - { - "type": "C3Vector", - "name": "t", - "offset": 12 - } - ] - }, - { - "name": "CBoundingBox", - "members": [ - { - "type": "CRange", - "name": "x" - }, - { - "type": "CRange", - "name": "y", - "offset": 8 - }, - { - "type": "CRange", - "name": "z", - "offset": 16 - } - ] - }, - { - "name": "C3Vector", - "members": [ - { - "type": "float", - "name": "x" - }, - { - "type": "float", - "name": "y", - "offset": 4 - }, - { - "type": "float", - "name": "z", - "offset": 8 - } - ] - }, - { - "name": "CRange", - "members": [ - { - "type": "float", - "name": "l" - }, - { - "type": "float", - "name": "h", - "offset": 4 - } - ] - }, { "name": "C2Vector", + "size": 8, "members": [ { "type": "float", - "name": "x" + "name": "x", + "offset": 0 }, { "type": "float", @@ -258,10 +164,12 @@ }, { "name": "C2iVector", + "size": 8, "members": [ { "type": "int32_t", - "name": "x" + "name": "x", + "offset": 0 }, { "type": "int32_t", @@ -270,74 +178,14 @@ } ] }, - { - "name": "C4Vector", - "members": [ - { - "type": "float", - "name": "x" - }, - { - "type": "float", - "name": "y", - "offset": 4 - }, - { - "type": "float", - "name": "z", - "offset": 8 - }, - { - "type": "float", - "name": "w", - "offset": 12 - } - ] - }, - { - "name": "CImVector", - "members": [ - { - "type": "uint8_t", - "name": "b" - }, - { - "type": "uint8_t", - "name": "g", - "offset": 1 - }, - { - "type": "uint8_t", - "name": "r", - "offset": 2 - }, - { - "type": "uint8_t", - "name": "a", - "offset": 3 - } - ] - }, - { - "name": "CiRange", - "members": [ - { - "type": "int32_t", - "name": "l" - }, - { - "type": "int32_t", - "name": "h", - "offset": 4 - } - ] - }, { "name": "C33Matrix", + "size": 36, "members": [ { "type": "float", - "name": "a0" + "name": "a0", + "offset": 0 }, { "type": "float", @@ -383,10 +231,12 @@ }, { "name": "C34Matrix", + "size": 48, "members": [ { "type": "float", - "name": "a0" + "name": "a0", + "offset": 0 }, { "type": "float", @@ -446,11 +296,34 @@ ] }, { - "name": "C44Matrix", + "name": "C3Vector", + "size": 12, "members": [ { "type": "float", - "name": "a0" + "name": "x", + "offset": 0 + }, + { + "type": "float", + "name": "y", + "offset": 4 + }, + { + "type": "float", + "name": "z", + "offset": 8 + } + ] + }, + { + "name": "C44Matrix", + "size": 64, + "members": [ + { + "type": "float", + "name": "a0", + "offset": 0 }, { "type": "float", @@ -529,598 +402,14 @@ } ] }, - { - "name": "C4Plane", - "members": [ - { - "type": "C3Vector", - "name": "n" - }, - { - "type": "float", - "name": "d", - "offset": 12 - } - ] - }, - { - "name": "C4Quaternion", - "members": [ - { - "type": "float", - "name": "x" - }, - { - "type": "float", - "name": "y", - "offset": 4 - }, - { - "type": "float", - "name": "z", - "offset": 8 - }, - { - "type": "float", - "name": "w", - "offset": 12 - } - ] - }, - { - "name": "CRect", - "members": [ - { - "type": "float", - "name": "minY" - }, - { - "type": "float", - "name": "minX", - "offset": 4 - }, - { - "type": "float", - "name": "maxY", - "offset": 8 - }, - { - "type": "float", - "name": "maxX", - "offset": 12 - } - ] - }, - { - "name": "CiRect", - "members": [ - { - "type": "int32_t", - "name": "minY" - }, - { - "type": "int32_t", - "name": "minX", - "offset": 4 - }, - { - "type": "int32_t", - "name": "maxY", - "offset": 8 - }, - { - "type": "int32_t", - "name": "maxX", - "offset": 12 - } - ] - }, - { - "name": "CAaSphere", - "members": [ - { - "type": "C3Vector", - "name": "n" - }, - { - "type": "float", - "name": "d", - "offset": 12 - } - ] - }, - { - "name": "ubyte4", - "members": [ - { - "type": "ubyte4__0000", - "name": "" - } - ] - }, - { - "name": "CGxVertexAttrib", - "members": [ - { - "type": "EGxVertexAttrib", - "name": "attrib" - }, - { - "type": "uint32_t", - "name": "type", - "offset": 4 - }, - { - "type": "uint32_t", - "name": "offset", - "offset": 8 - }, - { - "type": "uint32_t", - "name": "bufSize", - "offset": 12 - } - ] - }, - { - "name": "CGxVertexPBNT2", - "members": [ - { - "type": "C3Vector", - "name": "p" - }, - { - "type": "ubyte4", - "name": "bw", - "offset": 12 - }, - { - "type": "ubyte4", - "name": "bi", - "offset": 16 - }, - { - "type": "C3Vector", - "name": "n", - "offset": 20 - }, - { - "type": "C2Vector", - "name": "tc", - "arrsize": 2, - "offset": 32 - } - ] - }, - { - "name": "CGxVertexPCT", - "members": [ - { - "type": "C3Vector", - "name": "p" - }, - { - "type": "CImVector", - "name": "c", - "offset": 12 - }, - { - "type": "C2Vector", - "name": "tc", - "arrsize": 1, - "offset": 16 - } - ] - }, - { - "name": "CGxPool", - "members": [ - { - "type": "TSLinkedNode_CGxPool", - "name": "b_base" - }, - { - "type": "EGxPoolTarget", - "name": "m_target", - "offset": 8 - }, - { - "type": "EGxPoolUsage", - "name": "m_usage", - "offset": 12 - }, - { - "type": "int32_t", - "name": "m_size", - "offset": 16 - }, - { - "type": "void*", - "name": "m_apiSpecific", - "offset": 20 - }, - { - "type": "void*", - "name": "m_mem", - "offset": 24 - }, - { - "type": "int32_t", - "name": "unk1C", - "offset": 28 - }, - { - "type": "TSList_CGxBuf", - "name": "m_bufList", - "offset": 32 - }, - { - "type": "EGxPoolHintBits", - "name": "m_hint", - "offset": 44 - }, - { - "type": "char*", - "name": "m_name", - "offset": 48 - } - ] - }, - { - "name": "CGxBuf", - "members": [ - { - "type": "TSLinkedNode_CGxBuf", - "name": "b_base" - }, - { - "type": "CGxPool*", - "name": "m_pool", - "offset": 8 - }, - { - "type": "uint32_t", - "name": "m_itemSize", - "offset": 12 - }, - { - "type": "uint32_t", - "name": "m_itemCount", - "offset": 16 - }, - { - "type": "uint32_t", - "name": "m_size", - "offset": 20 - }, - { - "type": "uint32_t", - "name": "m_index", - "offset": 24 - }, - { - "type": "uint8_t", - "name": "unk1C", - "offset": 28 - }, - { - "type": "uint8_t", - "name": "unk1D", - "offset": 29 - }, - { - "type": "uint8_t", - "name": "unk1E", - "offset": 30 - }, - { - "type": "uint8_t", - "name": "unk1F", - "offset": 31 - } - ] - }, - { - "name": "TSLinkedNode_CGxPool", - "members": [ - { - "type": "TSLink_CGxPool", - "name": "m_link" - } - ] - }, - { - "name": "TSList_CGxBuf", - "members": [ - { - "type": "ptrdiff_t", - "name": "m_linkoffset" - }, - { - "type": "TSLink_CGxBuf", - "name": "m_terminator", - "offset": 4 - } - ] - }, - { - "name": "TSLinkedNode_CGxBuf", - "members": [ - { - "type": "TSLink_CGxBuf", - "name": "m_link" - } - ] - }, - { - "name": "TSLink_CGxBuf", - "members": [ - { - "type": "TSLink_CGxBuf*", - "name": "m_prevlink" - }, - { - "type": "CGxBuf*", - "name": "m_next", - "offset": 4 - } - ] - }, - { - "name": "TSList_CGxPool", - "members": [ - { - "type": "ptrdiff_t", - "name": "m_linkoffset" - }, - { - "type": "TSLink_CGxPool", - "name": "m_terminator", - "offset": 4 - } - ] - }, - { - "name": "TSLink_CGxPool", - "members": [ - { - "type": "TSLink_CGxPool*", - "name": "m_prevlink" - }, - { - "type": "CGxPool*", - "name": "m_next", - "offset": 4 - } - ] - }, - { - "name": "CGxCaps", - "members": [ - { - "type": "int32_t", - "name": "m_numTmus" - }, - { - "type": "int32_t", - "name": "m_pixelCenterOnEdge", - "offset": 4 - }, - { - "type": "int32_t", - "name": "m_texelCenterOnEdge", - "offset": 8 - }, - { - "type": "int32_t", - "name": "m_numStreams", - "offset": 12 - }, - { - "type": "int32_t", - "name": "int10", - "offset": 16 - }, - { - "type": "EGxColorFormat", - "name": "m_colorFormat", - "offset": 20 - }, - { - "type": "uint32_t", - "name": "unk18", - "offset": 24 - }, - { - "type": "uint32_t", - "name": "m_maxIndex", - "offset": 28 - }, - { - "type": "int32_t", - "name": "m_generateMipMaps", - "offset": 32 - }, - { - "type": "int32_t", - "name": "m_texFmt", - "arrsize": 13, - "offset": 36 - }, - { - "type": "int32_t", - "name": "m_texTarget", - "arrsize": 4, - "offset": 88 - }, - { - "type": "uint32_t", - "name": "unk68", - "offset": 104 - }, - { - "type": "uint32_t", - "name": "m_texMaxSize", - "arrsize": 4, - "offset": 108 - }, - { - "type": "uint32_t", - "name": "unk7C", - "offset": 124 - }, - { - "type": "uint32_t", - "name": "unk80", - "offset": 128 - }, - { - "type": "uint32_t", - "name": "unk84", - "offset": 132 - }, - { - "type": "uint32_t", - "name": "unk88", - "offset": 136 - }, - { - "type": "uint32_t", - "name": "unk8C", - "offset": 140 - }, - { - "type": "uint32_t", - "name": "unk90", - "offset": 144 - }, - { - "type": "uint32_t", - "name": "unk94", - "offset": 148 - }, - { - "type": "uint32_t", - "name": "unk98", - "offset": 152 - }, - { - "type": "uint32_t", - "name": "unk9C", - "offset": 156 - }, - { - "type": "uint32_t", - "name": "unkA0", - "offset": 160 - }, - { - "type": "uint32_t", - "name": "unkA4", - "offset": 164 - }, - { - "type": "uint32_t", - "name": "unkA8", - "offset": 168 - }, - { - "type": "int32_t", - "name": "hwPcf", - "offset": 172 - }, - { - "type": "uint32_t", - "name": "unkB0", - "offset": 176 - }, - { - "type": "int32_t", - "name": "m_shaderTargets", - "arrsize": 6, - "offset": 180 - }, - { - "type": "uint32_t", - "name": "m_shaderConstants", - "arrsize": 6, - "offset": 204 - }, - { - "type": "int32_t", - "name": "m_texFilterTrilinear", - "offset": 228 - }, - { - "type": "int32_t", - "name": "m_texFilterAnisotropic", - "offset": 232 - }, - { - "type": "uint32_t", - "name": "m_maxTexAnisotropy", - "offset": 236 - }, - { - "type": "int32_t", - "name": "m_depthBias", - "offset": 240 - }, - { - "type": "uint32_t", - "name": "unkF4", - "offset": 244 - }, - { - "type": "int32_t", - "name": "m_maxClipPlanes", - "offset": 248 - }, - { - "type": "int32_t", - "name": "m_hardwareCursor", - "offset": 252 - }, - { - "type": "uint32_t", - "name": "unk100", - "arrsize": 5, - "offset": 256 - }, - { - "type": "uint32_t", - "name": "unk114", - "arrsize": 6, - "offset": 276 - }, - { - "type": "int32_t", - "name": "m_stereoAvailable", - "offset": 300 - }, - { - "type": "int32_t", - "name": "int130", - "offset": 304 - }, - { - "type": "int32_t", - "name": "int134", - "offset": 308 - }, - { - "type": "int32_t", - "name": "int138", - "offset": 312 - } - ] - }, { "name": "C4Pixel", + "size": 4, "members": [ { "type": "char", - "name": "b" + "name": "b", + "offset": 0 }, { "type": "char", @@ -1140,461 +429,65 @@ ] }, { - "name": "MipBits", + "name": "C4Quaternion", + "size": 16, "members": [ { - "type": "C4Pixel*", - "name": "mip", - "arrsize": 1 - } - ] - }, - { - "name": "CGxGammaRamp", - "members": [ - { - "type": "uint16_t", - "name": "red", - "arrsize": 256 + "type": "float", + "name": "x", + "offset": 0 }, { - "type": "uint16_t", - "name": "green", - "arrsize": 256, - "offset": 512 - }, - { - "type": "uint16_t", - "name": "blue", - "arrsize": 256, - "offset": 1024 - } - ] - }, - { - "name": "TSGrowableArray_EGxRenderState", - "members": [ - { - "type": "uint32_t", - "name": "m_alloc" - }, - { - "type": "uint32_t", - "name": "m_count", + "type": "float", + "name": "y", "offset": 4 }, { - "type": "EGxRenderState*", - "name": "m_data", + "type": "float", + "name": "z", "offset": 8 }, { - "type": "uint32_t", - "name": "m_chunk", + "type": "float", + "name": "w", "offset": 12 } ] }, { - "name": "CGxAppRenderState", + "name": "C4Vector", + "size": 16, "members": [ { - "type": "CGxStateBom", - "name": "m_value" + "type": "float", + "name": "x", + "offset": 0 }, { - "type": "uint32_t", - "name": "m_stackDepth", - "offset": 16 - }, - { - "type": "int32_t", - "name": "m_dirty", - "offset": 20 - } - ] - }, - { - "name": "CGxPushedRenderState", - "members": [ - { - "type": "EGxRenderState", - "name": "m_which" - }, - { - "type": "CGxStateBom", - "name": "m_value", + "type": "float", + "name": "y", "offset": 4 }, { - "type": "uint32_t", - "name": "m_stackDepth", - "offset": 20 - } - ] - }, - { - "name": "ShaderConstants", - "members": [ - { - "type": "C4Vector", - "name": "constants", - "arrsize": 256 - }, - { - "type": "uint32_t", - "name": "unk1", - "offset": 4096 - }, - { - "type": "uint32_t", - "name": "unk2", - "offset": 4100 - } - ] - }, - { - "name": "CGxDevice", - "members": [ - { - "type": "CGxDevice__vtable*", - "name": "v_vtable" - }, - { - "type": "TSGrowableArray_CGxPushedRenderState", - "name": "m_pushedStates", - "offset": 4 - }, - { - "type": "TSGrowableArray_uint32_t", - "name": "m_stackOffsets", - "offset": 20 - }, - { - "type": "TSGrowableArray_EGxRenderState", - "name": "m_dirtyStates", - "offset": 36 - }, - { - "type": "uint32_t", - "name": "m_unk40", - "arrsize": 76, - "offset": 52 - }, - { - "type": "CRect", - "name": "m_defWindowRect", - "offset": 356 - }, - { - "type": "CRect", - "name": "m_curWindowRect", - "offset": 372 - }, - { - "type": "uint32_t", - "name": "m_unk184", - "arrsize": 12, - "offset": 388 - }, - { - "type": "EGxApi", - "name": "m_api", - "offset": 436 - }, - { - "type": "uint32_t", - "name": "m_cpuFeatures", - "offset": 440 - }, - { - "type": "CGxFormat", - "name": "m_format", - "offset": 444 - }, - { - "type": "CGxCaps", - "name": "m_caps", - "offset": 532 - }, - { - "type": "uint32_t", - "name": "m_baseMipLevel", - "offset": 848 - }, - { - "type": "CGxGammaRamp", - "name": "m_gammaRamp", - "offset": 852 - }, - { - "type": "CGxGammaRamp", - "name": "m_systemGammaRamp", - "offset": 2388 - }, - { - "type": "void**", - "name": "m_windowProc", - "offset": 3924 - }, - { - "type": "int32_t", - "name": "m_context", - "offset": 3928 - }, - { - "type": "int32_t", - "name": "intF5C", - "offset": 3932 - }, - { - "type": "int32_t", - "name": "m_windowVisible", - "offset": 3936 - }, - { - "type": "int32_t", - "name": "intF64", - "offset": 3940 - }, - { - "type": "int32_t", - "name": "intF68", - "offset": 3944 - }, - { - "type": "int32_t", - "name": "intF6C", - "offset": 3948 - }, - { - "type": "CBoundingBox", - "name": "m_viewport", - "offset": 3952 - }, - { - "type": "C44Matrix", - "name": "m_projection", - "offset": 3976 - }, - { - "type": "C44Matrix", - "name": "m_projNative", - "offset": 4040 - }, - { - "type": "CGxMatrixStack", - "name": "m_xforms", - "arrsize": 11, - "offset": 4104 - }, - { - "type": "CGxMatrixStack", - "name": "m_texGen", - "arrsize": 8, - "offset": 7184 - }, - { - "type": "uint32_t", - "name": "unk24D0", - "arrsize": 162, - "offset": 9424 - }, - { - "type": "uint32_t", - "name": "m_appMasterEnables", - "offset": 10072 - }, - { - "type": "uint32_t", - "name": "m_hwMasterEnables", - "offset": 10076 - }, - { - "type": "TSList_CGxPool", - "name": "m_poolList", - "offset": 10080 - }, - { - "type": "uint32_t", - "name": "unk276C", - "arrsize": 3, - "offset": 10092 - }, - { - "type": "CGxBuf*", - "name": "m_bufLocked", - "arrsize": 2, - "offset": 10104 - }, - { - "type": "CGxPool*", - "name": "m_vertexPool", - "offset": 10112 - }, - { - "type": "CGxPool*", - "name": "m_indexPool", - "offset": 10116 - }, - { - "type": "CGxBuf*", - "name": "m_streamBufs", - "arrsize": 2, - "offset": 10120 - }, - { - "type": "CGxVertexAttrib", - "name": "m_primVertexFormatAttrib", - "arrsize": 14, - "offset": 10128 - }, - { - "type": "CGxBuf*", - "name": "m_primVertexFormatBuf", - "arrsize": 14, - "offset": 10352 - }, - { - "type": "uint32_t", - "name": "m_primVertexMask", - "offset": 10408 - }, - { - "type": "uint32_t", - "name": "m_primVertexDirty", - "offset": 10412 - }, - { - "type": "EGxVertexBufferFormat", - "name": "m_primVertexFormat", - "offset": 10416 - }, - { - "type": "CGxBuf*", - "name": "m_primVertexBuf", - "offset": 10420 - }, - { - "type": "uint32_t", - "name": "m_primVertexSize", - "offset": 10424 - }, - { - "type": "CGxBuf*", - "name": "m_primIndexBuf", - "offset": 10428 - }, - { - "type": "int32_t", - "name": "m_primIndexDirty", - "offset": 10432 - }, - { - "type": "uint32_t", - "name": "unk28C4", - "offset": 10436 - }, - { - "type": "uint32_t", - "name": "unk28C8", - "offset": 10440 - }, - { - "type": "uint32_t", - "name": "unk28CC", - "offset": 10444 - }, - { - "type": "uint32_t", - "name": "unk28D0", - "offset": 10448 - }, - { - "type": "uint32_t", - "name": "unk28D4", - "offset": 10452 - }, - { - "type": "uint32_t", - "name": "unk28D8", - "offset": 10456 - }, - { - "type": "uint32_t", - "name": "unk28DC", - "offset": 10460 - }, - { - "type": "uint32_t", - "name": "unk28E0", - "offset": 10464 - }, - { - "type": "uint32_t", - "name": "unk28E4", - "offset": 10468 - }, - { - "type": "uint32_t", - "name": "unk28E8", - "offset": 10472 - }, - { - "type": "TSFixedArray_CGxAppRenderState", - "name": "m_appRenderStates", - "offset": 10476 - }, - { - "type": "TSFixedArray_CGxStateBom", - "name": "m_hwRenderStates", - "offset": 10488 - }, - { - "type": "uint32_t", - "name": "unk2904", - "arrsize": 19, - "offset": 10500 - }, - { - "type": "int32_t", - "name": "m_cursorVisible", - "offset": 10576 - }, - { - "type": "int32_t", - "name": "m_hardwareCursor", - "offset": 10580 - }, - { - "type": "uint32_t", - "name": "m_cursorHotspotX", - "offset": 10584 - }, - { - "type": "uint32_t", - "name": "m_cursorHotspotY", - "offset": 10588 - }, - { - "type": "CImVector", - "name": "m_cursor", - "arrsize": 1024, - "offset": 10592 + "type": "float", + "name": "z", + "offset": 8 }, { - "type": "CGxTex*", - "name": "m_cursorTexture", - "offset": 14688 + "type": "float", + "name": "w", + "offset": 12 } ] }, { "name": "CGxDevice__vtable", + "size": 336, "members": [ { "type": "void*", - "name": "v_fn_0_ITexMarkAsUpdated" + "name": "v_fn_0_ITexMarkAsUpdated", + "offset": 0 }, { "type": "void*", @@ -1953,7 +846,7 @@ }, { "type": "void*", - "name": "v_fn_72", + "name": "v_fn_72_IShaderCreate", "offset": 288 }, { @@ -2014,25 +907,372 @@ ] }, { - "name": "CGxStateBom", + "name": "CGxGammaRamp", + "size": 1536, "members": [ { - "type": "CGxStateBom__m_data", - "name": "m_data" + "type": "uint16_t", + "name": "red", + "arrsize": 256, + "offset": 0 }, { - "type": "int32_t", - "name": "filler", + "type": "uint16_t", + "name": "green", + "arrsize": 256, + "offset": 512 + }, + { + "type": "uint16_t", + "name": "blue", + "arrsize": 256, + "offset": 1024 + } + ] + }, + { + "name": "CGxTexFlags", + "size": 4, + "members": [ + { + "type": "uint32_t", + "name": "m_flags", + "offset": 0 + } + ] + }, + { + "name": "CImVector", + "size": 4, + "members": [ + { + "type": "uint8_t", + "name": "b", + "offset": 0 + }, + { + "type": "uint8_t", + "name": "g", + "offset": 1 + }, + { + "type": "uint8_t", + "name": "r", + "offset": 2 + }, + { + "type": "uint8_t", + "name": "a", + "offset": 3 + } + ] + }, + { + "name": "CRange", + "size": 8, + "members": [ + { + "type": "float", + "name": "l", + "offset": 0 + }, + { + "type": "float", + "name": "h", + "offset": 4 + } + ] + }, + { + "name": "CRect", + "size": 16, + "members": [ + { + "type": "float", + "name": "minY", + "offset": 0 + }, + { + "type": "float", + "name": "minX", + "offset": 4 + }, + { + "type": "float", + "name": "maxY", + "offset": 8 + }, + { + "type": "float", + "name": "maxX", "offset": 12 } ] }, { - "name": "TSGrowableArray_CGxPushedRenderState", + "name": "CiRange", + "size": 8, + "members": [ + { + "type": "int32_t", + "name": "l", + "offset": 0 + }, + { + "type": "int32_t", + "name": "h", + "offset": 4 + } + ] + }, + { + "name": "CiRect", + "size": 16, + "members": [ + { + "type": "int32_t", + "name": "minY", + "offset": 0 + }, + { + "type": "int32_t", + "name": "minX", + "offset": 4 + }, + { + "type": "int32_t", + "name": "maxY", + "offset": 8 + }, + { + "type": "int32_t", + "name": "maxX", + "offset": 12 + } + ] + }, + { + "name": "D3DPSHADERCAPS2_0", + "size": 20, "members": [ { "type": "uint32_t", - "name": "m_alloc" + "name": "Caps", + "offset": 0 + }, + { + "type": "int32_t", + "name": "DynamicFlowControlDepth", + "offset": 4 + }, + { + "type": "int32_t", + "name": "NumTemps", + "offset": 8 + }, + { + "type": "int32_t", + "name": "StaticFlowControlDepth", + "offset": 12 + }, + { + "type": "int32_t", + "name": "NumInstructionSlots", + "offset": 16 + } + ] + }, + { + "name": "D3DVSHADERCAPS2_0", + "size": 16, + "members": [ + { + "type": "uint32_t", + "name": "Caps", + "offset": 0 + }, + { + "type": "int32_t", + "name": "DynamicFlowControlDepth", + "offset": 4 + }, + { + "type": "int32_t", + "name": "NumTemps", + "offset": 8 + }, + { + "type": "int32_t", + "name": "StaticFlowControlDepth", + "offset": 12 + } + ] + }, + { + "name": "HASHKEY_NONE", + "size": 0 + }, + { + "name": "HASHKEY_PTR", + "size": 4, + "members": [ + { + "type": "void*", + "name": "m_key", + "offset": 0 + } + ] + }, + { + "name": "HASHKEY_STR", + "size": 4, + "members": [ + { + "type": "char*", + "name": "m_str", + "offset": 0 + } + ] + }, + { + "name": "HASHKEY_STRI", + "size": 4, + "members": [ + { + "type": "char*", + "name": "m_str", + "offset": 0 + } + ] + }, + { + "name": "IDirect3D9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "IDirect3DDevice9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "IDirect3DIndexBuffer9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "IDirect3DSurface9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "IDirect3DVertexBuffer9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "IDirect3DVertexDeclaration9", + "size": 4, + "members": [ + { + "type": "void**", + "name": "v_vtable", + "offset": 0 + } + ] + }, + { + "name": "MipBits", + "size": 4, + "members": [ + { + "type": "C4Pixel*", + "name": "mip", + "arrsize": 1, + "offset": 0 + } + ] + }, + { + "name": "TSFixedArray_CGxAppRenderState", + "size": 12, + "members": [ + { + "type": "uint32_t", + "name": "m_alloc", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_count", + "offset": 4 + }, + { + "type": "CGxAppRenderState*", + "name": "m_data", + "offset": 8 + } + ] + }, + { + "name": "TSFixedArray_CGxStateBom", + "size": 12, + "members": [ + { + "type": "uint32_t", + "name": "m_alloc", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_count", + "offset": 4 + }, + { + "type": "CGxStateBom*", + "name": "m_data", + "offset": 8 + } + ] + }, + { + "name": "TSGrowableArray_CGxPushedRenderState", + "size": 16, + "members": [ + { + "type": "uint32_t", + "name": "m_alloc", + "offset": 0 }, { "type": "uint32_t", @@ -2052,11 +1292,65 @@ ] }, { - "name": "TSGrowableArray_uint32_t", + "name": "TSGrowableArray_EGxRenderState", + "size": 16, "members": [ { "type": "uint32_t", - "name": "m_alloc" + "name": "m_alloc", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_count", + "offset": 4 + }, + { + "type": "EGxRenderState*", + "name": "m_data", + "offset": 8 + }, + { + "type": "uint32_t", + "name": "m_chunk", + "offset": 12 + } + ] + }, + { + "name": "TSGrowableArray_TSList_CGxShader", + "size": 16, + "members": [ + { + "type": "uint32_t", + "name": "m_alloc", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_count", + "offset": 4 + }, + { + "type": "TSList_CGxShader*", + "name": "m_data", + "offset": 8 + }, + { + "type": "uint32_t", + "name": "m_chunk", + "offset": 12 + } + ] + }, + { + "name": "TSGrowableArray_uint32_t", + "size": 16, + "members": [ + { + "type": "uint32_t", + "name": "m_alloc", + "offset": 0 }, { "type": "uint32_t", @@ -2076,11 +1370,185 @@ ] }, { - "name": "CGxFormat", + "name": "TSGrowableArray_uint8_t", + "size": 16, "members": [ { "type": "uint32_t", - "name": "unk0" + "name": "m_alloc", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_count", + "offset": 4 + }, + { + "type": "uint8_t*", + "name": "m_data", + "offset": 8 + }, + { + "type": "uint32_t", + "name": "m_chunk", + "offset": 12 + } + ] + }, + { + "name": "TSLink_CGxBuf", + "size": 8, + "members": [ + { + "type": "TSLink_CGxBuf*", + "name": "m_prevlink", + "offset": 0 + }, + { + "type": "CGxBuf*", + "name": "m_next", + "offset": 4 + } + ] + }, + { + "name": "TSLink_CGxPool", + "size": 8, + "members": [ + { + "type": "TSLink_CGxPool*", + "name": "m_prevlink", + "offset": 0 + }, + { + "type": "CGxPool*", + "name": "m_next", + "offset": 4 + } + ] + }, + { + "name": "TSLink_CGxShader", + "size": 8, + "members": [ + { + "type": "TSLink_CGxShader*", + "name": "m_prevlink", + "offset": 0 + }, + { + "type": "CGxShader*", + "name": "m_next", + "offset": 4 + } + ] + }, + { + "name": "CAaBox", + "size": 24, + "members": [ + { + "type": "C3Vector", + "name": "b", + "offset": 0 + }, + { + "type": "C3Vector", + "name": "t", + "offset": 12 + } + ] + }, + { + "name": "C4Plane", + "size": 16, + "members": [ + { + "type": "C3Vector", + "name": "n", + "offset": 0 + }, + { + "type": "float", + "name": "d", + "offset": 12 + } + ] + }, + { + "name": "CAaSphere", + "size": 16, + "members": [ + { + "type": "C3Vector", + "name": "n", + "offset": 0 + }, + { + "type": "float", + "name": "d", + "offset": 12 + } + ] + }, + { + "name": "CGxMatrixStack", + "size": 280, + "members": [ + { + "type": "uint32_t", + "name": "m_level", + "offset": 0 + }, + { + "type": "int8_t", + "name": "m_dirty", + "offset": 4 + }, + { + "type": "C44Matrix", + "name": "m_mtx", + "arrsize": 4, + "offset": 8 + }, + { + "type": "uint32_t", + "name": "m_flags", + "arrsize": 4, + "offset": 264 + } + ] + }, + { + "name": "ShaderConstants", + "size": 4104, + "members": [ + { + "type": "C4Vector", + "name": "constants", + "arrsize": 256, + "offset": 0 + }, + { + "type": "uint32_t", + "name": "unk1", + "offset": 4096 + }, + { + "type": "uint32_t", + "name": "unk2", + "offset": 4100 + } + ] + }, + { + "name": "CGxFormat", + "size": 88, + "members": [ + { + "type": "uint32_t", + "name": "unk0", + "offset": 0 }, { "type": "bool", @@ -2195,75 +1663,72 @@ ] }, { - "name": "CGxMatrixStack", + "name": "CGxStateBom", + "size": 16, "members": [ { - "type": "uint32_t", - "name": "m_level" + "type": "CGxStateBom__m_data", + "name": "m_data", + "offset": 0 }, { - "type": "int8_t", - "name": "m_dirty", - "offset": 4 - }, - { - "type": "C44Matrix", - "name": "m_mtx", - "arrsize": 4, - "offset": 8 - }, - { - "type": "uint32_t", - "name": "m_flags", - "arrsize": 4, - "offset": 264 + "type": "int32_t", + "name": "filler", + "offset": 12 } ] }, { - "name": "TSFixedArray_CGxAppRenderState", + "name": "CGxVertexPCT", + "size": 24, "members": [ { - "type": "uint32_t", - "name": "m_alloc" + "type": "C3Vector", + "name": "p", + "offset": 0 }, { - "type": "uint32_t", - "name": "m_count", - "offset": 4 + "type": "CImVector", + "name": "c", + "offset": 12 }, { - "type": "CGxAppRenderState*", - "name": "m_data", - "offset": 8 + "type": "C2Vector", + "name": "tc", + "arrsize": 1, + "offset": 16 } ] }, { - "name": "TSFixedArray_CGxStateBom", + "name": "CBoundingBox", + "size": 24, "members": [ { - "type": "uint32_t", - "name": "m_alloc" + "type": "CRange", + "name": "x", + "offset": 0 }, { - "type": "uint32_t", - "name": "m_count", - "offset": 4 - }, - { - "type": "CGxStateBom*", - "name": "m_data", + "type": "CRange", + "name": "y", "offset": 8 + }, + { + "type": "CRange", + "name": "z", + "offset": 16 } ] }, { "name": "CGxTex", + "size": 96, "members": [ { "type": "CiRect", - "name": "m_updateRect" + "name": "m_updateRect", + "offset": 0 }, { "type": "int16_t", @@ -2398,450 +1863,39 @@ ] }, { - "name": "CGxShader", - "members": [ - { - "type": "TSHashObject_CGxShader_HASHKEY_STRI", - "name": "b_base" - }, - { - "type": "uint32_t", - "name": "refCount", - "offset": 24 - }, - { - "type": "void*", - "name": "apiSpecific", - "offset": 28 - }, - { - "type": "int32_t", - "name": "target", - "offset": 32 - }, - { - "type": "int32_t", - "name": "int28", - "offset": 36 - }, - { - "type": "int32_t", - "name": "valid", - "offset": 40 - }, - { - "type": "int32_t", - "name": "loaded", - "offset": 44 - }, - { - "type": "int32_t", - "name": "int34", - "offset": 48 - }, - { - "type": "int32_t", - "name": "patched", - "offset": 52 - }, - { - "type": "int32_t", - "name": "int3C", - "offset": 56 - }, - { - "type": "int32_t", - "name": "int40", - "offset": 60 - }, - { - "type": "int16_t", - "name": "int44", - "offset": 64 - }, - { - "type": "int16_t", - "name": "int46", - "offset": 66 - }, - { - "type": "TSGrowableArray_uint8_t", - "name": "code", - "offset": 68 - } - ] - }, - { - "name": "TSHashObject_CGxShader_HASHKEY_STRI", + "name": "D3DDISPLAYMODE", + "size": 16, "members": [ { "type": "uint32_t", - "name": "m_hashval" + "name": "Width", + "offset": 0 }, { - "type": "TSLink_CGxShader", - "name": "m_linktoslot", + "type": "uint32_t", + "name": "Height", "offset": 4 }, - { - "type": "TSLink_CGxShader", - "name": "m_linktofull", - "offset": 12 - }, - { - "type": "HASHKEY_STRI", - "name": "m_key", - "offset": 20 - } - ] - }, - { - "name": "TSGrowableArray_uint8_t", - "members": [ { "type": "uint32_t", - "name": "m_alloc" - }, - { - "type": "uint32_t", - "name": "m_count", - "offset": 4 - }, - { - "type": "uint8_t*", - "name": "m_data", + "name": "RefreshRate", "offset": 8 }, - { - "type": "uint32_t", - "name": "m_chunk", - "offset": 12 - } - ] - }, - { - "name": "TSList_CGxShader", - "members": [ - { - "type": "ptrdiff_t", - "name": "m_linkoffset" - }, - { - "type": "TSLink_CGxShader", - "name": "m_terminator", - "offset": 4 - } - ] - }, - { - "name": "TSHashTable_CGxShader_HASHKEY_STRI", - "members": [ - { - "type": "TSList_CGxShader", - "name": "m_fulllist" - }, - { - "type": "uint32_t", - "name": "m_fullnessIndicator", - "offset": 12 - }, - { - "type": "TSGrowableArray_TSList_CGxShader", - "name": "m_slotlistarray", - "offset": 16 - }, - { - "type": "uint32_t", - "name": "m_slotmask", - "offset": 32 - } - ] - }, - { - "name": "TSGrowableArray_TSList_CGxShader", - "members": [ - { - "type": "uint32_t", - "name": "m_alloc" - }, - { - "type": "uint32_t", - "name": "m_count", - "offset": 4 - }, - { - "type": "TSList_CGxShader*", - "name": "m_data", - "offset": 8 - }, - { - "type": "uint32_t", - "name": "m_chunk", - "offset": 12 - } - ] - }, - { - "name": "TSLink_CGxShader", - "members": [ - { - "type": "TSLink_CGxShader*", - "name": "m_prevlink" - }, - { - "type": "CGxShader*", - "name": "m_next", - "offset": 4 - } - ] - }, - { - "name": "TSLinkedNode_CGxShader", - "members": [ - { - "type": "TSLink_CGxShader", - "name": "m_link" - } - ] - }, - { - "name": "CGxTexFlags", - "members": [ - { - "type": "uint32_t", - "name": "m_flags" - } - ] - }, - { - "name": "CGxBatch", - "members": [ - { - "type": "EGxPrim", - "name": "m_primType" - }, - { - "type": "uint32_t", - "name": "m_start", - "offset": 4 - }, - { - "type": "uint32_t", - "name": "m_count", - "offset": 8 - }, - { - "type": "uint16_t", - "name": "m_minIndex", - "offset": 12 - }, - { - "type": "uint16_t", - "name": "m_maxIndex", - "offset": 14 - } - ] - }, - { - "name": "CGxDeviceD3d", - "members": [ - { - "type": "CGxDevice", - "name": "b_base" - }, - { - "type": "void*", - "name": "m_hwnd", - "offset": 14692 - }, - { - "type": "uint16_t", - "name": "m_hwndClass", - "offset": 14696 - }, - { - "type": "uint16_t", - "name": "unk396E", - "offset": 14698 - }, - { - "type": "int32_t", - "name": "m_ownhwnd", - "offset": 14700 - }, - { - "type": "void*", - "name": "m_d3dLib", - "offset": 14704 - }, - { - "type": "IDirect3D9*", - "name": "m_d3d", - "offset": 14708 - }, - { - "type": "IDirect3DDevice9*", - "name": "m_d3dDevice", - "offset": 14712 - }, - { - "type": "D3DCAPS9", - "name": "m_d3dCaps", - "offset": 14720 - }, - { - "type": "int32_t", - "name": "m_d3dIsHwDevice", - "offset": 15032 - }, - { - "type": "uint32_t", - "name": "unk3AB4", - "arrsize": 11, - "offset": 15036 - }, - { - "type": "IDirect3DVertexDeclaration9*", - "name": "m_d3dVertexDecl", - "arrsize": 14, - "offset": 15080 - }, - { - "type": "D3DDISPLAYMODE", - "name": "m_desktopDisplayMode", - "offset": 15136 - }, - { - "type": "int32_t", - "name": "m_inScene", - "offset": 15152 - }, - { - "type": "uint32_t", - "name": "unk3B2C", - "offset": 15156 - }, { "type": "D3DFORMAT", - "name": "m_devDepthFormat", - "offset": 15160 - }, - { - "type": "D3DFORMAT", - "name": "m_devAdapterFormat", - "offset": 15164 - }, - { - "type": "uint32_t", - "name": "unk3B38", - "offset": 15168 - }, - { - "type": "IDirect3DSurface9*", - "name": "m_defColorSurface", - "offset": 15172 - }, - { - "type": "IDirect3DSurface9*", - "name": "m_defDepthSurface", - "offset": 15176 - }, - { - "type": "uint32_t", - "name": "unk3B44", - "offset": 15180 - }, - { - "type": "uint32_t", - "name": "unk3B48", - "offset": 15184 - }, - { - "type": "uint32_t", - "name": "unk3B4C", - "offset": 15188 - }, - { - "type": "uint32_t", - "name": "unk3B50", - "offset": 15192 - }, - { - "type": "uint32_t", - "name": "unk3B54", - "offset": 15196 - }, - { - "type": "uint32_t", - "name": "unk3B58", - "offset": 15200 - }, - { - "type": "IDirect3DVertexDeclaration9*", - "name": "m_d3dCurrentVertexDecl", - "offset": 15204 - }, - { - "type": "IDirect3DIndexBuffer9*", - "name": "m_d3dCurrentIndexBuf", - "offset": 15208 - }, - { - "type": "IDirect3DVertexBuffer9*", - "name": "m_d3dVertexStreamBuf", - "arrsize": 8, - "offset": 15212 - }, - { - "type": "uint32_t", - "name": "m_d3dVertexStreamOfs", - "arrsize": 8, - "offset": 15244 - }, - { - "type": "uint32_t", - "name": "m_d3dVertexStreamStride", - "arrsize": 8, - "offset": 15276 - }, - { - "type": "uint32_t", - "name": "m_deviceStates", - "arrsize": 182, - "offset": 15308 - }, - { - "type": "bool", - "name": "m_texEnabled", - "arrsize": 8, - "offset": 16036 - } - ] - }, - { - "name": "IDirect3D9", - "members": [ - { - "type": "void**", - "name": "v_vtable" - } - ] - }, - { - "name": "IDirect3DDevice9", - "members": [ - { - "type": "void**", - "name": "v_vtable" + "name": "Format", + "offset": 12 } ] }, { "name": "D3DCAPS9", + "size": 312, "members": [ { "type": "D3DDEVTYPE", - "name": "DeviceType" + "name": "DeviceType", + "offset": 0 }, { "type": "uint32_t", @@ -3186,134 +2240,1214 @@ ] }, { - "name": "IDirect3DVertexDeclaration9", + "name": "CGxCaps", + "size": 316, "members": [ { - "type": "void**", - "name": "v_vtable" + "type": "int32_t", + "name": "m_numTmus", + "offset": 0 + }, + { + "type": "int32_t", + "name": "m_pixelCenterOnEdge", + "offset": 4 + }, + { + "type": "int32_t", + "name": "m_texelCenterOnEdge", + "offset": 8 + }, + { + "type": "int32_t", + "name": "m_numStreams", + "offset": 12 + }, + { + "type": "int32_t", + "name": "int10", + "offset": 16 + }, + { + "type": "EGxColorFormat", + "name": "m_colorFormat", + "offset": 20 + }, + { + "type": "uint32_t", + "name": "unk18", + "offset": 24 + }, + { + "type": "uint32_t", + "name": "m_maxIndex", + "offset": 28 + }, + { + "type": "int32_t", + "name": "m_generateMipMaps", + "offset": 32 + }, + { + "type": "int32_t", + "name": "m_texFmt", + "arrsize": 13, + "offset": 36 + }, + { + "type": "int32_t", + "name": "m_texTarget", + "arrsize": 4, + "offset": 88 + }, + { + "type": "uint32_t", + "name": "unk68", + "offset": 104 + }, + { + "type": "uint32_t", + "name": "m_texMaxSize", + "arrsize": 4, + "offset": 108 + }, + { + "type": "uint32_t", + "name": "unk7C", + "offset": 124 + }, + { + "type": "uint32_t", + "name": "unk80", + "offset": 128 + }, + { + "type": "uint32_t", + "name": "unk84", + "offset": 132 + }, + { + "type": "uint32_t", + "name": "unk88", + "offset": 136 + }, + { + "type": "uint32_t", + "name": "unk8C", + "offset": 140 + }, + { + "type": "uint32_t", + "name": "unk90", + "offset": 144 + }, + { + "type": "uint32_t", + "name": "unk94", + "offset": 148 + }, + { + "type": "uint32_t", + "name": "unk98", + "offset": 152 + }, + { + "type": "uint32_t", + "name": "unk9C", + "offset": 156 + }, + { + "type": "uint32_t", + "name": "unkA0", + "offset": 160 + }, + { + "type": "uint32_t", + "name": "unkA4", + "offset": 164 + }, + { + "type": "uint32_t", + "name": "unkA8", + "offset": 168 + }, + { + "type": "int32_t", + "name": "hwPcf", + "offset": 172 + }, + { + "type": "uint32_t", + "name": "unkB0", + "offset": 176 + }, + { + "type": "int32_t", + "name": "m_shaderTargets", + "arrsize": 6, + "offset": 180 + }, + { + "type": "uint32_t", + "name": "m_shaderConstants", + "arrsize": 6, + "offset": 204 + }, + { + "type": "int32_t", + "name": "m_texFilterTrilinear", + "offset": 228 + }, + { + "type": "int32_t", + "name": "m_texFilterAnisotropic", + "offset": 232 + }, + { + "type": "uint32_t", + "name": "m_maxTexAnisotropy", + "offset": 236 + }, + { + "type": "int32_t", + "name": "m_depthBias", + "offset": 240 + }, + { + "type": "uint32_t", + "name": "unkF4", + "offset": 244 + }, + { + "type": "int32_t", + "name": "m_maxClipPlanes", + "offset": 248 + }, + { + "type": "int32_t", + "name": "m_hardwareCursor", + "offset": 252 + }, + { + "type": "uint32_t", + "name": "unk100", + "arrsize": 5, + "offset": 256 + }, + { + "type": "uint32_t", + "name": "unk114", + "arrsize": 6, + "offset": 276 + }, + { + "type": "int32_t", + "name": "m_stereoAvailable", + "offset": 300 + }, + { + "type": "int32_t", + "name": "int130", + "offset": 304 + }, + { + "type": "int32_t", + "name": "int134", + "offset": 308 + }, + { + "type": "int32_t", + "name": "int138", + "offset": 312 } ] }, { - "name": "D3DDISPLAYMODE", + "name": "CGxBatch", + "size": 16, "members": [ { - "type": "uint32_t", - "name": "Width" + "type": "EGxPrim", + "name": "m_primType", + "offset": 0 }, { "type": "uint32_t", - "name": "Height", + "name": "m_start", "offset": 4 }, { "type": "uint32_t", - "name": "RefreshRate", + "name": "m_count", "offset": 8 }, + { + "type": "uint16_t", + "name": "m_minIndex", + "offset": 12 + }, + { + "type": "uint16_t", + "name": "m_maxIndex", + "offset": 14 + } + ] + }, + { + "name": "CGxVertexAttrib", + "size": 16, + "members": [ + { + "type": "EGxVertexAttrib", + "name": "attrib", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "type", + "offset": 4 + }, + { + "type": "uint32_t", + "name": "offset", + "offset": 8 + }, + { + "type": "uint32_t", + "name": "bufSize", + "offset": 12 + } + ] + }, + { + "name": "TSLinkedNode_CGxBuf", + "size": 8, + "members": [ + { + "type": "TSLink_CGxBuf", + "name": "m_link", + "offset": 0 + } + ] + }, + { + "name": "TSLinkedNode_CGxPool", + "size": 8, + "members": [ + { + "type": "TSLink_CGxPool", + "name": "m_link", + "offset": 0 + } + ] + }, + { + "name": "TSHashObject_CGxShader_HASHKEY_STRI", + "size": 24, + "members": [ + { + "type": "uint32_t", + "name": "m_hashval", + "offset": 0 + }, + { + "type": "TSLink_CGxShader", + "name": "m_linktoslot", + "offset": 4 + }, + { + "type": "TSLink_CGxShader", + "name": "m_linktofull", + "offset": 12 + }, + { + "type": "HASHKEY_STRI", + "name": "m_key", + "offset": 20 + } + ] + }, + { + "name": "TSLinkedNode_CGxShader", + "size": 8, + "members": [ + { + "type": "TSLink_CGxShader", + "name": "m_link", + "offset": 0 + } + ] + }, + { + "name": "TSList_CGxBuf", + "size": 12, + "members": [ + { + "type": "ptrdiff_t", + "name": "m_linkoffset", + "offset": 0 + }, + { + "type": "TSLink_CGxBuf", + "name": "m_terminator", + "offset": 4 + } + ] + }, + { + "name": "TSList_CGxPool", + "size": 12, + "members": [ + { + "type": "ptrdiff_t", + "name": "m_linkoffset", + "offset": 0 + }, + { + "type": "TSLink_CGxPool", + "name": "m_terminator", + "offset": 4 + } + ] + }, + { + "name": "TSList_CGxShader", + "size": 12, + "members": [ + { + "type": "ptrdiff_t", + "name": "m_linkoffset", + "offset": 0 + }, + { + "type": "TSLink_CGxShader", + "name": "m_terminator", + "offset": 4 + } + ] + }, + { + "name": "ubyte4", + "size": 4, + "members": [ + { + "type": "ubyte4__0000", + "name": "", + "offset": 0 + } + ] + }, + { + "name": "CGxAppRenderState", + "size": 24, + "members": [ + { + "type": "CGxStateBom", + "name": "m_value", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_stackDepth", + "offset": 16 + }, + { + "type": "int32_t", + "name": "m_dirty", + "offset": 20 + } + ] + }, + { + "name": "CGxPushedRenderState", + "size": 24, + "members": [ + { + "type": "EGxRenderState", + "name": "m_which", + "offset": 0 + }, + { + "type": "CGxStateBom", + "name": "m_value", + "offset": 4 + }, + { + "type": "uint32_t", + "name": "m_stackDepth", + "offset": 20 + } + ] + }, + { + "name": "CGxBuf", + "size": 32, + "members": [ + { + "type": "TSLinkedNode_CGxBuf", + "name": "b_base", + "offset": 0 + }, + { + "type": "CGxPool*", + "name": "m_pool", + "offset": 8 + }, + { + "type": "uint32_t", + "name": "m_itemSize", + "offset": 12 + }, + { + "type": "uint32_t", + "name": "m_itemCount", + "offset": 16 + }, + { + "type": "uint32_t", + "name": "m_size", + "offset": 20 + }, + { + "type": "uint32_t", + "name": "m_index", + "offset": 24 + }, + { + "type": "uint8_t", + "name": "unk1C", + "offset": 28 + }, + { + "type": "uint8_t", + "name": "unk1D", + "offset": 29 + }, + { + "type": "uint8_t", + "name": "unk1E", + "offset": 30 + }, + { + "type": "uint8_t", + "name": "unk1F", + "offset": 31 + } + ] + }, + { + "name": "CGxShader", + "size": 84, + "members": [ + { + "type": "TSHashObject_CGxShader_HASHKEY_STRI", + "name": "b_base", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "refCount", + "offset": 24 + }, + { + "type": "void*", + "name": "apiSpecific", + "offset": 28 + }, + { + "type": "int32_t", + "name": "target", + "offset": 32 + }, + { + "type": "int32_t", + "name": "int28", + "offset": 36 + }, + { + "type": "int32_t", + "name": "valid", + "offset": 40 + }, + { + "type": "int32_t", + "name": "loaded", + "offset": 44 + }, + { + "type": "int32_t", + "name": "int34", + "offset": 48 + }, + { + "type": "int32_t", + "name": "patched", + "offset": 52 + }, + { + "type": "int32_t", + "name": "int3C", + "offset": 56 + }, + { + "type": "int32_t", + "name": "int40", + "offset": 60 + }, + { + "type": "int16_t", + "name": "int44", + "offset": 64 + }, + { + "type": "int16_t", + "name": "int46", + "offset": 66 + }, + { + "type": "TSGrowableArray_uint8_t", + "name": "code", + "offset": 68 + } + ] + }, + { + "name": "CGxPool", + "size": 52, + "members": [ + { + "type": "TSLinkedNode_CGxPool", + "name": "b_base", + "offset": 0 + }, + { + "type": "EGxPoolTarget", + "name": "m_target", + "offset": 8 + }, + { + "type": "EGxPoolUsage", + "name": "m_usage", + "offset": 12 + }, + { + "type": "int32_t", + "name": "m_size", + "offset": 16 + }, + { + "type": "void*", + "name": "m_apiSpecific", + "offset": 20 + }, + { + "type": "void*", + "name": "m_mem", + "offset": 24 + }, + { + "type": "int32_t", + "name": "unk1C", + "offset": 28 + }, + { + "type": "TSList_CGxBuf", + "name": "m_bufList", + "offset": 32 + }, + { + "type": "EGxPoolHintBits", + "name": "m_hint", + "offset": 44 + }, + { + "type": "char*", + "name": "m_name", + "offset": 48 + } + ] + }, + { + "name": "CGxDevice", + "size": 14696, + "members": [ + { + "type": "CGxDevice__vtable*", + "name": "v_vtable", + "offset": 0 + }, + { + "type": "TSGrowableArray_CGxPushedRenderState", + "name": "m_pushedStates", + "offset": 4 + }, + { + "type": "TSGrowableArray_uint32_t", + "name": "m_stackOffsets", + "offset": 20 + }, + { + "type": "TSGrowableArray_EGxRenderState", + "name": "m_dirtyStates", + "offset": 36 + }, + { + "type": "uint32_t", + "name": "m_unk34", + "arrsize": 76, + "offset": 52 + }, + { + "type": "CRect", + "name": "m_defWindowRect", + "offset": 356 + }, + { + "type": "CRect", + "name": "m_curWindowRect", + "offset": 372 + }, + { + "type": "uint32_t", + "name": "m_unk184", + "arrsize": 12, + "offset": 388 + }, + { + "type": "EGxApi", + "name": "m_api", + "offset": 436 + }, + { + "type": "uint32_t", + "name": "m_cpuFeatures", + "offset": 440 + }, + { + "type": "CGxFormat", + "name": "m_format", + "offset": 444 + }, + { + "type": "CGxCaps", + "name": "m_caps", + "offset": 532 + }, + { + "type": "uint32_t", + "name": "m_baseMipLevel", + "offset": 848 + }, + { + "type": "CGxGammaRamp", + "name": "m_gammaRamp", + "offset": 852 + }, + { + "type": "CGxGammaRamp", + "name": "m_systemGammaRamp", + "offset": 2388 + }, + { + "type": "void**", + "name": "m_windowProc", + "offset": 3924 + }, + { + "type": "int32_t", + "name": "m_context", + "offset": 3928 + }, + { + "type": "int32_t", + "name": "intF5C", + "offset": 3932 + }, + { + "type": "int32_t", + "name": "m_windowVisible", + "offset": 3936 + }, + { + "type": "int32_t", + "name": "intF64", + "offset": 3940 + }, + { + "type": "int32_t", + "name": "intF68", + "offset": 3944 + }, + { + "type": "int32_t", + "name": "intF6C", + "offset": 3948 + }, + { + "type": "CBoundingBox", + "name": "m_viewport", + "offset": 3952 + }, + { + "type": "C44Matrix", + "name": "m_projection", + "offset": 3976 + }, + { + "type": "C44Matrix", + "name": "m_projNative", + "offset": 4040 + }, + { + "type": "CGxMatrixStack", + "name": "m_xforms", + "arrsize": 11, + "offset": 4104 + }, + { + "type": "CGxMatrixStack", + "name": "m_texGen", + "arrsize": 8, + "offset": 7184 + }, + { + "type": "uint32_t", + "name": "unk24D0", + "arrsize": 162, + "offset": 9424 + }, + { + "type": "uint32_t", + "name": "m_appMasterEnables", + "offset": 10072 + }, + { + "type": "uint32_t", + "name": "m_hwMasterEnables", + "offset": 10076 + }, + { + "type": "TSList_CGxPool", + "name": "m_poolList", + "offset": 10080 + }, + { + "type": "uint32_t", + "name": "unk276C", + "arrsize": 3, + "offset": 10092 + }, + { + "type": "CGxBuf*", + "name": "m_bufLocked", + "arrsize": 2, + "offset": 10104 + }, + { + "type": "CGxPool*", + "name": "m_vertexPool", + "offset": 10112 + }, + { + "type": "CGxPool*", + "name": "m_indexPool", + "offset": 10116 + }, + { + "type": "CGxBuf*", + "name": "m_streamBufs", + "arrsize": 2, + "offset": 10120 + }, + { + "type": "CGxVertexAttrib", + "name": "m_primVertexFormatAttrib", + "arrsize": 14, + "offset": 10128 + }, + { + "type": "CGxBuf*", + "name": "m_primVertexFormatBuf", + "arrsize": 14, + "offset": 10352 + }, + { + "type": "uint32_t", + "name": "m_primVertexMask", + "offset": 10408 + }, + { + "type": "uint32_t", + "name": "m_primVertexDirty", + "offset": 10412 + }, + { + "type": "EGxVertexBufferFormat", + "name": "m_primVertexFormat", + "offset": 10416 + }, + { + "type": "CGxBuf*", + "name": "m_primVertexBuf", + "offset": 10420 + }, + { + "type": "uint32_t", + "name": "m_primVertexSize", + "offset": 10424 + }, + { + "type": "CGxBuf*", + "name": "m_primIndexBuf", + "offset": 10428 + }, + { + "type": "int32_t", + "name": "m_primIndexDirty", + "offset": 10432 + }, + { + "type": "uint32_t", + "name": "unk28C4", + "offset": 10436 + }, + { + "type": "uint32_t", + "name": "unk28C8", + "offset": 10440 + }, + { + "type": "uint32_t", + "name": "unk28CC", + "offset": 10444 + }, + { + "type": "uint32_t", + "name": "unk28D0", + "offset": 10448 + }, + { + "type": "uint32_t", + "name": "unk28D4", + "offset": 10452 + }, + { + "type": "uint32_t", + "name": "unk28D8", + "offset": 10456 + }, + { + "type": "uint32_t", + "name": "unk28DC", + "offset": 10460 + }, + { + "type": "uint32_t", + "name": "unk28E0", + "offset": 10464 + }, + { + "type": "uint32_t", + "name": "unk28E4", + "offset": 10468 + }, + { + "type": "uint32_t", + "name": "unk28E8", + "offset": 10472 + }, + { + "type": "TSFixedArray_CGxAppRenderState", + "name": "m_appRenderStates", + "offset": 10476 + }, + { + "type": "TSFixedArray_CGxStateBom", + "name": "m_hwRenderStates", + "offset": 10488 + }, + { + "type": "uint32_t", + "name": "unk2904", + "arrsize": 19, + "offset": 10500 + }, + { + "type": "int32_t", + "name": "m_cursorVisible", + "offset": 10576 + }, + { + "type": "int32_t", + "name": "m_hardwareCursor", + "offset": 10580 + }, + { + "type": "uint32_t", + "name": "m_cursorHotspotX", + "offset": 10584 + }, + { + "type": "uint32_t", + "name": "m_cursorHotspotY", + "offset": 10588 + }, + { + "type": "CImVector", + "name": "m_cursor", + "arrsize": 1024, + "offset": 10592 + }, + { + "type": "CGxTex*", + "name": "m_cursorTexture", + "offset": 14688 + }, + { + "type": "float", + "name": "m_cursorDepth", + "offset": 14692 + } + ] + }, + { + "name": "TSHashTable_CGxShader_HASHKEY_STRI", + "size": 36, + "members": [ + { + "type": "TSList_CGxShader", + "name": "m_fulllist", + "offset": 0 + }, + { + "type": "uint32_t", + "name": "m_fullnessIndicator", + "offset": 12 + }, + { + "type": "TSGrowableArray_TSList_CGxShader", + "name": "m_slotlistarray", + "offset": 16 + }, + { + "type": "uint32_t", + "name": "m_slotmask", + "offset": 32 + } + ] + }, + { + "name": "CGxVertexPBNT2", + "size": 48, + "members": [ + { + "type": "C3Vector", + "name": "p", + "offset": 0 + }, + { + "type": "ubyte4", + "name": "bw", + "offset": 12 + }, + { + "type": "ubyte4", + "name": "bi", + "offset": 16 + }, + { + "type": "C3Vector", + "name": "n", + "offset": 20 + }, + { + "type": "C2Vector", + "name": "tc", + "arrsize": 2, + "offset": 32 + } + ] + }, + { + "name": "CGxDeviceD3d", + "size": 16048, + "members": [ + { + "type": "CGxDevice", + "name": "b_base", + "offset": 0 + }, + { + "type": "void*", + "name": "m_hwnd", + "offset": 14696 + }, + { + "type": "uint16_t", + "name": "m_hwndClass", + "offset": 14700 + }, + { + "type": "uint16_t", + "name": "unk396E", + "offset": 14702 + }, + { + "type": "int32_t", + "name": "m_ownhwnd", + "offset": 14704 + }, + { + "type": "void*", + "name": "m_d3dLib", + "offset": 14708 + }, + { + "type": "IDirect3D9*", + "name": "m_d3d", + "offset": 14712 + }, + { + "type": "IDirect3DDevice9*", + "name": "m_d3dDevice", + "offset": 14716 + }, + { + "type": "D3DCAPS9", + "name": "m_d3dCaps", + "offset": 14720 + }, + { + "type": "int32_t", + "name": "m_d3dIsHwDevice", + "offset": 15032 + }, + { + "type": "uint32_t", + "name": "unk3AB4", + "arrsize": 11, + "offset": 15036 + }, + { + "type": "IDirect3DVertexDeclaration9*", + "name": "m_d3dVertexDecl", + "arrsize": 14, + "offset": 15080 + }, + { + "type": "D3DDISPLAYMODE", + "name": "m_desktopDisplayMode", + "offset": 15136 + }, + { + "type": "int32_t", + "name": "m_inScene", + "offset": 15152 + }, + { + "type": "uint32_t", + "name": "unk3B2C", + "offset": 15156 + }, { "type": "D3DFORMAT", - "name": "Format", - "offset": 12 - } - ] - }, - { - "name": "IDirect3DSurface9", - "members": [ + "name": "m_devDepthFormat", + "offset": 15160 + }, { - "type": "void**", - "name": "v_vtable" - } - ] - }, - { - "name": "IDirect3DIndexBuffer9", - "members": [ - { - "type": "void**", - "name": "v_vtable" - } - ] - }, - { - "name": "IDirect3DVertexBuffer9", - "members": [ - { - "type": "void**", - "name": "v_vtable" - } - ] - }, - { - "name": "D3DVSHADERCAPS2_0", - "members": [ + "type": "D3DFORMAT", + "name": "m_devAdapterFormat", + "offset": 15164 + }, { "type": "uint32_t", - "name": "Caps" + "name": "unk3B38", + "offset": 15168 }, { - "type": "int32_t", - "name": "DynamicFlowControlDepth", - "offset": 4 + "type": "IDirect3DSurface9*", + "name": "m_defColorSurface", + "offset": 15172 }, { - "type": "int32_t", - "name": "NumTemps", - "offset": 8 + "type": "IDirect3DSurface9*", + "name": "m_defDepthSurface", + "offset": 15176 }, - { - "type": "int32_t", - "name": "StaticFlowControlDepth", - "offset": 12 - } - ] - }, - { - "name": "D3DPSHADERCAPS2_0", - "members": [ { "type": "uint32_t", - "name": "Caps" + "name": "unk3B44", + "offset": 15180 }, { - "type": "int32_t", - "name": "DynamicFlowControlDepth", - "offset": 4 + "type": "uint32_t", + "name": "unk3B48", + "offset": 15184 }, { - "type": "int32_t", - "name": "NumTemps", - "offset": 8 + "type": "uint32_t", + "name": "unk3B4C", + "offset": 15188 }, { - "type": "int32_t", - "name": "StaticFlowControlDepth", - "offset": 12 + "type": "uint32_t", + "name": "unk3B50", + "offset": 15192 }, { - "type": "int32_t", - "name": "NumInstructionSlots", - "offset": 16 + "type": "uint32_t", + "name": "unk3B54", + "offset": 15196 + }, + { + "type": "uint32_t", + "name": "unk3B58", + "offset": 15200 + }, + { + "type": "IDirect3DVertexDeclaration9*", + "name": "m_d3dCurrentVertexDecl", + "offset": 15204 + }, + { + "type": "IDirect3DIndexBuffer9*", + "name": "m_d3dCurrentIndexBuf", + "offset": 15208 + }, + { + "type": "IDirect3DVertexBuffer9*", + "name": "m_d3dVertexStreamBuf", + "arrsize": 8, + "offset": 15212 + }, + { + "type": "uint32_t", + "name": "m_d3dVertexStreamOfs", + "arrsize": 8, + "offset": 15244 + }, + { + "type": "uint32_t", + "name": "m_d3dVertexStreamStride", + "arrsize": 8, + "offset": 15276 + }, + { + "type": "uint32_t", + "name": "m_deviceStates", + "arrsize": 182, + "offset": 15308 + }, + { + "type": "bool", + "name": "m_texEnabled", + "arrsize": 8, + "offset": 16036 } ] } ], "unions": [ - { - "name": "ubyte4__0000", - "members": [ - { - "type": "uint8_t", - "name": "b", - "arrsize": 4 - }, - { - "type": "uint32_t", - "name": "u" - } - ] - }, { "name": "CGxStateBom__m_data", "members": [ @@ -3337,6 +3471,20 @@ "name": "p" } ] + }, + { + "name": "ubyte4__0000", + "members": [ + { + "type": "uint8_t", + "name": "b", + "arrsize": 4 + }, + { + "type": "uint32_t", + "name": "u" + } + ] } ] }