feat(profile): update

This commit is contained in:
phaneron 2024-11-27 06:53:14 -05:00
parent 70d2ba2b00
commit 157c859ad4
9 changed files with 946 additions and 760 deletions

View file

@ -23,14 +23,19 @@ static import_data_types() {
apply_type(0x006160B0, "int32_t __usercall func@<eax>(uint32_t** image@<eax>, MipBits* mipImages@<ecx>, uint32_t width@<edx>, uint32_t height)");
apply_type(0x00616800, "void __stdcall func(CURSORMODE mode)");
apply_type(0x00681A60, "void __stdcall func()");
apply_type(0x00681AB0, "void __stdcall func(uint32_t indexCount, uint16_t* indices)");
apply_type(0x00681B00, "void __stdcall func(CGxBuf* buf, EGxVertexBufferFormat format)");
apply_type(0x00681F60, "void __stdcall func(float minX, float maxX, float minY, float maxY, float minZ, float maxZ)");
apply_type(0x00682340, "void __stdcall func(EGxPrim primType, uint32_t, uint16_t*)");
apply_type(0x006823A0, "void __stdcall func(EGxPrim primType, uint32_t indexCount, uint16_t* indices)");
apply_type(0x00682400, "void __stdcall func(uint32_t vertexCount, C3Vector* pos, uint32_t posStride, C3Vector* normal, uint32_t normalStride, CImVector* color, uint32_t colorStride, C2Vector* tex0, uint32_t tex0Stride, C2Vector* tex1, uint32_t tex1Stride)");
apply_type(0x006828C0, "void __stdcall func(uint32_t vertexCount, C3Vector* pos, uint32_t posStride, C3Vector* normal, uint32_t normalStride, CImVector* color, uint32_t colorStride, uint8_t* bone, uint32_t boneStride, C2Vector* tex0, uint32_t tex0Stride, C2Vector* tex1, uint32_t tex1Stride)");
apply_type(0x00682CB0, "void __thiscall func(CGxDevice* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)");
apply_type(0x00682CD0, "void __thiscall func(CGxDevice* this, CGxFormat* format)");
apply_type(0x00682CF0, "void __thiscall func(CGxDevice* this)");
apply_type(0x00682D00, "void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)");
apply_type(0x00682D20, "EGxApi __thiscall func(CGxDevice* this)");
apply_type(0x00682D30, "void __thiscall func(CGxDevice* this)");
apply_type(0x00682D40, "int32_t __thiscall func(CGxDevice* this)");
apply_type(0x00682D70, "CRect* __thiscall func(CGxDevice* this)");
apply_type(0x00682DC0, "int32_t __thiscall func(CGxDevice* this, int32_t a2)");
@ -56,6 +61,7 @@ static import_data_types() {
apply_type(0x006840F0, "int32_t __thiscall func(CGxDevice* this, CGxFormat* format)");
apply_type(0x00684170, "void __thiscall func(CGxDevice* this, float gamma)");
apply_type(0x00684190, "int32_t __thiscall func(CGxDevice* this, CGxGammaRamp* ramp)");
apply_type(0x00684260, "void __thiscall func(CGxDevice* this, uint32_t* w, uint32_t* h, CImVector** pixels)");
apply_type(0x00684360, "void __thiscall func(CGxDevice* this, CRect* rect)");
apply_type(0x006843B0, "void __thiscall func(CGxDevice* this)");
apply_type(0x006843E0, "void __thiscall func(CGxDevice* this)");
@ -75,8 +81,8 @@ static import_data_types() {
apply_type(0x006853D0, "int32_t __thiscall func(CGxDevice* this, DEVICERESTOREDCALLBACK fn)");
apply_type(0x00685460, "void __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)");
apply_type(0x00685480, "int32_t __thiscall func(CGxDevice* this, TEXTURERECREATIONCALLBACK fn)");
apply_type(0x00685510, "void __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)");
apply_type(0x00685530, "int32_t __thiscall func(CGxDevice* this, DISPLAYCHANGECALLBACK fn)");
apply_type(0x00685510, "void __thiscall func(CGxDevice* this, STEREOCHANGEDCALLBACK fn)");
apply_type(0x00685530, "int32_t __thiscall func(CGxDevice* this, STEREOCHANGEDCALLBACK fn)");
apply_type(0x00685970, "void __thiscall func(CGxDevice* this, EGxRenderState which)");
apply_type(0x006859E0, "void __thiscall func(CGxDevice* this, EGxRenderState which)");
apply_type(0x00685A70, "void __thiscall func(CGxDevice* this)");

View file

@ -39,6 +39,7 @@ static import_functions() {
set_func_cmt(0x00684C40, "CGxDevice::Log(CGxCaps const&) const", 0);
set_func_cmt(0x006859E0, "CGxDevice::IRsForceUpdate(EGxRenderState)", 0);
set_func_cmt(0x00685A70, "CGxDevice::IRsForceUpdate()", 0);
set_func_cmt(0x0069FE10, "UC (invented name)", 0);
set_func_cmt(0x006AA350, "UC", 0);
set_func_cmt(0x006AA420, "private utility method", 0);
set_func_cmt(0x006AB390, "public method", 0);

View file

@ -123,6 +123,7 @@ static import_symbols() {
set_name(0x0047FC20, "IEvtInputSetConfirmCloseCallback");
set_name(0x0047FC90, "ConvertPosition");
set_name(0x004800A0, "IEvtInputGetMousePosition");
set_name(0x00480130, "ProcessInput");
set_name(0x00480410, "IEvtInputProcess");
set_name(0x004804B0, "IEvtQueueDestroy");
set_name(0x004804C0, "IEvtQueueCheckSyncMouseState");
@ -2105,7 +2106,7 @@ static import_symbols() {
set_name(0x00681F60, "GxXformSetViewport");
set_name(0x00682340, "GxDrawLockedElements@2");
set_name(0x006823A0, "GxPrimLockIndexPtr");
set_name(0x00682400, "GxPrimVertexPtr_FFP");
set_name(0x00682400, "GxPrimVertexPtr@2");
set_name(0x006828C0, "GxPrimLockVertexPtrs");
set_name(0x00682A00, "GxScenePresent");
set_name(0x00682CB0, "CGxDevice__DeviceCreate_WindowProc_CGxFormat");
@ -2113,6 +2114,7 @@ static import_symbols() {
set_name(0x00682CF0, "CGxDevice__DeviceDestroy");
set_name(0x00682D00, "CGxDevice__DeviceSetBaseMipLevel");
set_name(0x00682D20, "CGxDevice__DeviceApi");
set_name(0x00682D30, "CGxDevice__DeviceTakeScreenShot");
set_name(0x00682D40, "CGxDevice__IDevIsWindowed");
set_name(0x00682D70, "CGxDevice__DeviceCurWindow");
set_name(0x00682DC0, "CGxDevice__CapsIsWindowVisible");
@ -2138,10 +2140,11 @@ static import_symbols() {
set_name(0x006840F0, "CGxDevice__DeviceSetFormat");
set_name(0x00684170, "CGxDevice__DeviceSetGamma_float");
set_name(0x00684190, "CGxDevice__DeviceSetGamma_CGxGammaRamp");
set_name(0x00684260, "CGxDevice__DeviceReadScreenShot");
set_name(0x00684360, "CGxDevice__DeviceSetDefWindow");
set_name(0x006843B0, "CGxDevice__NotifyOnDeviceRestored");
set_name(0x006843E0, "CGxDevice__NotifyOnTextureRecreation");
set_name(0x00684410, "CGxDevice__NotifyOnDisplayChange");
set_name(0x00684410, "CGxDevice__NotifyOnStereoChanged");
set_name(0x00684440, "CGxDevice__ClipPlaneSet");
set_name(0x006847D0, "CGxDevice__LightSet");
set_name(0x00684850, "CGxDevice__BufStream");
@ -2157,8 +2160,8 @@ static import_symbols() {
set_name(0x006853D0, "CGxDevice__RemoveDeviceRestoredCallback");
set_name(0x00685460, "CGxDevice__AddTextureRecreationCallback");
set_name(0x00685480, "CGxDevice__RemoveTextureRecreationCallback");
set_name(0x00685510, "CGxDevice__AddDisplayChangeCallback");
set_name(0x00685530, "CGxDevice__RemoveDisplayChangeCallback");
set_name(0x00685510, "CGxDevice__AddStereoChangedCallback");
set_name(0x00685530, "CGxDevice__RemoveStereoChangedCallback");
set_name(0x00685970, "CGxDevice__IRsDirty");
set_name(0x006859E0, "CGxDevice__IRsForceUpdate_EGxRenderState");
set_name(0x00685A70, "CGxDevice__IRsForceUpdate");