feat(3.3.5a): add some cursor stuff

This commit is contained in:
phaneron 2024-08-29 16:55:37 -04:00
parent 571579c3c4
commit d8292530c9
11 changed files with 184 additions and 21 deletions

View file

@ -9,6 +9,8 @@ static import_data_types() {
apply_type(0x004B78A0, "int32_t __usercall func@<eax>(char* ext@<eax>, char* filename, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, PIXEL_FORMAT* texFormat, int32_t* isOpaque@<ecx>, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)");
apply_type(0x004B8070, "int32_t __usercall func@<eax>(char* ext@<eax>, char* filename@<ebx>, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, uint32_t* isOpaque, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)");
apply_type(0x004B81D0, "MipBits* func(const char* filename, uint32_t* width, uint32_t* height, PIXEL_FORMAT* dataFormat, int32_t* isOpaque, CStatus* status, uint32_t* alphaBits, int32_t a8)");
apply_type(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(0x006AA3B0, "int32_t __thiscall func(CTgaFile* this)");
apply_type(0x006AA3E0, "uint32_t __thiscall func(CTgaFile* this)");
apply_type(0x006AA420, "void __thiscall func(CTgaFile* this, uint8_t* pAlphaData, uint8_t* pNoAlphaData, uint8_t* alpha)");
@ -29,6 +31,10 @@ static import_data_types() {
apply_type(0x006AE900, "int32_t __thiscall func(CBLPFile* this, void* fileBits)");
apply_type(0x006AE990, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)");
apply_type(0x006AE9E0, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)");
apply_type(0x006AEBA0, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
apply_type(0x006AEE70, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
apply_type(0x006AF140, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
apply_type(0x006AF340, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
apply_type(0x006AF6A0, "uint32_t __thiscall func(CBLPFile* this, uint32_t mipLevel)");
apply_type(0x006AF730, "int32_t __thiscall func(CBLPFile *this, PIXEL_FORMAT format, uint32_t mipLevel, uint32_t* size, uint32_t* stride)");
apply_type(0x006AF810, "int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint8_t* data, void* tempBuffer)");
@ -44,11 +50,13 @@ static import_data_types() {
apply_type(0x00774640, "void __thiscall func(SCritSect *this)");
apply_type(0x00774650, "void __thiscall func(SCritSect *this)");
apply_type(0x00819EA0, "void __stdcall func(int32_t function, FrameScript_Object* object, int32_t args, char* args_fmt, FrameScript_EventObject* eventObject)");
apply_type(0x00AD2808, "char*[54]");
apply_type(0x00AD2808, "char*[53]");
apply_type(0x00AD90B0, "uint8_t[16]");
apply_type(0x00AD90C0, "uint8_t[2]");
apply_type(0x00B417C8, "uint32_t");
apply_type(0x00B417D0, "int32_t");
apply_type(0x00B41850, "CDataRecycler");
apply_type(0x00C25CD0, "int8_t");
apply_type(0x00C26DF0, "CImVector[54][1024]");
apply_type(0x00C26DE8, "CURSORMODE");
apply_type(0x00C26DF0, "CImVector[53][1024]");
}

View file

@ -2077,7 +2077,9 @@ static main() {
set_name(0x00614E60, "Script_GetVehicleUIIndicator");
set_name(0x00614EF0, "Script_GetVehicleUIIndicatorSeat");
set_name(0x006160B0, "CopyCursorImage");
set_name(0x006162C0, "UpdateCursor");
set_name(0x006163B0, "CursorInitialize");
set_name(0x00616800, "CursorSetMode");
set_name(0x00616AD0, "GxXformPush_EGxXform_C44Matrix");
set_name(0x00632050, "nullsub_4");
set_name(0x00653A10, "nullsub_5");
@ -2394,6 +2396,7 @@ static main() {
set_name(0x00809EA0, "Script_SpellStopCasting");
set_name(0x0080DC00, "Script_SpellTargetUnit");
set_name(0x00819EA0, "FrameScript_Execute");
set_name(0x0081B530, "FrameScript_SignalEvent");
set_name(0x0081B720, "Script_GetText");
set_name(0x0081B7B0, "Script_CreateFont");
set_name(0x0081B820, "Script_GetCurrentKeyBoardFocus");
@ -2627,6 +2630,7 @@ static main() {
set_name(0x00A2E718, "CGxDeviceD3d__vtable");
set_name(0x00A2F500, "CGxDeviceD3d9Ex__vtable");
set_name(0x00AD2808, "s_cursorNames");
set_name(0x00AD90B0, "CBLPFile__s_eightBitAlphaLookup");
set_name(0x00AD90C0, "CBLPFile__s_oneBitAlphaLookup");
set_name(0x00ADBAB4, "s_rect");
set_name(0x00ADBAC4, "s_consoleHotKey");
@ -2638,6 +2642,8 @@ static main() {
set_name(0x00B417D0, "s_interactiveCount");
set_name(0x00B41850, "s_messageRecycler");
set_name(0x00C25CD0, "s_cursorFile");
set_name(0x00C25DD4, "s_cursorItemMipsWidth");
set_name(0x00C25DD8, "s_cursorItemMipsHeight");
set_name(0x00C25DDC, "s_cursorItemMips");
set_name(0x00C25DE0, "s_cursorItemType");
set_name(0x00C25DE4, "s_cursorResetMode");
@ -6780,8 +6786,12 @@ static main() {
set_func_end(0x00614EF0, 0x00614FC6);
set_func_start(0x006160B0, 0x006160B0);
set_func_end(0x006160B0, 0x00616211);
set_func_start(0x006162C0, 0x006162C0);
set_func_end(0x006162C0, 0x006163AD);
set_func_start(0x006163B0, 0x006163B0);
set_func_end(0x006163B0, 0x006164A5);
set_func_start(0x00616800, 0x00616800);
set_func_end(0x00616800, 0x0061682E);
set_func_start(0x00616AD0, 0x00616AD0);
set_func_end(0x00616AD0, 0x00616AE8);
set_func_start(0x00632050, 0x00632050);
@ -7403,6 +7413,8 @@ static main() {
set_func_end(0x0080DC00, 0x0080DCE3);
set_func_start(0x00819EA0, 0x00819EA0);
set_func_end(0x00819EA0, 0x0081A2B5);
set_func_start(0x0081B530, 0x0081B530);
set_func_end(0x0081B530, 0x0081B549);
set_func_start(0x0081B720, 0x0081B720);
set_func_end(0x0081B720, 0x0081B7AF);
set_func_start(0x0081B7B0, 0x0081B7B0);