feat(profile): label more CGxDevice virtual functions and class members

This commit is contained in:
phaneron 2024-10-02 04:19:55 -04:00
parent d67e052d75
commit 5a70c8290f
8 changed files with 283 additions and 18 deletions

View file

@ -821,6 +821,17 @@
}
]
},
{
"name": "CGxDeviceD3d__GxVertexDecl",
"size": 4,
"members": [
{
"type": "uint32_t",
"name": "m_unk00",
"offset": 0
}
]
},
{
"name": "CGxDevice__vtable",
"size": 336,
@ -867,12 +878,12 @@
},
{
"type": "void*",
"name": "v_fn_8",
"name": "v_fn_8_destructor",
"offset": 32
},
{
"type": "void*",
"name": "v_fn_9",
"name": "v_fn_9_DeviceCreate",
"offset": 36
},
{
@ -887,7 +898,7 @@
},
{
"type": "void*",
"name": "v_fn_12",
"name": "v_fn_12_DeviceEvictResources",
"offset": 48
},
{
@ -2797,6 +2808,84 @@
}
]
},
{
"name": "TSGrowableArray_C2Vector",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "C2Vector*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_C3Vector",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "C3Vector*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_CGxDeviceD3d__GxVertexDecl",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "CGxDeviceD3d__GxVertexDecl*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_CGxPushedRenderState",
"size": 16,
@ -2823,6 +2912,32 @@
}
]
},
{
"name": "TSGrowableArray_CImVector",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "CImVector*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_CSimpleBatchedMesh",
"size": 16,
@ -3265,6 +3380,32 @@
}
]
},
{
"name": "TSGrowableArray_uint16_t",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "uint16_t*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_uint32_t",
"size": 16,
@ -7445,9 +7586,61 @@
{
"type": "uint32_t",
"name": "m_unk34",
"arrsize": 76,
"arrsize": 4,
"offset": 52
},
{
"type": "C3Vector",
"name": "m_primVertex",
"offset": 68
},
{
"type": "C2Vector",
"name": "m_primTexCoord",
"arrsize": 8,
"offset": 80
},
{
"type": "C3Vector",
"name": "m_primNormal",
"offset": 144
},
{
"type": "CImVector",
"name": "m_primColor",
"offset": 156
},
{
"type": "TSGrowableArray_C3Vector",
"name": "m_primVertexArray",
"offset": 160
},
{
"type": "TSGrowableArray_C2Vector",
"name": "m_primTexCoordArray",
"arrsize": 8,
"offset": 176
},
{
"type": "TSGrowableArray_C3Vector",
"name": "m_primNormalArray",
"offset": 304
},
{
"type": "TSGrowableArray_CImVector",
"name": "m_primColorArray",
"offset": 320
},
{
"type": "TSGrowableArray_uint16_t",
"name": "m_primIndexArray",
"offset": 336
},
{
"type": "uint32_t",
"name": "m_primMask",
"offset": 352
},
{
"type": "CRect",
"name": "m_defWindowRect",
@ -7540,7 +7733,7 @@
},
{
"type": "int32_t",
"name": "m_needsUpdate",
"name": "m_needsReset",
"offset": 3948
},
{
@ -8338,9 +8531,14 @@
{
"type": "uint32_t",
"name": "unk3AC4",
"arrsize": 7,
"arrsize": 3,
"offset": 15052
},
{
"type": "TSGrowableArray_CGxDeviceD3d__GxVertexDecl",
"name": "m_vertexDecl",
"offset": 15064
},
{
"type": "IDirect3DVertexDeclaration9*",
"name": "m_d3dVertexDecl",