{ "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" }, { "type": "int", "name": "BlitFormat" }, { "type": "int", "name": "EGxApi" }, { "type": "int", "name": "EGxBlend" }, { "type": "int", "name": "EGxFontHJusts" }, { "type": "int", "name": "EGxFontVJusts" }, { "type": "int", "name": "EGxMasterEnables" }, { "type": "int", "name": "EGxPrim" }, { "type": "int", "name": "EGxPrimMask" }, { "type": "int", "name": "EGxRenderState" }, { "type": "int", "name": "EGxShPS" }, { "type": "int", "name": "EGxShTarget" }, { "type": "int", "name": "EGxShVS" }, { "type": "int", "name": "EGxTexCommand" }, { "type": "int", "name": "EGxTexFilter" }, { "type": "int", "name": "EGxTexFormat" }, { "type": "int", "name": "EGxTexTarget" }, { "type": "int", "name": "EGxTexWrapMode" }, { "type": "int", "name": "EGxXform" }, { "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": "D3DFORMAT" }, { "type": "long long", "name": "D3DDEVTYPE" } ], "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", "members": [ { "type": "float", "name": "x" }, { "type": "float", "name": "y", "offset": 4 } ] }, { "name": "C2iVector", "members": [ { "type": "int32_t", "name": "x" }, { "type": "int32_t", "name": "y", "offset": 4 } ] }, { "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", "members": [ { "type": "float", "name": "a0" }, { "type": "float", "name": "a1", "offset": 4 }, { "type": "float", "name": "a2", "offset": 8 }, { "type": "float", "name": "b0", "offset": 12 }, { "type": "float", "name": "b1", "offset": 16 }, { "type": "float", "name": "b2", "offset": 20 }, { "type": "float", "name": "c0", "offset": 24 }, { "type": "float", "name": "c1", "offset": 28 }, { "type": "float", "name": "c2", "offset": 32 } ] }, { "name": "C34Matrix", "members": [ { "type": "float", "name": "a0" }, { "type": "float", "name": "a1", "offset": 4 }, { "type": "float", "name": "a2", "offset": 8 }, { "type": "float", "name": "b0", "offset": 12 }, { "type": "float", "name": "b1", "offset": 16 }, { "type": "float", "name": "b2", "offset": 20 }, { "type": "float", "name": "c0", "offset": 24 }, { "type": "float", "name": "c1", "offset": 28 }, { "type": "float", "name": "c2", "offset": 32 }, { "type": "float", "name": "d0", "offset": 36 }, { "type": "float", "name": "d1", "offset": 40 }, { "type": "float", "name": "d2", "offset": 44 } ] }, { "name": "C44Matrix", "members": [ { "type": "float", "name": "a0" }, { "type": "float", "name": "a1", "offset": 4 }, { "type": "float", "name": "a2", "offset": 8 }, { "type": "float", "name": "a3", "offset": 12 }, { "type": "float", "name": "b0", "offset": 16 }, { "type": "float", "name": "b1", "offset": 20 }, { "type": "float", "name": "b2", "offset": 24 }, { "type": "float", "name": "b3", "offset": 28 }, { "type": "float", "name": "c0", "offset": 32 }, { "type": "float", "name": "c1", "offset": 36 }, { "type": "float", "name": "c2", "offset": 40 }, { "type": "float", "name": "c3", "offset": 44 }, { "type": "float", "name": "d0", "offset": 48 }, { "type": "float", "name": "d1", "offset": 52 }, { "type": "float", "name": "d2", "offset": 56 }, { "type": "float", "name": "d3", "offset": 60 } ] }, { "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", "members": [ { "type": "char", "name": "b" }, { "type": "char", "name": "g", "offset": 1 }, { "type": "char", "name": "r", "offset": 2 }, { "type": "char", "name": "a", "offset": 3 } ] }, { "name": "MipBits", "members": [ { "type": "C4Pixel*", "name": "mip", "arrsize": 1 } ] }, { "name": "CGxGammaRamp", "members": [ { "type": "uint16_t", "name": "red", "arrsize": 256 }, { "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", "offset": 4 }, { "type": "EGxRenderState*", "name": "m_data", "offset": 8 }, { "type": "uint32_t", "name": "m_chunk", "offset": 12 } ] }, { "name": "CGxAppRenderState", "members": [ { "type": "CGxStateBom", "name": "m_value" }, { "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", "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": 20, "offset": 10500 }, { "type": "int32_t", "name": "m_hardwareCursor", "offset": 10580 }, { "type": "uint32_t", "name": "unk2958", "offset": 10584 }, { "type": "uint32_t", "name": "unk295C", "offset": 10588 }, { "type": "CImVector", "name": "m_cursorImage", "arrsize": 1024, "offset": 10592 }, { "type": "CGxTex*", "name": "m_cursorTexture", "offset": 14688 } ] }, { "name": "CGxDevice__vtable", "members": [ { "type": "void*", "name": "v_fn_0_ITexMarkAsUpdated" }, { "type": "void*", "name": "v_fn_1_IRsSendToHw", "offset": 4 }, { "type": "void*", "name": "v_fn_2_ICursorCreate", "offset": 8 }, { "type": "void*", "name": "v_fn_3_ICursorDestroy", "offset": 12 }, { "type": "void*", "name": "v_fn_4_ICursorDraw", "offset": 16 }, { "type": "void*", "name": "v_fn_5", "offset": 20 }, { "type": "void*", "name": "v_fn_6", "offset": 24 }, { "type": "void*", "name": "v_fn_7", "offset": 28 }, { "type": "void*", "name": "v_fn_8", "offset": 32 }, { "type": "void*", "name": "v_fn_9", "offset": 36 }, { "type": "void*", "name": "v_fn_10_DeviceCreate", "offset": 40 }, { "type": "void*", "name": "v_fn_11", "offset": 44 }, { "type": "void*", "name": "v_fn_12", "offset": 48 }, { "type": "void*", "name": "v_fn_13_DeviceSetFormat", "offset": 52 }, { "type": "void*", "name": "v_fn_14_DeviceSetBaseMipLevel", "offset": 56 }, { "type": "void*", "name": "v_fn_15_DeviceSetGamma", "offset": 60 }, { "type": "void*", "name": "v_fn_16", "offset": 64 }, { "type": "void*", "name": "v_fn_17", "offset": 68 }, { "type": "void*", "name": "v_fn_18", "offset": 72 }, { "type": "void*", "name": "v_fn_19", "offset": 76 }, { "type": "void*", "name": "v_fn_20", "offset": 80 }, { "type": "void*", "name": "v_fn_21", "offset": 84 }, { "type": "void*", "name": "v_fn_22_DeviceWM", "offset": 88 }, { "type": "void*", "name": "v_fn_23", "offset": 92 }, { "type": "void*", "name": "v_fn_24", "offset": 96 }, { "type": "void*", "name": "v_fn_25", "offset": 100 }, { "type": "void*", "name": "v_fn_26", "offset": 104 }, { "type": "void*", "name": "v_fn_27", "offset": 108 }, { "type": "void*", "name": "v_fn_28", "offset": 112 }, { "type": "void*", "name": "v_fn_29", "offset": 116 }, { "type": "void*", "name": "v_fn_30", "offset": 120 }, { "type": "void*", "name": "v_fn_31", "offset": 124 }, { "type": "void*", "name": "v_fn_32", "offset": 128 }, { "type": "void*", "name": "v_fn_33", "offset": 132 }, { "type": "void*", "name": "v_fn_34", "offset": 136 }, { "type": "void*", "name": "v_fn_35_CapsWindowSize", "offset": 140 }, { "type": "void*", "name": "v_fn_36", "offset": 144 }, { "type": "void*", "name": "v_fn_37", "offset": 148 }, { "type": "void*", "name": "v_fn_38_ScenePresent", "offset": 152 }, { "type": "void*", "name": "v_fn_39", "offset": 156 }, { "type": "void*", "name": "v_fn_40_XformSetProjection", "offset": 160 }, { "type": "void*", "name": "v_fn_41", "offset": 164 }, { "type": "void*", "name": "v_fn_42_Draw", "offset": 168 }, { "type": "void*", "name": "v_fn_43", "offset": 172 }, { "type": "void*", "name": "v_fn_44", "offset": 176 }, { "type": "void*", "name": "v_fn_45", "offset": 180 }, { "type": "void*", "name": "v_fn_46", "offset": 184 }, { "type": "void*", "name": "v_fn_47", "offset": 188 }, { "type": "void*", "name": "v_fn_48", "offset": 192 }, { "type": "void*", "name": "v_fn_49", "offset": 196 }, { "type": "void*", "name": "v_fn_50", "offset": 200 }, { "type": "void*", "name": "v_fn_51_MasterEnableSet", "offset": 204 }, { "type": "void*", "name": "v_fn_52_PoolSizeSet", "offset": 208 }, { "type": "void*", "name": "v_fn_53_PoolDestroy", "offset": 212 }, { "type": "void*", "name": "v_fn_54_BufLock", "offset": 216 }, { "type": "void*", "name": "v_fn_55_BufUnlock", "offset": 220 }, { "type": "void*", "name": "v_fn_56_BufData", "offset": 224 }, { "type": "void*", "name": "v_fn_57_TexCreate", "offset": 228 }, { "type": "void*", "name": "v_fn_58_TexDestroy", "offset": 232 }, { "type": "void*", "name": "v_fn_59_TexCopy", "offset": 236 }, { "type": "void*", "name": "v_fn_60", "offset": 240 }, { "type": "void*", "name": "v_fn_61", "offset": 244 }, { "type": "void*", "name": "v_fn_62", "offset": 248 }, { "type": "void*", "name": "v_fn_63", "offset": 252 }, { "type": "void*", "name": "v_fn_64", "offset": 256 }, { "type": "void*", "name": "v_fn_65", "offset": 260 }, { "type": "void*", "name": "v_fn_66", "offset": 264 }, { "type": "void*", "name": "v_fn_67", "offset": 268 }, { "type": "void*", "name": "v_fn_68_ShaderCreate", "offset": 272 }, { "type": "void*", "name": "v_fn_69", "offset": 276 }, { "type": "void*", "name": "v_fn_70_ShaderConstantsSet", "offset": 280 }, { "type": "void*", "name": "v_fn_71", "offset": 284 }, { "type": "void*", "name": "v_fn_72", "offset": 288 }, { "type": "void*", "name": "v_fn_73", "offset": 292 }, { "type": "void*", "name": "v_fn_74", "offset": 296 }, { "type": "void*", "name": "v_fn_75", "offset": 300 }, { "type": "void*", "name": "v_fn_76", "offset": 304 }, { "type": "void*", "name": "v_fn_77", "offset": 308 }, { "type": "void*", "name": "v_fn_78", "offset": 312 }, { "type": "void*", "name": "v_fn_79", "offset": 316 }, { "type": "void*", "name": "v_fn_80", "offset": 320 }, { "type": "void*", "name": "v_fn_81", "offset": 324 }, { "type": "void*", "name": "v_fn_82", "offset": 328 }, { "type": "void*", "name": "v_fn_83", "offset": 332 } ] }, { "name": "CGxStateBom", "members": [ { "type": "CGxStateBom__m_data", "name": "m_data" }, { "type": "int32_t", "name": "filler", "offset": 12 } ] }, { "name": "TSGrowableArray_CGxPushedRenderState", "members": [ { "type": "uint32_t", "name": "m_alloc" }, { "type": "uint32_t", "name": "m_count", "offset": 4 }, { "type": "CGxPushedRenderState*", "name": "m_data", "offset": 8 }, { "type": "uint32_t", "name": "m_chunk", "offset": 12 } ] }, { "name": "TSGrowableArray_uint32_t", "members": [ { "type": "uint32_t", "name": "m_alloc" }, { "type": "uint32_t", "name": "m_count", "offset": 4 }, { "type": "uint32_t*", "name": "m_data", "offset": 8 }, { "type": "uint32_t", "name": "m_chunk", "offset": 12 } ] }, { "name": "CGxFormat", "members": [ { "type": "uint32_t", "name": "unk0" }, { "type": "bool", "name": "hwTnL", "offset": 4 }, { "type": "bool", "name": "hwCursor", "offset": 5 }, { "type": "int8_t", "name": "fixLag", "offset": 6 }, { "type": "int8_t", "name": "window", "offset": 7 }, { "type": "uint32_t", "name": "unk8", "offset": 8 }, { "type": "int32_t", "name": "maximize", "offset": 12 }, { "type": "CGxFormat__Format", "name": "depthFormat", "offset": 16 }, { "type": "C2iVector", "name": "size", "offset": 20 }, { "type": "uint32_t", "name": "unk1C", "offset": 28 }, { "type": "uint32_t", "name": "sampleCount", "offset": 32 }, { "type": "float", "name": "float24", "offset": 36 }, { "type": "CGxFormat__Format", "name": "colorFormat", "offset": 40 }, { "type": "uint32_t", "name": "refreshRate", "offset": 44 }, { "type": "uint32_t", "name": "vsync", "offset": 48 }, { "type": "uint32_t", "name": "unk34", "offset": 52 }, { "type": "uint32_t", "name": "unk38", "offset": 56 }, { "type": "uint32_t", "name": "unk3C", "offset": 60 }, { "type": "uint32_t", "name": "unk40", "offset": 64 }, { "type": "uint32_t", "name": "unk44", "offset": 68 }, { "type": "uint32_t", "name": "unk48", "offset": 72 }, { "type": "uint32_t", "name": "unk4C", "offset": 76 }, { "type": "C2iVector", "name": "pos", "offset": 80 } ] }, { "name": "CGxMatrixStack", "members": [ { "type": "uint32_t", "name": "m_level" }, { "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": "TSFixedArray_CGxAppRenderState", "members": [ { "type": "uint32_t", "name": "m_alloc" }, { "type": "uint32_t", "name": "m_count", "offset": 4 }, { "type": "CGxAppRenderState*", "name": "m_data", "offset": 8 } ] }, { "name": "TSFixedArray_CGxStateBom", "members": [ { "type": "uint32_t", "name": "m_alloc" }, { "type": "uint32_t", "name": "m_count", "offset": 4 }, { "type": "CGxStateBom*", "name": "m_data", "offset": 8 } ] }, { "name": "CGxTex", "members": [ { "type": "CiRect", "name": "m_updateRect" }, { "type": "int16_t", "name": "m_updatePlaneMin", "offset": 16 }, { "type": "int16_t", "name": "m_updatePlaneMax", "offset": 18 }, { "type": "uint32_t", "name": "m_width", "offset": 20 }, { "type": "uint32_t", "name": "m_height", "offset": 24 }, { "type": "uint32_t", "name": "m_depth", "offset": 28 }, { "type": "uint32_t", "name": "m_target", "offset": 32 }, { "type": "uint32_t", "name": "m_format", "offset": 36 }, { "type": "uint32_t", "name": "m_dataFormat", "offset": 40 }, { "type": "CGxTexFlags", "name": "m_flags", "offset": 44 }, { "type": "void*", "name": "m_userArg", "offset": 48 }, { "type": "void*", "name": "m_userFunc", "offset": 52 }, { "type": "void*", "name": "m_apiSpecificData", "offset": 56 }, { "type": "void*", "name": "m_apiSpecificData2", "offset": 60 }, { "type": "uint32_t", "name": "unk40", "offset": 64 }, { "type": "uint32_t", "name": "unk44", "offset": 68 }, { "type": "uint32_t", "name": "unk48", "offset": 72 }, { "type": "uint32_t", "name": "unk4C", "offset": 76 }, { "type": "uint32_t", "name": "unk50", "offset": 80 }, { "type": "uint32_t", "name": "unk54", "offset": 84 }, { "type": "int8_t", "name": "char58", "offset": 88 }, { "type": "int8_t", "name": "char59", "offset": 89 }, { "type": "int8_t", "name": "m_needsUpdate", "offset": 90 }, { "type": "int8_t", "name": "m_needsCreation", "offset": 91 }, { "type": "int8_t", "name": "m_needsFlagUpdate", "offset": 92 }, { "type": "int8_t", "name": "char5D", "offset": 93 }, { "type": "uint16_t", "name": "m_pad", "offset": 94 } ] }, { "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", "members": [ { "type": "uint32_t", "name": "m_hashval" }, { "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": "TSGrowableArray_uint8_t", "members": [ { "type": "uint32_t", "name": "m_alloc" }, { "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": "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": "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": "D3DCAPS9", "members": [ { "type": "D3DDEVTYPE", "name": "DeviceType" }, { "type": "uint32_t", "name": "AdapterOrdinal", "offset": 8 }, { "type": "uint32_t", "name": "Caps", "offset": 12 }, { "type": "uint32_t", "name": "Caps2", "offset": 16 }, { "type": "uint32_t", "name": "Caps3", "offset": 20 }, { "type": "uint32_t", "name": "PresentationIntervals", "offset": 24 }, { "type": "uint32_t", "name": "CursorCaps", "offset": 28 }, { "type": "uint32_t", "name": "DevCaps", "offset": 32 }, { "type": "uint32_t", "name": "PrimitiveMiscCaps", "offset": 36 }, { "type": "uint32_t", "name": "RasterCaps", "offset": 40 }, { "type": "uint32_t", "name": "ZCmpCaps", "offset": 44 }, { "type": "uint32_t", "name": "SrcBlendCaps", "offset": 48 }, { "type": "uint32_t", "name": "DestBlendCaps", "offset": 52 }, { "type": "uint32_t", "name": "AlphaCmpCaps", "offset": 56 }, { "type": "uint32_t", "name": "ShadeCaps", "offset": 60 }, { "type": "uint32_t", "name": "TextureCaps", "offset": 64 }, { "type": "uint32_t", "name": "TextureFilterCaps", "offset": 68 }, { "type": "uint32_t", "name": "CubeTextureFilterCaps", "offset": 72 }, { "type": "uint32_t", "name": "VolumeTextureFilterCaps", "offset": 76 }, { "type": "uint32_t", "name": "TextureAddressCaps", "offset": 80 }, { "type": "uint32_t", "name": "VolumeTextureAddressCaps", "offset": 84 }, { "type": "uint32_t", "name": "LineCaps", "offset": 88 }, { "type": "uint32_t", "name": "MaxTextureWidth", "offset": 92 }, { "type": "uint32_t", "name": "MaxTextureHeight", "offset": 96 }, { "type": "uint32_t", "name": "MaxVolumeExtent", "offset": 100 }, { "type": "uint32_t", "name": "MaxTextureRepeat", "offset": 104 }, { "type": "uint32_t", "name": "MaxTextureAspectRatio", "offset": 108 }, { "type": "uint32_t", "name": "MaxAnisotropy", "offset": 112 }, { "type": "float", "name": "MaxVertexW", "offset": 116 }, { "type": "float", "name": "GuardBandLeft", "offset": 120 }, { "type": "float", "name": "GuardBandTop", "offset": 124 }, { "type": "float", "name": "GuardBandRight", "offset": 128 }, { "type": "float", "name": "GuardBandBottom", "offset": 132 }, { "type": "float", "name": "ExtentsAdjust", "offset": 136 }, { "type": "uint32_t", "name": "StencilCaps", "offset": 140 }, { "type": "uint32_t", "name": "FVFCaps", "offset": 144 }, { "type": "uint32_t", "name": "TextureOpCaps", "offset": 148 }, { "type": "uint32_t", "name": "MaxTextureBlendStages", "offset": 152 }, { "type": "uint32_t", "name": "MaxSimultaneousTextures", "offset": 156 }, { "type": "uint32_t", "name": "VertexProcessingCaps", "offset": 160 }, { "type": "uint32_t", "name": "MaxActiveLights", "offset": 164 }, { "type": "uint32_t", "name": "MaxUserClipPlanes", "offset": 168 }, { "type": "uint32_t", "name": "MaxVertexBlendMatrices", "offset": 172 }, { "type": "uint32_t", "name": "MaxVertexBlendMatrixIndex", "offset": 176 }, { "type": "float", "name": "MaxPointSize", "offset": 180 }, { "type": "uint32_t", "name": "MaxPrimitiveCount", "offset": 184 }, { "type": "uint32_t", "name": "MaxVertexIndex", "offset": 188 }, { "type": "uint32_t", "name": "MaxStreams", "offset": 192 }, { "type": "uint32_t", "name": "MaxStreamStride", "offset": 196 }, { "type": "uint32_t", "name": "VertexShaderVersion", "offset": 200 }, { "type": "uint32_t", "name": "MaxVertexShaderConst", "offset": 204 }, { "type": "uint32_t", "name": "PixelShaderVersion", "offset": 208 }, { "type": "float", "name": "PixelShader1xMaxValue", "offset": 212 }, { "type": "uint32_t", "name": "DevCaps2", "offset": 216 }, { "type": "float", "name": "MaxNpatchTessellationLevel", "offset": 220 }, { "type": "uint32_t", "name": "Reserved5", "offset": 224 }, { "type": "uint32_t", "name": "MasterAdapterOrdinal", "offset": 228 }, { "type": "uint32_t", "name": "AdapterOrdinalInGroup", "offset": 232 }, { "type": "uint32_t", "name": "NumberOfAdaptersInGroup", "offset": 236 }, { "type": "uint32_t", "name": "DeclTypes", "offset": 240 }, { "type": "uint32_t", "name": "NumSimultaneousRTs", "offset": 244 }, { "type": "uint32_t", "name": "StretchRectFilterCaps", "offset": 248 }, { "type": "D3DVSHADERCAPS2_0", "name": "VS20Caps", "offset": 252 }, { "type": "D3DPSHADERCAPS2_0", "name": "PS20Caps", "offset": 268 }, { "type": "uint32_t", "name": "VertexTextureFilterCaps", "offset": 288 }, { "type": "uint32_t", "name": "MaxVShaderInstructionsExecuted", "offset": 292 }, { "type": "uint32_t", "name": "MaxPShaderInstructionsExecuted", "offset": 296 }, { "type": "uint32_t", "name": "MaxVertexShader30InstructionSlots", "offset": 300 }, { "type": "uint32_t", "name": "MaxPixelShader30InstructionSlots", "offset": 304 } ] }, { "name": "IDirect3DVertexDeclaration9", "members": [ { "type": "void**", "name": "v_vtable" } ] }, { "name": "D3DDISPLAYMODE", "members": [ { "type": "uint32_t", "name": "Width" }, { "type": "uint32_t", "name": "Height", "offset": 4 }, { "type": "uint32_t", "name": "RefreshRate", "offset": 8 }, { "type": "D3DFORMAT", "name": "Format", "offset": 12 } ] }, { "name": "IDirect3DSurface9", "members": [ { "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": "uint32_t", "name": "Caps" }, { "type": "int32_t", "name": "DynamicFlowControlDepth", "offset": 4 }, { "type": "int32_t", "name": "NumTemps", "offset": 8 }, { "type": "int32_t", "name": "StaticFlowControlDepth", "offset": 12 } ] }, { "name": "D3DPSHADERCAPS2_0", "members": [ { "type": "uint32_t", "name": "Caps" }, { "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 } ] } ], "unions": [ { "name": "ubyte4__0000", "members": [ { "type": "uint8_t", "name": "b", "arrsize": 4 }, { "type": "uint32_t", "name": "u" } ] }, { "name": "CGxStateBom__m_data", "members": [ { "type": "int32_t", "name": "i", "arrsize": 3 }, { "type": "uint32_t", "name": "u", "arrsize": 3 }, { "type": "float", "name": "f", "arrsize": 3 }, { "type": "void*", "name": "p" } ] } ] }