feat(profile): more bc routines

This commit is contained in:
phaneron 2025-03-06 16:40:31 -05:00
parent 1e6fb307de
commit fb267a5683
35 changed files with 818 additions and 2959 deletions

View file

@ -6,7 +6,45 @@ static import_data_types() {
apply_type(0x00401030, "void __stdcall func(void* ptr)");
apply_type(0x00408070, "void __stdcall func(float* minX, float* maxX, float* minY, float* maxY, float* minZ, float* maxZ)");
apply_type(0x00409670, "void __thiscall func(CGxDevice* this)");
apply_type(0x004271D0, "bool __stdcall func(char* name, Blizzard__File__Info* info)");
apply_type(0x00427250, "Blizzard__File__Info* __stdcall func(Blizzard__File__StreamRecord* file)");
apply_type(0x004272C0, "bool __stdcall func(Blizzard__File__StreamRecord* file, Blizzard__File__FileInfo* info)");
apply_type(0x00427CC0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00427D10, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00428500, "char* __stdcall func(char* str)");
apply_type(0x00428670, "int32_t __stdcall func(char* dst, const char* src, int32_t count)");
apply_type(0x00428940, "int32_t __stdcall func(uint8_t* dst, uint32_t dstmaxchars, const uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)");
apply_type(0x00428B00, "int32_t __stdcall func(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)");
apply_type(0x00428F00, "Blizzard__Time__Timestamp __stdcall func(uint64_t fileTime)");
apply_type(0x0042D440, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x0042D620, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x004325C0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00433590, "void __stdcall func(uint8_t *buffer, uint32_t buffersize, const char *str)");
apply_type(0x00435580, "void __stdcall func(Blizzard__File__StreamRecord* file)");
apply_type(0x004356B0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00435790, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00435890, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x004359C0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454A50, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454AC0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454AE0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454B50, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454CB0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454CF0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454E70, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00454FD0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455050, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x004550C0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455130, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x004554C0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455730, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x004558F0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455910, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455A30, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455B10, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455BA0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455CA0, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x00455D20, "int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)");
apply_type(0x0047B6F0, "int32_t __stdcall func(CMDOPT)");
apply_type(0x0047B700, "char* __stdcall func(CMDOPT)");
apply_type(0x0047B720, "int32_t __stdcall func()");
@ -46,13 +84,17 @@ static import_data_types() {
apply_type(0x004BE9C0, "HTEXTFONT __stdcall func(char* fontName, uint32_t fontFlags, float fontHeight)");
apply_type(0x004C4B80, "void __thiscall func(TSGrowableArray_C3Vector* this, uint32_t count)");
apply_type(0x00532AF0, "CGxCaps* __thiscall func(CGxDevice* this)");
apply_type(0x0054EFE0, "void __fastcall func(TSGrowableArray_C2iVector* this, C2iVector* resolution)");
apply_type(0x0057FDD0, "void __thiscall func(TSGrowableArray_C2Vector* this, uint32_t count)");
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(0x00616CA0, "void __thiscall func(TSGrowableArray_CImVector* this, uint32_t count)");
apply_type(0x006811D0, "int32_t __stdcall func(EGxApi api)");
apply_type(0x00681210, "int32_t __stdcall func(TSGrowableArray_CGxMonitorMode* modes)");
apply_type(0x00681220, "int32_t __stdcall func(CGxMonitorMode* mode)");
apply_type(0x00681630, "void __stdcall func(CGxQuery** query, EGxQueryType type)");
apply_type(0x00681770, "void __stdcall func(uint32_t maxFPS)");
apply_type(0x00681790, "void __stdcall func(uint32_t maxFPSBk)");
apply_type(0x006817C0, "void __stdcall func()");
apply_type(0x006817E0, "int __stdcall func(char* format, ...)");
apply_type(0x00681A60, "void __stdcall func()");
@ -147,7 +189,12 @@ static import_data_types() {
apply_type(0x006890C0, "void __thiscall func(CGxDevice* this)");
apply_type(0x00689690, "void __thiscall func(CGxDevice* this, uint8_t __flags)");
apply_type(0x006897C0, "void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)");
apply_type(0x00689E80, "int32_t __stdcall func(void* a, void* b)");
apply_type(0x00689EA0, "int32_t __stdcall func(PDISPLAY_DEVICEA device, uint32_t flag)");
apply_type(0x00689EF0, "CGxDevice* __stdcall func()");
apply_type(0x0068A090, "CGxMonitorMode* __thiscall func(TSGrowableArray_CGxMonitorMode* this)");
apply_type(0x0068A0F0, "void __thiscall func(TSGrowableArray_CGxMonitorMode* this, uint32_t count)");
apply_type(0x0068A4C0, "void __stdcall func(TSGrowableArray_CGxMonitorMode* modes)");
apply_type(0x0068BBC0, "void __thiscall func(CGxDeviceOpenGl* this)");
apply_type(0x0068BF20, "CGxDevice* __stdcall func()");
apply_type(0x0068C220, "CGxDevice* __stdcall func()");
@ -304,6 +351,7 @@ static import_data_types() {
apply_type(0x00769610, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x00769650, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x007696A0, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x007696D0, "void __stdcall func(char* list)");
apply_type(0x00769810, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x00769830, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x00769860, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
@ -373,8 +421,8 @@ static import_data_types() {
apply_type(0x00818070, "void __stdcall func(lua_State* L, int startIndex, char* buffer, uint32_t bufferSize)");
apply_type(0x00819830, "void __thiscall func(FrameScript_Object* this)");
apply_type(0x00819EA0, "void __stdcall func(int32_t function, FrameScript_Object* object, int32_t args, char* args_fmt, FrameScript_EventObject* eventObject)");
apply_type(0x0086BBA0, "uint64_t __stdcall func()");
apply_type(0x0086E200, "void __thiscall func(TSExplicitList_CGxBuf* this, CGxBuf* ptr)");
apply_type(0x008A1420, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
apply_type(0x008C8DE0, "EGxApi __stdcall func()");
apply_type(0x0095BFB0, "int32_t __stdcall func()");
apply_type(0x0095F3A0, "void __thiscall func(CSimpleModel* this)");
@ -423,9 +471,13 @@ static import_data_types() {
apply_type(0x00961470, "int32_t __stdcall func(lua_State* L)");
apply_type(0x009614B0, "int32_t __stdcall func(lua_State* L)");
apply_type(0x009AD000, "void __thiscall func(DayNight__DNGlare* this, char* a1)");
apply_type(0x009E537C, "uint32_t[7]");
apply_type(0x009E5398, "uint8_t[256]");
apply_type(0x009E9EC8, "uint32_t[7]");
apply_type(0x00A2DDC0, "CGxDevice__vtable");
apply_type(0x00AB90AC, "Blizzard__File__Filesystem*");
apply_type(0x00AB91C0, "Blizzard__File__Filesystem");
apply_type(0x00AB92C0, "Blizzard__File__Filesystem");
apply_type(0x00AC1B9C, "TSExplicitList_CILayer");
apply_type(0x00AD2808, "char*[53]");
apply_type(0x00AD305C, "WowClientDB_AchievementRec");
@ -679,11 +731,14 @@ static import_data_types() {
apply_type(0x00ADBEC0, "float[4][2]");
apply_type(0x00ADBEE0, "float[4][2]");
apply_type(0x00ADBF00, "float[5][2]");
apply_type(0x00ADBF88, "WowClientDB_VideoHardwareRec");
apply_type(0x00AF4998, "WowClientDB_LightSkyboxRec");
apply_type(0x00AF49BC, "WowClientDB_LightIntBandRec");
apply_type(0x00AF49E0, "WowClientDB_LightFloatBandRec");
apply_type(0x00AF4A04, "WowClientDB_LightParamsRec");
apply_type(0x00AF4A28, "WowClientDB_LightRec");
apply_type(0x00B38A5C, "Blizzard__Lock__DoOnceData");
apply_type(0x00B38A64, "Blizzard__Lock__DoOnceData");
apply_type(0x00B417C8, "uint32_t");
apply_type(0x00B417D0, "int32_t");
apply_type(0x00B41850, "CDataRecycler");
@ -693,6 +748,8 @@ static import_data_types() {
apply_type(0x00C26DE8, "CURSORMODE");
apply_type(0x00C26DF0, "uint32_t[53][1024]");
apply_type(0x00C5DE9C, "int32_t");
apply_type(0x00C5DF74, "uint32_t");
apply_type(0x00C5DF7C, "uint32_t");
apply_type(0x00C5DF88, "CGxDevice*");
apply_type(0x00C5FFF8, "HSLOG");
apply_type(0x00CA1690, "float");
@ -740,6 +797,7 @@ static import_data_types() {
apply_type(0x00CABABC, "CVar*");
apply_type(0x00CABAC0, "CVar*");
apply_type(0x00CABAC4, "CVar*");
apply_type(0x00CABAC8, "int32_t[9]");
apply_type(0x00CABAEC, "CVar*");
apply_type(0x00CABAF0, "DefaultSettings");
apply_type(0x00CABB30, "CVar*");
@ -748,6 +806,7 @@ static import_data_types() {
apply_type(0x00CABB70, "CVar*");
apply_type(0x00CABB74, "CVar*");
apply_type(0x00CABB78, "CVar*");
apply_type(0x00CABB7C, "uint32_t[9]");
apply_type(0x00CABBA0, "CVar*");
apply_type(0x00CABBA4, "CVar*");
apply_type(0x00CABBA8, "CVar*");
@ -764,5 +823,7 @@ static import_data_types() {
apply_type(0x00CABDA8, "CGxFormat");
apply_type(0x00CABE00, "CGxFormat");
apply_type(0x00CABE98, "CGxFormat[5]");
apply_type(0x00D41580, "int32_t");
apply_type(0x00D415C8, "uint64_t");
apply_type(0x00D43020, "int32_t");
}

View file

@ -51,12 +51,14 @@ static import_functions() {
set_func_cmt(0x00659B80, "WowClientDB<CharBaseInfoRec>::LoadRecords(SFile*, char const*, int)", 0);
set_func_cmt(0x0065C290, "00005410", 0);
set_func_cmt(0x0065F520, "WowClientDB<AchievementRec>::GetRecordByIndex(int, void*)", 0);
set_func_cmt(0x006811D0, "00005410", 0);
set_func_cmt(0x00681BE0, "UC", 0);
set_func_cmt(0x00682400, "this is one of the functions named 'GxPrimVertexPtr' that uses the fixed-function pipeline", 0);
set_func_cmt(0x00683670, "static void CGxDevice::LogOpen(void)", 0);
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(0x00689EA0, "UC", 0);
set_func_cmt(0x0069FE10, "UC (invented name)", 0);
set_func_cmt(0x006AA350, "UC", 0);
set_func_cmt(0x006AA420, "private utility method", 0);
@ -110,6 +112,7 @@ static import_functions() {
set_func_cmt(0x0081AC90, "vFrameScript_SignalEvent(unsigned int, char const*, char*)", 0);
set_func_cmt(0x0081B530, "FrameScript_SignalEvent(unsigned int, char const*, ...)", 0);
set_func_cmt(0x0081B5F0, "FrameScript_CreateEvents(char const**, unsigned int)", 0);
set_func_cmt(0x008A1420, "known names: System_File::Shutdown, CVGxVideoOptionsVersionCallback", 0);
set_func_cmt(0x008E5250, "Script_ToggleTris", 0);
set_func_cmt(0x0095D110, "CDataAllocator::GetData(int, char const*, int)", 0);
set_func_cmt(0x0095D1B0, "CDataAllocator::PutData(void*, char const*, int)", 0);

View file

@ -2,8 +2,8 @@
static import_symbols() {
// Set/create names
set_name(0x00401010, "operator_new");
set_name(0x00401030, "operator_delete_array");
set_name(0x00401010, "Blizzard__Memory__Allocate");
set_name(0x00401030, "Blizzard__Memory__Free");
set_name(0x00401070, "CDataStore__FetchWrite");
set_name(0x004010D0, "CDataStore__IsRead");
set_name(0x004010E0, "CDataStore__Reset");
@ -42,12 +42,65 @@ static import_symbols() {
set_name(0x00424F80, "SFile__Open");
set_name(0x004270F0, "Blizzard__File__Close");
set_name(0x00427130, "Blizzard__File__Delete");
set_name(0x004271D0, "Blizzard__File__GetFileInfo");
set_name(0x00427250, "Blizzard__File__GetFileInfo@2");
set_name(0x004272C0, "Blizzard__File__GetFileInfo@3");
set_name(0x004273A0, "Blizzard__File__GetPos");
set_name(0x00427410, "Blizzard__File__GetRootChars");
set_name(0x00427470, "Blizzard__File__GetWorkingDirectory");
set_name(0x004274C0, "Blizzard__File__IsAbsolutePath");
set_name(0x00427500, "Blizzard__File__MakeAbsolutePath");
set_name(0x00427560, "Blizzard__File__Move");
set_name(0x004275B0, "Blizzard__File__Copy");
set_name(0x00427600, "Blizzard__File__Open");
set_name(0x004276C0, "Blizzard__File__Read");
set_name(0x004279B0, "Blizzard__File__Write");
set_name(0x00427C70, "System_File__FromNativeAttributes");
set_name(0x00427CC0, "System_File__ReadP");
set_name(0x00427D10, "System_File__WriteP");
set_name(0x00428500, "Blizzard__String__FindFilename");
set_name(0x00428670, "Blizzard__String__Copy");
set_name(0x00428940, "Blizzard__Unicode__ConvertUTF16to8");
set_name(0x00428B00, "Blizzard__Unicode__ConvertUTF8to16");
set_name(0x00428F00, "Blizzard__Time__FromFileTime");
set_name(0x0042CEA0, "Blizzard__File__CreateDirectory");
set_name(0x0042CFB0, "HoistAll");
set_name(0x0042D440, "System_File__Stacked__file_init");
set_name(0x0042D620, "System_File__Close");
set_name(0x0042E670, "Blizzard__String__Format");
set_name(0x004325C0, "System_File__GetRootChars");
set_name(0x00433590, "System_File__FromNativeName");
set_name(0x00433650, "Blizzard__String__QuickNativePath_300__QuickNativePath");
set_name(0x00435580, "System_File__GetFileInfoByFile");
set_name(0x004356B0, "System_File__Exists");
set_name(0x00435790, "System_File__MakeAbsolutePath");
set_name(0x00435890, "System_File__Move");
set_name(0x004359C0, "System_File__Delete");
set_name(0x00454870, "System_File__read_overlapped");
set_name(0x00454910, "System_File__write_overlapped");
set_name(0x00454A50, "System_File__SetWorkingDirectory");
set_name(0x00454AC0, "System_File__Create");
set_name(0x00454AE0, "System_File__GetWorkingDirectory");
set_name(0x00454B50, "System_File__ProcessDirFast");
set_name(0x00454CB0, "System_File__Flush");
set_name(0x00454CF0, "System_File__GetFileInfo");
set_name(0x00454E70, "System_File__GetFreeSpace");
set_name(0x00454FD0, "System_File__GetPos");
set_name(0x00455050, "System_File__IsAbsolutePath");
set_name(0x004550C0, "System_File__IsReadOnly");
set_name(0x00455130, "System_File__CreateDirectory");
set_name(0x004554C0, "System_File__Copy");
set_name(0x00455730, "System_File__Open");
set_name(0x004558F0, "System_File__Read");
set_name(0x00455910, "System_File__RemoveDirectory");
set_name(0x00455A30, "System_File__SetCacheMode");
set_name(0x00455B10, "System_File__SetEOF");
set_name(0x00455BA0, "System_File__SetAttributes");
set_name(0x00455CA0, "System_File__SetPos");
set_name(0x00455D20, "System_File__Write");
set_name(0x00457820, "System_File__read_locked");
set_name(0x00457910, "System_File__write_locked");
set_name(0x00459910, "System_File__detect_io_mode");
set_name(0x00461B00, "OsCloseFile");
set_name(0x00461B50, "OsReadFile");
set_name(0x00461BD0, "OsGetFileSize");
@ -862,6 +915,7 @@ static import_symbols() {
set_name(0x0054ED80, "Script_SetupFullscreenScale");
set_name(0x0054EE60, "Script_GetVideoCaps");
set_name(0x0054EF90, "Script_IsStereoVideoAvailable");
set_name(0x0054EFE0, "AddResolution");
set_name(0x0054F430, "Script_GetScreenResolutions");
set_name(0x0054F4A0, "Script_GetCurrentResolution");
set_name(0x0054F570, "Script_SetScreenResolution");
@ -2139,12 +2193,15 @@ static import_symbols() {
set_name(0x00659B80, "WowClientDB_CharBaseInfoRec__LoadRecords");
set_name(0x0065C290, "WowClientDB__GetRecord");
set_name(0x0065F520, "WowClientDB_AchievementRec__GetRecordByIndex");
set_name(0x006811D0, "GxApiSupported");
set_name(0x00681210, "GxAdapterMonitorModes");
set_name(0x00681220, "GxAdapterDesktopMode");
set_name(0x00681290, "GxDevCreate");
set_name(0x006813B0, "GxSceneClear");
set_name(0x006813D0, "GxTexUpdate");
set_name(0x00681630, "GxQueryCreate");
set_name(0x00681770, "GxSetMaxFPS");
set_name(0x00681790, "GxSetMaxFPSBk");
set_name(0x006817C0, "GxLogOpen");
set_name(0x006817E0, "GxLog");
set_name(0x00681A60, "GxDrawLockedElements");
@ -2243,7 +2300,12 @@ static import_symbols() {
set_name(0x00689690, "CGxDevice__scalar_deleting_destructor");
set_name(0x006897C0, "CGxDevice__ShaderCreate");
set_name(0x00689A50, "CGxShader__Valid");
set_name(0x00689E80, "CGxMonitorModeSort");
set_name(0x00689EA0, "CGxDevice__FindDisplayDevice");
set_name(0x00689EF0, "CGxDevice__NewD3d");
set_name(0x0068A090, "TSGrowableArray_CGxMonitorMode__New");
set_name(0x0068A0F0, "TSGrowableArray_CGxMonitorMode__SetCount");
set_name(0x0068A4C0, "CGxDevice__AdapterMonitorModes");
set_name(0x0068BBC0, "CGxDeviceOpenGl__CGxDeviceOpenGl");
set_name(0x0068BF20, "CGxDevice__NewOpenGl");
set_name(0x0068C220, "CGxDevice__NewD3d9Ex");
@ -2520,6 +2582,7 @@ static import_symbols() {
set_name(0x00769610, "CVGxMultisampleCallback");
set_name(0x00769650, "CVGxMultisampleQualityCallback");
set_name(0x007696A0, "CVGxFixLagCallback");
set_name(0x007696D0, "ConsoleGxOverride");
set_name(0x00769810, "CVGxOverrideCallback");
set_name(0x00769830, "CVGxMaxFPSCallback");
set_name(0x00769860, "CVGxMaxFPSBkCallback");
@ -2586,7 +2649,9 @@ static import_symbols() {
set_name(0x00774690, "SSyncObject__Wait");
set_name(0x00774720, "SEvent__Set");
set_name(0x00774730, "SEvent__Reset");
set_name(0x007754A0, "SLogClose");
set_name(0x007757E0, "SLogCreate");
set_name(0x00775BB0, "SLogWrite");
set_name(0x00777420, "SRgnCombineRectf");
set_name(0x00777590, "SRgnGetBoundingRectf");
set_name(0x00777940, "SRgnDelete");
@ -2694,6 +2759,7 @@ static import_symbols() {
set_name(0x00856760, "luaD_call");
set_name(0x00857CA0, "_luaV_execute");
set_name(0x008695B0, "RestoreMouse");
set_name(0x00869620, "OsInputSetWindowResizeLock");
set_name(0x00869720, "OsInputInitialize");
set_name(0x00869760, "OsInputDestroy");
set_name(0x00869D90, "OsInputSetEventPollProc");
@ -2706,11 +2772,14 @@ static import_symbols() {
set_name(0x0086AE20, "OsGetAsyncTimeMs");
set_name(0x0086B0C0, "OsSystemEnableCpuLog");
set_name(0x0086B240, "OsGetProcessorCount");
set_name(0x0086B780, "OsIsRemoteSession");
set_name(0x0086BBA0, "OsGetAsyncClocksPerSecond");
set_name(0x0086BBD0, "OsGetExeName");
set_name(0x0086BC30, "OsPathGetRootChars");
set_name(0x0086BE50, "OsPathStripFilename");
set_name(0x0086BEA0, "OsGetExePath");
set_name(0x0086C6A0, "OsGuiGetWindow");
set_name(0x0086C6E0, "OsGuiMessageBox");
set_name(0x0086D0A0, "OsIMEInitialize");
set_name(0x0086D0C0, "OsIMEDestroy");
set_name(0x0086E200, "TSExplicitList_CGxBuf__LinkToTail");
@ -2719,10 +2788,10 @@ static import_symbols() {
set_name(0x0086F880, "OsCallInitializeContext");
set_name(0x00872280, "OsClipboardGetString");
set_name(0x008722A0, "OsClipboardPutString");
set_name(0x008726F0, "InternalClipboardGetString");
set_name(0x008727E0, "InternalClipboardPutString");
set_name(0x008726F0, "IOsClipboardGetString");
set_name(0x008727E0, "IOsClipboardPutString");
set_name(0x00872C10, "CShaderEffect__UpdateProjMatrix");
set_name(0x008A1420, "CVGxVideoOptionsVersionCallback");
set_name(0x008A1420, "return_one_byte_sub");
set_name(0x008C8DE0, "GxDefaultApi");
set_name(0x008E5250, "return_zero4_sub");
set_name(0x0095BFB0, "ConsoleCommandHistoryDepth");
@ -2944,13 +3013,19 @@ static import_symbols() {
set_name(0x009DE1B0, "nullsub_148");
set_name(0x009DE1C0, "nullsub_149");
set_name(0x009DE1D0, "nullsub_150");
set_name(0x009E9EC8, "firstByteMark");
set_name(0x009E537C, "firstByteMark");
set_name(0x009E5398, "bytesFromUTF8");
set_name(0x009E9EC8, "firstByteMark@2");
set_name(0x009F1074, "s_pixelFormatToMipBitsCache");
set_name(0x00A2DDC0, "CGxDevice__vtable");
set_name(0x00A2E198, "CGxDeviceOpenGl__vtable");
set_name(0x00A2E718, "CGxDeviceD3d__vtable");
set_name(0x00A2F500, "CGxDeviceD3d9Ex__vtable");
set_name(0x00AB90AC, "System_File__Stacked__s_manager");
set_name(0x00AB912C, "System_File__read_func");
set_name(0x00AB91B4, "System_File__write_func");
set_name(0x00AB91C0, "System_File__Stacked__s_nullstack");
set_name(0x00AB92C0, "System_File__Stacked__s_basestack");
set_name(0x00AC1B9C, "s_zorderlist");
set_name(0x00AD2808, "s_cursorNames");
set_name(0x00AD305C, "g_achievementDB");
@ -3204,11 +3279,14 @@ static import_symbols() {
set_name(0x00ADBEC0, "s_smallCull");
set_name(0x00ADBEE0, "s_distCull");
set_name(0x00ADBF00, "s_farClip");
set_name(0x00ADBF88, "g_videoHardwareDB");
set_name(0x00AF4998, "g_lightSkyboxDB");
set_name(0x00AF49BC, "g_lightIntBandDB");
set_name(0x00AF49E0, "g_lightFloatBandDB");
set_name(0x00AF4A04, "g_lightParamsDB");
set_name(0x00AF4A28, "g_lightDB");
set_name(0x00B38A5C, "System_File__s_read_init");
set_name(0x00B38A64, "System_File__s_write_init");
set_name(0x00B417C8, "s_mainThread");
set_name(0x00B417D0, "s_interactiveCount");
set_name(0x00B41850, "s_messageRecycler");
@ -3223,6 +3301,8 @@ static import_symbols() {
set_name(0x00C26DE8, "s_cursorMode");
set_name(0x00C26DF0, "s_cursorImages");
set_name(0x00C5DE9C, "_CURRENT_LANGUAGE");
set_name(0x00C5DF74, "s_maxFPSBk");
set_name(0x00C5DF7C, "s_maxFPS");
set_name(0x00C5DF88, "g_theGxDevicePtr");
set_name(0x00C5DFDC, "CGxDevice__s_uiVertexShader");
set_name(0x00C5DFE0, "CGxDevice__s_shadowConstants");
@ -3275,6 +3355,7 @@ static import_symbols() {
set_name(0x00CABABC, "s_cvGxOverride");
set_name(0x00CABAC0, "s_cvGxFixLag");
set_name(0x00CABAC4, "s_cvMaxFPS");
set_name(0x00CABAC8, "s_consoleGxOverrideSet");
set_name(0x00CABAEC, "s_cvGxVSync");
set_name(0x00CABAF0, "s_defaults");
set_name(0x00CABB30, "s_cvVideoOptionsVersion");
@ -3283,6 +3364,7 @@ static import_symbols() {
set_name(0x00CABB70, "s_cvGxTripleBuffer");
set_name(0x00CABB74, "s_cvGxDepthBits");
set_name(0x00CABB78, "s_cvGxColorBits");
set_name(0x00CABB7C, "s_consoleGxOverrideVal");
set_name(0x00CABBA0, "s_cvGxApi");
set_name(0x00CABBA4, "s_cvGxAspect");
set_name(0x00CABBA8, "s_cvFixedFunction");
@ -3299,5 +3381,7 @@ static import_symbols() {
set_name(0x00CABDA8, "s_fallbackFormat");
set_name(0x00CABE00, "s_lastGoodFormat");
set_name(0x00CABE98, "s_formats");
set_name(0x00D41580, "s_WindowResizeLock");
set_name(0x00D415C8, "s_cpuTicksPerSecond");
set_name(0x00D43020, "CShaderEffect__s_enableShaders");
}

View file

@ -41,7 +41,7 @@ enum Blizzard__File__Operation {
num_operations
};
#define FS_OP(N) bool (*f_##N)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)
#define FS_OP(N) bool (*N)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)
// 0x7C bytes = 4 + 4 + (29 * 4)
struct Blizzard__File__Filesystem {

View file

@ -0,0 +1,22 @@
#ifndef BC_FILE_INFO_H
#define BC_FILE_INFO_H
#include "bc/time/timestamp.h"
DECLARE_STRUCT(Blizzard__File__FileInfo);
struct Blizzard__File__FileInfo {
char* name;
uint32_t unk04;
// uint32_t unk08;
// uint32_t unk0C;
uint64_t size; // 08
uint32_t attributes;
Blizzard__Time__Timestamp creationTime;
Blizzard__Time__Timestamp lastWriteTime;
Blizzard__Time__Timestamp lastAccessTime;
int32_t exists;
int32_t normal;
};
#endif

View file

@ -0,0 +1,15 @@
#ifndef BC_FILE_PROCESS_DIR_H
#define BC_FILE_PROCESS_DIR_H
DECLARE_STRUCT(Blizzard__File__ProcessDirParms);
struct Blizzard__File__ProcessDirParms {
const char* dir;
const char* item;
void* param;
bool isdir;
};
typedef bool (*Blizzard__File__ProcessDirCallback)(const Blizzard__File__ProcessDirParms* parms);
#endif

View file

@ -1,10 +1,19 @@
#ifndef BC_FILE_STREAM_H
#define BC_FILE_STREAM_H
#include "bc/file/info.h"
DECLARE_STRUCT(Blizzard__File__StreamRecord);
struct Blizzard__File__StreamRecord {
void* handle;
void* filehandle;
uint32_t flags;
bool haveinfo;
uint32_t unk0C;
Blizzard__File__FileInfo info;
int32_t* unk48;
char* name; // name is a pointer to &filehandle (0x00) + sizeof(StreamRecord)
// extra buffer that holds the actual data of name
};
#endif

View file

@ -0,0 +1,11 @@
#ifndef BC_LOCK_DO_ONCE_H
#define BC_LOCK_DO_ONCE_H
DECLARE_STRUCT(Blizzard__Lock__DoOnceData);
struct Blizzard__Lock__DoOnceData {
bool done;
int32_t atomic;
};
#endif

View file

@ -0,0 +1,15 @@
#ifndef BC_STRING_QUICK_NATIVE_PATH_H
#define BC_STRING_QUICK_NATIVE_PATH_H
#define BC_STRING_QUICK_NATIVE_PATH(N) \
typedef struct Blizzard__String__QuickNativePath_##N Blizzard__String__QuickNativePath_##N; \
struct Blizzard__String__QuickNativePath_##N { \
uint32_t length; \
char* path; \
char buffer[N]; \
}
BC_STRING_QUICK_NATIVE_PATH(300);
BC_STRING_QUICK_NATIVE_PATH(1024);
#endif

View file

@ -1,10 +1,35 @@
#ifndef BC_SYSTEM_FILE_STACKED_H
#define BC_SYSTEM_FILE_STACKED_H
#include "system/types.h"
#include "bc/file/stream.h"
#include "bc/file/info.h"
#include "bc/file/processdir.h"
DECLARE_STRUCT(System_File__Stacked__FileParms);
struct System_File__Stacked__FileParms {
uint32_t offset;
// the offset of the file operation
// inside Blizzard::File::Filesystem
uint32_t op; //0x0
// name/path to a file or directory
char* name; //0x4
char* newname; // 0x8
Blizzard__File__StreamRecord* file; // 0xC
Blizzard__File__FileInfo* info;
uint32_t extra[17]; // 0x10
uint32_t flags;
void* data; //
uint32_t count;
int64_t offset;
uint32_t unk__;
char* buffer;
int32_t buffersize;
bool unkbool1;
bool unkbool2;
void* dirwalkparam;
Blizzard__File__ProcessDirCallback dirwalkcallback;
uint32_t extra3[2];
};
#endif

View file

@ -0,0 +1,6 @@
#ifndef BC_TIME_TIMESTAMP_H
#define BC_TIME_TIMESTAMP_H
typedef int64_t Blizzard__Time__Timestamp;
#endif

View file

@ -3,12 +3,12 @@
#include "system/types.h"
#if !defined(DECLARE_HANDLE)
#define DECLARE_HANDLE(name) \
typedef struct name##__ { \
#define DECLARE_HANDLE(I) \
typedef struct I##__ I##__; \
struct I##__ { \
int32_t unused; \
}* name
#endif
}; \
typedef I##__* I
DECLARE_STRUCT(CHandleObject);

File diff suppressed because it is too large Load diff

View file

@ -20,7 +20,6 @@ DECLARE_STRUCT(TEXTURECACHE);
DECLARE_STRUCT(TEXTURECACHEROW);
STORM_TS_LIST(CGxFont);
STORM_TS_LIST(CHARCODEDESC);
STORM_TS_HASH(CHARCODEDESC, HASHKEY_NONE);

View file

@ -23,21 +23,23 @@ enum CGxFormat__Format {
struct CGxFormat {
uint32_t unk0;
bool hwTnL;
// TODO: verify this name
bool hwCursor; // 0x5
bool hwCursor; // 0x5, UC
int8_t fixLag;
int8_t window;
uint32_t unk8;
bool aspect; // UC
int32_t maximize;
CGxFormat__Format depthFormat;
C2iVector size;
uint32_t unk1C;
// set by CVGxTripleBufferCallback
uint32_t backbuffers; // buffering? buffer? framebufferCount?
uint32_t sampleCount;
float float24; // multisampleQuality? write at 00769693
float multisampleQuality; // UC, write at 00769693
CGxFormat__Format colorFormat;
uint32_t refreshRate;
uint32_t vsync;
uint32_t unk34;
bool stereoEnabled; // UC, 34
// something to do with fixed function?
// write at 0076AD4C
uint32_t unk38;
uint32_t unk3C;
uint32_t unk40;

View file

@ -15,8 +15,12 @@
#include "bc/file/filesystem.h"
#include "bc/file/stream.h"
#include "bc/file/processdir.h"
#include "bc/lock/do_once.h"
#include "bc/string/quicknativepath.h"
#include "bc/systemfile/stacked.h"
#include "bc/osfile.h"
#include "bc/time/timestamp.h"
#include "camera/camera.h"
@ -125,6 +129,7 @@
#include "storm/array/uint8_t.h"
#include "storm/array/uint32_t.h"
#include "storm/array/float.h"
#include "storm/array/c2ivector.h"
#include "storm/queue/timer_priority_uint32_t.h"

View file

@ -0,0 +1,10 @@
#ifndef STORM_ARRAY_C_2I_VECTOR_H
#define STORM_ARRAY_C_2I_VECTOR_H
#include "tempest/vector.h"
#include "storm/array.h"
STORM_TS_GROWABLE_ARRAY(C2iVector);
#endif

View file

@ -1,7 +1,7 @@
#ifndef SYSTEM_DETECT_H
#define SYSTEM_DETECT_H
#if !defined(IDA) && !defined(GHIDRA) && !defined(BINANA_GENERATOR)
#if !defined(__GNUC__) && !defined(IDA) && !defined(GHIDRA) && !defined(BINANA_GENERATOR)
#error "Preprocessor mode not detected! You must define either IDA or GHIDRA or BINANA_GENERATOR"
#endif

View file

@ -5,6 +5,5 @@
DECLARE_HANDLE(HTEXTBLOCK);
DECLARE_HANDLE(HTEXTFONT);
DECLARE_HANDLE(HFACE);
#endif

View file

@ -1,14 +1,69 @@
Blizzard__Memory__Allocate 00401010 f end=00401067 type="void* __stdcall func(uint32_t count)"
Blizzard__Memory__Free 00401030 f end=0040104B type="void __stdcall func(void* ptr)" ; void operator delete(void*)
Blizzard__File__Close 004270F0 f end=0042712f
Blizzard__File__Delete 00427130 f end=0042716F ; Blizzard::File::Delete(char const*)
Blizzard__File__GetFileInfo 004271D0 f end=00427242 type="bool __stdcall func(char* name, Blizzard__File__Info* info)"
Blizzard__File__GetFileInfo 00427250 f end=004272B8 type="Blizzard__File__Info* __stdcall func(Blizzard__File__StreamRecord* file)"
Blizzard__File__GetFileInfo 004272C0 f end=00427325 type="bool __stdcall func(Blizzard__File__StreamRecord* file, Blizzard__File__FileInfo* info)"
Blizzard__File__GetPos 004273A0 f end=00427406
Blizzard__File__GetRootChars 00427410 f end=00427466
Blizzard__File__GetWorkingDirectory 00427470 f end=004274B5
Blizzard__File__IsAbsolutePath 004274C0 f end=004274FF
Blizzard__File__MakeAbsolutePath 00427500 f end=00427551 ; Blizzard::File::MakeAbsolutePath(char const*, char*, int, bool)
Blizzard__File__Move 00427560 f end=004275A8 ; Blizzard::File::Move(char const*, char const*)
Blizzard__File__Copy 004275B0 f end=004275FE
Blizzard__File__Open 00427600 f end=0042765E
Blizzard__File__Read 004276C0 f end=0042771F
Blizzard__File__Write 004279B0 f end=00427A12
Blizzard__File__Close 004270F0 f end=0042712f
Blizzard__File__Delete 00427130 f end=0042716F ; Blizzard::File::Delete(char const*)
Blizzard__File__MakeAbsolutePath 00427500 f end=00427551 ; Blizzard::File::MakeAbsolutePath(char const*, char*, int, bool)
Blizzard__File__Move 00427560 f end=004275A8 ; Blizzard::File::Move(char const*, char const*)
System_File__FromNativeAttributes 00427C70 f end=00427CBC
System_File__ReadP 00427CC0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__WriteP 00427D10 f end=00427D5C type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
Blizzard__String__FindFilename 00428500 f end=00428538 type="char* __stdcall func(char* str)"
Blizzard__String__Copy 00428670 f end=004286BB type="int32_t __stdcall func(char* dst, const char* src, int32_t count)"
Blizzard__Unicode__ConvertUTF16to8 00428940 f end=00428AFC type="int32_t __stdcall func(uint8_t* dst, uint32_t dstmaxchars, const uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Unicode__ConvertUTF8to16 00428B00 f end=00428C94 type="int32_t __stdcall func(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Time__FromFileTime 00428F00 f end=00428F56 type="Blizzard__Time__Timestamp __stdcall func(uint64_t fileTime)"
Blizzard__File__CreateDirectory 0042CEA0 f end=0042CEE9
HoistAll 0042CFB0 f end=0042D43E
System_File__Stacked__file_init 0042D440 f end=0042D4F4 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Close 0042D620 f end=0042D64F type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
Blizzard__String__Format 0042E670 f end=0042E6A1
System_File__GetRootChars 004325C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__FromNativeName 00433590 f end=00433650 type="void __stdcall func(uint8_t *buffer, uint32_t buffersize, const char *str)"
Blizzard__String__QuickNativePath_300__QuickNativePath 00433650 f end=0043375A
System_File__GetFileInfoByFile 00435580 f end=004356A2 type="void __stdcall func(Blizzard__File__StreamRecord* file)"
System_File__Exists 004356B0 f end=00435781 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__MakeAbsolutePath 00435790 f end=00435889 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Move 00435890 f end=004359B6 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Delete 004359C0 f end=00435A57 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__read_overlapped 00454870 f end=00454904
System_File__write_overlapped 00454910 f end=004549A9
System_File__SetWorkingDirectory 00454A50 f end=00454AB5 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Create 00454AC0 f end=00454AD3 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetWorkingDirectory 00454AE0 f end=00454B44 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__ProcessDirFast 00454B50 f end=00454CAA type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Flush 00454CB0 f end=00454CE2 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetFileInfo 00454CF0 f end=00454E6A type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetFreeSpace 00454E70 f end=00454FCE type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetPos 00454FD0 f end=0045504C type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__IsAbsolutePath 00455050 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__IsReadOnly 004550C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__CreateDirectory 00455130 f end=004554B1 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Copy 004554C0 f end=00455727 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Open 00455730 f end=004558E3 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Read 004558F0 f end=0045590E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__RemoveDirectory 00455910 f end=00455A2E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetCacheMode 00455A30 f end=00455B07 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetEOF 00455B10 f end=00455B94 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetAttributes 00455BA0 f end=00455C9A type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetPos 00455CA0 f end=00455D13 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Write 00455D20 f end=00455D3E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__read_locked 00457820 f end=00457904
System_File__write_locked 00457910 f end=004579f4
System_File__detect_io_mode 00459910 f end=00459998
OsCloseFile 00461B00 f end=00461B09
OsReadFile 00461B50 f end=00461B88
OsGetFileSize 00461BD0 f end=00461BF4
OsCreateDirectory 00461D10 f end=00461D3F
OsSetCurrentDirectory 00461DB0 f end=00461DD7
OsCreateFile 00461FA0 f end=00461FFA
OsCreateDirectory 00461D10 f end=00461D3F

View file

@ -1 +1,9 @@
System_File__Stacked__s_manager 00AB90AC l type="Blizzard__File__Filesystem*"
System_File__read_func 00AB912C l ; type="int32_t (*)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__write_func 00AB91B4 l ; type="int32_t (*)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Stacked__s_nullstack 00AB91C0 l type="Blizzard__File__Filesystem"
System_File__Stacked__s_basestack 00AB92C0 l type="Blizzard__File__Filesystem"
System_File__s_read_init 00B38A5C l type="Blizzard__Lock__DoOnceData"
System_File__s_write_init 00B38A64 l type="Blizzard__Lock__DoOnceData"
firstByteMark 009E537C l type="uint32_t[7]"
bytesFromUTF8 009E5398 l type="uint8_t[256]"

View file

@ -1,5 +1,3 @@
operator_new 00401010 f end=00401067 type="void* __stdcall func(uint32_t count)"
operator_delete_array 00401030 f end=0040104B type="void __stdcall func(void* ptr)" ; void operator delete(void*)
SetPaths 00402B20 f end=00402B8B
CommonMain 00406C70 f end=00406D64
InitializeGlobal 004067F0 f end=00406B67

View file

@ -65,8 +65,10 @@ ValidateFormatMonitor 00769E10 f end=00769FF0
CCGxRestart 00769FF0 f end=0076A12E
RegisterGxCVars 0076A630 f end=0076AAA8
ConsoleDeviceInitialize 0076AB80 f end=0076B287 type="int32_t __stdcall func(char* title, int32_t multithreaded)"
SetDefaults 0076B3F0 f type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; void SetDefaults(DefaultSettings&, const Hardware&)
ConsoleDetectSetDefaultsFormat 0076B520 f end=0076B53D type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; ConsoleDetectSetDefaultsFormat(DefaultSettings&, const Hardware&)
ConsoleDetectSaveHardware 0076B620 f end=0076B7DB
ConsoleDetectDetectHardware 0076BA30 f end=0076BBE9 type="void __stdcall func(Hardware* hardware, bool* hwChanged)" ; ConsoleDetectDetectHardware(Hardware&, bool&)
ConsoleCommandHistoryDepth 0095BFB0 f end=0095BFB6 type="int32_t __stdcall func()"
SetDefaults 0076B3F0 f type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; void SetDefaults(DefaultSettings&, const Hardware&)
ConsoleGxOverride 007696D0 f end=00769804 type="void __stdcall func(char* list)"
AddResolution 0054EFE0 f end=0054F046 type="void __fastcall func(TSGrowableArray_C2iVector* this, C2iVector* resolution)"

View file

@ -1,3 +1,5 @@
formatToInt 00AD87C4 l type="char*[8]"
g_gxApiNames 00AD87E4 l type="char*[6]"
s_rect 00ADBAB4 l type="RECTF" ; RECTF
s_consoleHotKey 00ADBAC4 l type="KEY" ; KEY
s_historyIndex 00ADBAC8 l type="int32_t" ; int32
@ -48,8 +50,10 @@ g_commandHistory 00CA3A28 l type="char[32][1024]"
g_commandHistoryIndex 00CABA28 l type="uint32_t"
g_defaultCommand 00CABA2C l type="COMMANDHANDLER" ; command function pointer
g_consoleCommandHash 00CABA30 l type="TSHashTable_CONSOLECOMMAND_HASHKEY_STRI" ; TSHashTable<CONSOLECOMMAND, HASHKEY_CONSTSTRI>
s_consoleGxOverrideSet 00CABAC8 l type="int32_t[9]"
s_defaults 00CABAF0 l type="DefaultSettings"
s_hardware 00CABB38 l type="Hardware"
s_consoleGxOverrideVal 00CABB7C l type="uint32_t[9]"
s_hardwareDetected 00CABCBC l type="bool"
s_hwChanged 00CABCBD l type="bool"
s_hwDetect 00CABCBE l type="bool"
@ -60,5 +64,4 @@ s_desktopFormat 00CABD40 l type="CGxFormat"
s_fallbackFormat 00CABDA8 l type="CGxFormat"
s_lastGoodFormat 00CABE00 l type="CGxFormat"
s_formats 00CABE98 l type="CGxFormat[5]"
formatToInt 00AD87C4 l type="char*[8]"
g_gxApiNames 00AD87E4 l type="char*[6]"
g_videoHardwareDB 00ADBF88 l type="WowClientDB_VideoHardwareRec"

View file

@ -17,4 +17,3 @@ CVGxWindowResizeLockCallback 00769890 f end=007698A9 type="bool __stdcall func(C
CVGxStereoEnabledCallback 00769C00 f end=00769C2B type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxResolutionCallback 0076A220 f end=0076A57F type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxRefreshCallback 0076A580 f end=0076A62D type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxVideoOptionsVersionCallback 008A1420 f end=008A1423 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"

View file

@ -24,4 +24,8 @@ GxQueryCreate 00681630 f end=0068165B type="void __stdcall func(CGxQuery** query
GxLogOpen 006817C0 f end=006817C5 type="void __stdcall func()"
GxAdapterMonitorModes 00681210 f end=00681219 type="int32_t __stdcall func(TSGrowableArray_CGxMonitorMode* modes)"
GxAdapterDesktopMode 00681220 f type="int32_t __stdcall func(CGxMonitorMode* mode)"
GxDefaultApi 008C8DE0 f type="EGxApi __stdcall func()"
GxDefaultApi 008C8DE0 f type="EGxApi __stdcall func()"
GxApiSupported 006811D0 f end=006811F0 type="int32_t __stdcall func(EGxApi api)" ; 00005410
GxSetMaxFPS 00681770 f end=0068177D type="void __stdcall func(uint32_t maxFPS)"
GxSetMaxFPSBk 00681790 f end=0068179D type="void __stdcall func(uint32_t maxFPSBk)"
CGxMonitorModeSort 00689E80 f type="int32_t __stdcall func(void* a, void* b)"

View file

@ -0,0 +1,2 @@
s_maxFPS 00C5DF7C l type="uint32_t"
s_maxFPSBk 00C5DF74 l type="uint32_t"

View file

@ -30,6 +30,7 @@ CGxDevice__ICursorUpdate 00683610 f end=00683632 type="void __stdcall func(EGxTe
CGxDevice__CursorSetVisible 00683640 f end=00683650 type="void __thiscall func(CGxDevice* this, int32_t visible)"
CGxDevice__CursorLock 00683650 f end=00683657 type="uint32_t* __thiscall func(CGxDevice* this)"
CGxDevice__CursorSetDepth 00683660 f end=00683670 type="void __thiscall func(CGxDevice* this, float depth)"
CGxDevice__LogOpen 00683670 f end=006836A4 type="void __stdcall func()" ; static void CGxDevice::LogOpen(void)
CGxDevice__DeviceSetFormat 006840F0 f end=0068416C type="int32_t __thiscall func(CGxDevice* this, CGxFormat* format)"
CGxDevice__DeviceSetGamma 00684170 f end=00684189 type="void __thiscall func(CGxDevice* this, float gamma)"
CGxDevice__DeviceSetGamma 00684190 f end=006841AF type="int32_t __thiscall func(CGxDevice* this, CGxGammaRamp* ramp)"
@ -83,8 +84,9 @@ CGxDevice__XformSetView 00689050 f end=006890C0 type="void __thiscall func(CGxDe
CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevice* this)"
CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice* this, uint8_t __flags)"
CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)"
CGxDevice__FindDisplayDevice 00689EA0 f end=00689EF0 type="int32_t __stdcall func(PDISPLAY_DEVICEA device, uint32_t flag)" ; UC
CGxDevice__NewD3d 00689EF0 f end=00689F14 type="CGxDevice* __stdcall func()"
CGxDevice__AdapterMonitorModes 0068A4C0 f end=0068A589 type="void __stdcall func(TSGrowableArray_CGxMonitorMode* modes)"
CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 type="CGxDevice* __stdcall func()"
CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 type="CGxDevice* __stdcall func()"
CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF type="void __thiscall func(CGxDevice* this, CGxTex* texId, uint32_t* width, uint32_t* height, uint32_t* baseMip, uint32_t* mipCount)"
CGxDevice__LogOpen 00683670 f end=006836A4 type="void __stdcall func()" ; static void CGxDevice::LogOpen(void)

View file

@ -1,5 +1,5 @@
operator_new 00401010 f end=00401067 type="void* __stdcall func(uint32_t count)"
operator_delete_array 00401030 f end=0040104B type="void __stdcall func(void* ptr)" ; void operator delete(void*)
Blizzard__Memory__Allocate 00401010 f end=00401067 type="void* __stdcall func(uint32_t count)"
Blizzard__Memory__Free 00401030 f end=0040104B type="void __stdcall func(void* ptr)" ; void operator delete(void*)
CDataStore__FetchWrite 00401070 f ; protected: int __thiscall CDataStore::FetchWrite(unsigned int,unsigned int,char const *,int)
CDataStore__IsRead 004010D0 f ; CDataStore::IsRead() const
CDataStore__Reset 004010E0 f ; CDataStore::Reset()
@ -38,12 +38,65 @@ SFile__Load 00424E80 f end=00424F46
SFile__Open 00424F80 f end=00424F98
Blizzard__File__Close 004270F0 f end=0042712f
Blizzard__File__Delete 00427130 f end=0042716F ; Blizzard::File::Delete(char const*)
Blizzard__File__GetFileInfo 004271D0 f end=00427242 type="bool __stdcall func(char* name, Blizzard__File__Info* info)"
Blizzard__File__GetFileInfo 00427250 f end=004272B8 type="Blizzard__File__Info* __stdcall func(Blizzard__File__StreamRecord* file)"
Blizzard__File__GetFileInfo 004272C0 f end=00427325 type="bool __stdcall func(Blizzard__File__StreamRecord* file, Blizzard__File__FileInfo* info)"
Blizzard__File__GetPos 004273A0 f end=00427406
Blizzard__File__GetRootChars 00427410 f end=00427466
Blizzard__File__GetWorkingDirectory 00427470 f end=004274B5
Blizzard__File__IsAbsolutePath 004274C0 f end=004274FF
Blizzard__File__MakeAbsolutePath 00427500 f end=00427551 ; Blizzard::File::MakeAbsolutePath(char const*, char*, int, bool)
Blizzard__File__Move 00427560 f end=004275A8 ; Blizzard::File::Move(char const*, char const*)
Blizzard__File__Copy 004275B0 f end=004275FE
Blizzard__File__Open 00427600 f end=0042765E
Blizzard__File__Read 004276C0 f end=0042771F
Blizzard__File__Write 004279B0 f end=00427A12
System_File__FromNativeAttributes 00427C70 f end=00427CBC
System_File__ReadP 00427CC0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__WriteP 00427D10 f end=00427D5C type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
Blizzard__String__FindFilename 00428500 f end=00428538 type="char* __stdcall func(char* str)"
Blizzard__String__Copy 00428670 f end=004286BB type="int32_t __stdcall func(char* dst, const char* src, int32_t count)"
Blizzard__Unicode__ConvertUTF16to8 00428940 f end=00428AFC type="int32_t __stdcall func(uint8_t* dst, uint32_t dstmaxchars, const uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Unicode__ConvertUTF8to16 00428B00 f end=00428C94 type="int32_t __stdcall func(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Time__FromFileTime 00428F00 f end=00428F56 type="Blizzard__Time__Timestamp __stdcall func(uint64_t fileTime)"
Blizzard__File__CreateDirectory 0042CEA0 f end=0042CEE9
HoistAll 0042CFB0 f end=0042D43E
System_File__Stacked__file_init 0042D440 f end=0042D4F4 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Close 0042D620 f end=0042D64F type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
Blizzard__String__Format 0042E670 f end=0042E6A1
System_File__GetRootChars 004325C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__FromNativeName 00433590 f end=00433650 type="void __stdcall func(uint8_t *buffer, uint32_t buffersize, const char *str)"
Blizzard__String__QuickNativePath_300__QuickNativePath 00433650 f end=0043375A
System_File__GetFileInfoByFile 00435580 f end=004356A2 type="void __stdcall func(Blizzard__File__StreamRecord* file)"
System_File__Exists 004356B0 f end=00435781 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__MakeAbsolutePath 00435790 f end=00435889 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Move 00435890 f end=004359B6 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Delete 004359C0 f end=00435A57 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__read_overlapped 00454870 f end=00454904
System_File__write_overlapped 00454910 f end=004549A9
System_File__SetWorkingDirectory 00454A50 f end=00454AB5 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Create 00454AC0 f end=00454AD3 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetWorkingDirectory 00454AE0 f end=00454B44 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__ProcessDirFast 00454B50 f end=00454CAA type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Flush 00454CB0 f end=00454CE2 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetFileInfo 00454CF0 f end=00454E6A type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetFreeSpace 00454E70 f end=00454FCE type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__GetPos 00454FD0 f end=0045504C type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__IsAbsolutePath 00455050 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__IsReadOnly 004550C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__CreateDirectory 00455130 f end=004554B1 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Copy 004554C0 f end=00455727 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Open 00455730 f end=004558E3 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Read 004558F0 f end=0045590E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__RemoveDirectory 00455910 f end=00455A2E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetCacheMode 00455A30 f end=00455B07 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetEOF 00455B10 f end=00455B94 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetAttributes 00455BA0 f end=00455C9A type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__SetPos 00455CA0 f end=00455D13 type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Write 00455D20 f end=00455D3E type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__read_locked 00457820 f end=00457904
System_File__write_locked 00457910 f end=004579f4
System_File__detect_io_mode 00459910 f end=00459998
OsCloseFile 00461B00 f end=00461B09
OsReadFile 00461B50 f end=00461B88
OsGetFileSize 00461BD0 f end=00461BF4
@ -858,6 +911,7 @@ Script_IsPlayerResolutionAvailable 0054EBC0 f end=0054EBFB
Script_SetupFullscreenScale 0054ED80 f end=0054EE58
Script_GetVideoCaps 0054EE60 f end=0054EF87
Script_IsStereoVideoAvailable 0054EF90 f end=0054EFD5
AddResolution 0054EFE0 f end=0054F046 type="void __fastcall func(TSGrowableArray_C2iVector* this, C2iVector* resolution)"
Script_GetScreenResolutions 0054F430 f end=0054F49D
Script_GetCurrentResolution 0054F4A0 f end=0054F561
Script_SetScreenResolution 0054F570 f end=0054F684
@ -2135,12 +2189,15 @@ WowClientDB_Cfg_CategoriesRec__LoadRecords 00659910 f end=00659A03 ; WowClientDB
WowClientDB_CharBaseInfoRec__LoadRecords 00659B80 f end=00659C82 ; WowClientDB<CharBaseInfoRec>::LoadRecords(SFile*, char const*, int)
WowClientDB__GetRecord 0065C290 f end=0065C2B4 ; 00005410
WowClientDB_AchievementRec__GetRecordByIndex 0065F520 f end=0065F55B ; WowClientDB<AchievementRec>::GetRecordByIndex(int, void*)
GxApiSupported 006811D0 f end=006811F0 type="int32_t __stdcall func(EGxApi api)" ; 00005410
GxAdapterMonitorModes 00681210 f end=00681219 type="int32_t __stdcall func(TSGrowableArray_CGxMonitorMode* modes)"
GxAdapterDesktopMode 00681220 f type="int32_t __stdcall func(CGxMonitorMode* mode)"
GxDevCreate 00681290 f end=00681301
GxSceneClear 006813B0 f end=006813CD
GxTexUpdate 006813D0 f end=006813EC
GxQueryCreate 00681630 f end=0068165B type="void __stdcall func(CGxQuery** query, EGxQueryType type)"
GxSetMaxFPS 00681770 f end=0068177D type="void __stdcall func(uint32_t maxFPS)"
GxSetMaxFPSBk 00681790 f end=0068179D type="void __stdcall func(uint32_t maxFPSBk)"
GxLogOpen 006817C0 f end=006817C5 type="void __stdcall func()"
GxLog 006817E0 f end=006817F5 type="int __stdcall func(char* format, ...)"
GxDrawLockedElements 00681A60 f end=00681AAB type="void __stdcall func()"
@ -2239,7 +2296,12 @@ CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevi
CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice* this, uint8_t __flags)"
CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)"
CGxShader__Valid 00689A50 f end=00689A6F
CGxMonitorModeSort 00689E80 f type="int32_t __stdcall func(void* a, void* b)"
CGxDevice__FindDisplayDevice 00689EA0 f end=00689EF0 type="int32_t __stdcall func(PDISPLAY_DEVICEA device, uint32_t flag)" ; UC
CGxDevice__NewD3d 00689EF0 f end=00689F14 type="CGxDevice* __stdcall func()"
TSGrowableArray_CGxMonitorMode__New 0068A090 f end=0068A0ED type="CGxMonitorMode* __thiscall func(TSGrowableArray_CGxMonitorMode* this)"
TSGrowableArray_CGxMonitorMode__SetCount 0068A0F0 f end=0068A165 type="void __thiscall func(TSGrowableArray_CGxMonitorMode* this, uint32_t count)"
CGxDevice__AdapterMonitorModes 0068A4C0 f end=0068A589 type="void __stdcall func(TSGrowableArray_CGxMonitorMode* modes)"
CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15 type="void __thiscall func(CGxDeviceOpenGl* this)"
CGxDevice__NewOpenGl 0068BF20 f end=0068BF44 type="CGxDevice* __stdcall func()"
CGxDevice__NewD3d9Ex 0068C220 f end=0068C244 type="CGxDevice* __stdcall func()"
@ -2516,6 +2578,7 @@ CVGxCursorCallback 007695E0 f end=0076960A type="bool __stdcall func(CVar* h, ch
CVGxMultisampleCallback 00769610 f end=0076964A type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxMultisampleQualityCallback 00769650 f end=00769693 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxFixLagCallback 007696A0 f end=007696CA type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
ConsoleGxOverride 007696D0 f end=00769804 type="void __stdcall func(char* list)"
CVGxOverrideCallback 00769810 f end=00769823 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxMaxFPSCallback 00769830 f end=00769856 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxMaxFPSBkCallback 00769860 f end=00769886 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
@ -2582,7 +2645,9 @@ CSRWLock__Leave 00774660 f end=00774675
SSyncObject__Wait 00774690 f end=007746A4
SEvent__Set 00774720 f end=0077472A
SEvent__Reset 00774730 f end=0077473A
SLogClose 007754A0 f end=007754F2
SLogCreate 007757E0 f end=007758D6 type="int32_t __stdcall func(char* filename, uint32_t flags, HSLOG* log)"
SLogWrite 00775BB0 f end=00775BC6
SRgnCombineRectf 00777420 f end=00777588 type="void __stdcall func(HSRGN handle, RECTF* rect, void* param, int32_t combinemode)"
SRgnGetBoundingRectf 00777590 f end=00777897 type="void __stdcall func(HSRGN handle, RECTF* rect)"
SRgnDelete 00777940 f end=00777971 type="void __stdcall func(HSRGN handle)"
@ -2690,6 +2755,7 @@ _luaD_precall 00856370 f
luaD_call 00856760 f
_luaV_execute 00857CA0 f
RestoreMouse 008695B0 f end=008695FB
OsInputSetWindowResizeLock 00869620 f end=0086962D
OsInputInitialize 00869720 f end=00869757
OsInputDestroy 00869760 f end=008697D3
OsInputSetEventPollProc 00869D90 f end=00869D9D
@ -2702,11 +2768,14 @@ OsGetDefaultWindowRect 0086A1A0 f end=0086A20C
OsGetAsyncTimeMs 0086AE20 f end=0086AE2B
OsSystemEnableCpuLog 0086B0C0 f end=0086B0CB
OsGetProcessorCount 0086B240 f end=0086B27D
OsIsRemoteSession 0086B780 f end=0086B78C
OsGetAsyncClocksPerSecond 0086BBA0 f end=0086BBD0 type="uint64_t __stdcall func()"
OsGetExeName 0086BBD0 f end=0086BC2F
OsPathGetRootChars 0086BC30 f end=0086BC9E
OsPathStripFilename 0086BE50 f end=0086BE9B
OsGetExePath 0086BEA0 f end=0086BEBE
OsGuiGetWindow 0086C6A0 f end=0086C6CE
OsGuiMessageBox 0086C6E0 f end=0086C7D0
OsIMEInitialize 0086D0A0 f end=0086D0B8
OsIMEDestroy 0086D0C0 f end=0086D0Df
TSExplicitList_CGxBuf__LinkToTail 0086E200 f end=0086E25F type="void __thiscall func(TSExplicitList_CGxBuf* this, CGxBuf* ptr)"
@ -2715,10 +2784,10 @@ OsCallInitialize 0086F760 f end=0086F875
OsCallInitializeContext 0086F880 f end=0086F902
OsClipboardGetString 00872280 f end=00872297
OsClipboardPutString 008722A0 f end=008722BF
InternalClipboardGetString 008726F0 f end=008727BB
InternalClipboardPutString 008727E0 f end=008728B8
IOsClipboardGetString 008726F0 f end=008727BB
IOsClipboardPutString 008727E0 f end=008728B8
CShaderEffect__UpdateProjMatrix 00872C10 f end=00872CD5
CVGxVideoOptionsVersionCallback 008A1420 f end=008A1423 type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
return_one_byte_sub 008A1420 f end=008A1423 ; known names: System_File::Shutdown, CVGxVideoOptionsVersionCallback
GxDefaultApi 008C8DE0 f type="EGxApi __stdcall func()"
return_zero4_sub 008E5250 f end=008E5253 ; Script_ToggleTris
ConsoleCommandHistoryDepth 0095BFB0 f end=0095BFB6 type="int32_t __stdcall func()"
@ -2940,6 +3009,8 @@ nullsub_147 009DE1A0 f
nullsub_148 009DE1B0 f
nullsub_149 009DE1C0 f
nullsub_150 009DE1D0 f
firstByteMark 009E537C l type="uint32_t[7]"
bytesFromUTF8 009E5398 l type="uint8_t[256]"
firstByteMark 009e9ec8 l type="uint32_t[7]"
s_pixelFormatToMipBitsCache 009F1074 l
CGxDevice__vtable 00A2DDC0 l type="CGxDevice__vtable"
@ -2947,6 +3018,10 @@ CGxDeviceOpenGl__vtable 00A2E198 l
CGxDeviceD3d__vtable 00a2e718 l
CGxDeviceD3d9Ex__vtable 00a2f500 l
System_File__Stacked__s_manager 00AB90AC l type="Blizzard__File__Filesystem*"
System_File__read_func 00AB912C l ; type="int32_t (*)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__write_func 00AB91B4 l ; type="int32_t (*)(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
System_File__Stacked__s_nullstack 00AB91C0 l type="Blizzard__File__Filesystem"
System_File__Stacked__s_basestack 00AB92C0 l type="Blizzard__File__Filesystem"
s_zorderlist 00AC1B9C f type="TSExplicitList_CILayer"
s_cursorNames 00AD2808 l type="char*[53]"
g_achievementDB 00AD305C l type="WowClientDB_AchievementRec" ; 0xEB
@ -3200,11 +3275,14 @@ s_unitDrawDist 00ADBEA0 l type="float[4][2]"
s_smallCull 00ADBEC0 l type="float[4][2]"
s_distCull 00ADBEE0 l type="float[4][2]"
s_farClip 00ADBF00 l type="float[5][2]"
g_videoHardwareDB 00ADBF88 l type="WowClientDB_VideoHardwareRec"
g_lightSkyboxDB 00AF4998 l type="WowClientDB_LightSkyboxRec" ; 0x15F
g_lightIntBandDB 00AF49BC l type="WowClientDB_LightIntBandRec" ; 0x15D
g_lightFloatBandDB 00AF49E0 l type="WowClientDB_LightFloatBandRec" ; 0x15C
g_lightParamsDB 00AF4A04 l type="WowClientDB_LightParamsRec" ; 0x15E
g_lightDB 00AF4A28 l type="WowClientDB_LightRec" ; 0x15B
System_File__s_read_init 00B38A5C l type="Blizzard__Lock__DoOnceData"
System_File__s_write_init 00B38A64 l type="Blizzard__Lock__DoOnceData"
s_mainThread 00b417c8 l type="uint32_t"
s_interactiveCount 00B417D0 l type="int32_t"
s_messageRecycler 00B41850 l type="CDataRecycler"
@ -3219,6 +3297,8 @@ s_cursorItem 00C25DE8 l type="uint32_t[1024]"
s_cursorMode 00C26DE8 l type="CURSORMODE"
s_cursorImages 00C26DF0 l type="uint32_t[53][1024]"
_CURRENT_LANGUAGE 00C5DE9C l type="int32_t"
s_maxFPSBk 00C5DF74 l type="uint32_t"
s_maxFPS 00C5DF7C l type="uint32_t"
g_theGxDevicePtr 00C5DF88 l type="CGxDevice*"
CGxDevice__s_uiVertexShader 00C5DFDC l
CGxDevice__s_shadowConstants 00C5DFE0 l
@ -3271,6 +3351,7 @@ s_cvHwDetect 00CABAB8 l type="CVar*"
s_cvGxOverride 00CABABC l type="CVar*"
s_cvGxFixLag 00CABAC0 l type="CVar*"
s_cvMaxFPS 00CABAC4 l type="CVar*"
s_consoleGxOverrideSet 00CABAC8 l type="int32_t[9]"
s_cvGxVSync 00CABAEC l type="CVar*"
s_defaults 00CABAF0 l type="DefaultSettings"
s_cvVideoOptionsVersion 00CABB30 l type="CVar*"
@ -3279,6 +3360,7 @@ s_cvMaxFPSBk 00CABB6C l type="CVar*"
s_cvGxTripleBuffer 00CABB70 l type="CVar*"
s_cvGxDepthBits 00CABB74 l type="CVar*"
s_cvGxColorBits 00CABB78 l type="CVar*"
s_consoleGxOverrideVal 00CABB7C l type="uint32_t[9]"
s_cvGxApi 00CABBA0 l type="CVar*"
s_cvGxAspect 00CABBA4 l type="CVar*"
s_cvFixedFunction 00CABBA8 l type="CVar*"
@ -3295,4 +3377,6 @@ s_desktopFormat 00CABD40 l type="CGxFormat"
s_fallbackFormat 00CABDA8 l type="CGxFormat"
s_lastGoodFormat 00CABE00 l type="CGxFormat"
s_formats 00CABE98 l type="CGxFormat[5]"
s_WindowResizeLock 00D41580 l type="int32_t"
s_cpuTicksPerSecond 00D415C8 l type="uint64_t"
CShaderEffect__s_enableShaders 00D43020 l type="int32_t"

View file

@ -155,4 +155,5 @@ nullsub_148 009DE1B0 f
nullsub_149 009DE1C0 f
nullsub_150 009DE1D0 f
return_zero4_sub 008E5250 f end=008E5253 ; Script_ToggleTris
purecall 0040BAA5 f end=0040BACF
purecall 0040BAA5 f end=0040BACF
return_one_byte_sub 008A1420 f end=008A1423 ; known names: System_File::Shutdown, CVGxVideoOptionsVersionCallback

View file

@ -5,23 +5,27 @@ OsInputGetMousePosition 0086A0D0 f end=0086A130
OsInputSetMousePosition 0086A130 f end=0086A194
OsInputSetMouseMode 0086A020 f end=0086A063
OsInputSetEventPollProc 00869D90 f end=00869D9D
OsInputSetWindowResizeLock 00869620 f end=0086962D
CenterMouse 00869DB0 f end=00869DF6
RestoreMouse 008695B0 f end=008695FB
OsGetAsyncTimeMs 0086AE20 f end=0086AE2B
OsSystemEnableCpuLog 0086B0C0 f end=0086B0CB
OsGetProcessorCount 0086B240 f end=0086B27D
OsGetAsyncClocksPerSecond 0086BBA0 f end=0086BBD0 type="uint64_t __stdcall func()"
OsGetExeName 0086BBD0 f end=0086BC2F
OsPathGetRootChars 0086BC30 f end=0086BC9E
OsPathStripFilename 0086BE50 f end=0086BE9B
OsGetExePath 0086BEA0 f end=0086BEBE
OsGuiGetWindow 0086C6A0 f end=0086C6CE
OsGuiMessageBox 0086C6E0 f end=0086C7D0
OsGetDefaultWindowRect 0086A1A0 f end=0086A20C
OsIMEInitialize 0086D0A0 f end=0086D0B8
OsIMEDestroy 0086D0C0 f end=0086D0Df
InternalClipboardPutString 008727E0 f end=008728B8
InternalClipboardGetString 008726F0 f end=008727BB
IOsClipboardPutString 008727E0 f end=008728B8
IOsClipboardGetString 008726F0 f end=008727BB
OsClipboardPutString 008722A0 f end=008722BF
OsClipboardGetString 00872280 f end=00872297
OsCallSetContext 0086F5A0 f end=0086F5EA
OsCallInitializeContext 0086F880 f end=0086F902
OsCallInitialize 0086F760 f end=0086F875
OsCallInitialize 0086F760 f end=0086F875
OsIsRemoteSession 0086B780 f end=0086B78C

View file

@ -0,0 +1,2 @@
s_WindowResizeLock 00D41580 l type="int32_t"
s_cpuTicksPerSecond 00D415C8 l type="uint64_t"

View file

@ -46,6 +46,8 @@ SSyncObject__Wait 00774690 f end=007746A4
SEvent__Set 00774720 f end=0077472A
SEvent__Reset 00774730 f end=0077473A
SLogCreate 007757E0 f end=007758D6 type="int32_t __stdcall func(char* filename, uint32_t flags, HSLOG* log)"
SLogClose 007754A0 f end=007754F2
SLogWrite 00775BB0 f end=00775BC6
SRgnCombineRectf 00777420 f end=00777588 type="void __stdcall func(HSRGN handle, RECTF* rect, void* param, int32_t combinemode)"
SRgnGetBoundingRectf 00777590 f end=00777897 type="void __stdcall func(HSRGN handle, RECTF* rect)"
SRgnDelete 00777940 f end=00777971 type="void __stdcall func(HSRGN handle)"
@ -85,3 +87,5 @@ SBigDel 0077C6A0 f end=0077C6F6 type="void __stdcall func(BigData* num)"
SBigMul 0077C700 f end=0077C71F type="void __stdcall func(BigData* a, BigData* b, BigData* c)"
PowMod 0077C720 f end=0077C97B type="void __stdcall func(BigBuffer* a, BigBuffer* b, BigBuffer* c, BigBuffer* d, BigStack* stack)"
SBigPowMod 0077C980 f end=0077C9A4 type="void __stdcall func(BigData* a, BigData* b, BigData* c, BigData* d)"
TSGrowableArray_CGxMonitorMode__SetCount 0068A0F0 f end=0068A165 type="void __thiscall func(TSGrowableArray_CGxMonitorMode* this, uint32_t count)"
TSGrowableArray_CGxMonitorMode__New 0068A090 f end=0068A0ED type="CGxMonitorMode* __thiscall func(TSGrowableArray_CGxMonitorMode* this)"

View file

@ -12,6 +12,14 @@
"type": "int",
"name": "Blizzard__File__Operation"
},
{
"type": "void**",
"name": "Blizzard__File__ProcessDirCallback"
},
{
"type": "int64_t",
"name": "Blizzard__Time__Timestamp"
},
{
"type": "int",
"name": "CATEGORY"
@ -1566,159 +1574,234 @@
},
{
"type": "void**",
"name": "f_cd",
"name": "cd",
"offset": 8
},
{
"type": "void**",
"name": "f_close",
"name": "close",
"offset": 12
},
{
"type": "void**",
"name": "f_create",
"name": "create",
"offset": 16
},
{
"type": "void**",
"name": "f_cwd",
"name": "cwd",
"offset": 20
},
{
"type": "void**",
"name": "f_dirwalk",
"name": "dirwalk",
"offset": 24
},
{
"type": "void**",
"name": "f_exists",
"name": "exists",
"offset": 28
},
{
"type": "void**",
"name": "f_flush",
"name": "flush",
"offset": 32
},
{
"type": "void**",
"name": "f_getfileinfo",
"name": "getfileinfo",
"offset": 36
},
{
"type": "void**",
"name": "f_getfreespace",
"name": "getfreespace",
"offset": 40
},
{
"type": "void**",
"name": "f_getpos",
"name": "getpos",
"offset": 44
},
{
"type": "void**",
"name": "f_getrootchars",
"name": "getrootchars",
"offset": 48
},
{
"type": "void**",
"name": "f_isabspath",
"name": "isabspath",
"offset": 52
},
{
"type": "void**",
"name": "f_isreadonly",
"name": "isreadonly",
"offset": 56
},
{
"type": "void**",
"name": "f_makeabspath",
"name": "makeabspath",
"offset": 60
},
{
"type": "void**",
"name": "f_mkdir",
"name": "mkdir",
"offset": 64
},
{
"type": "void**",
"name": "f_move",
"name": "move",
"offset": 68
},
{
"type": "void**",
"name": "f_copy",
"name": "copy",
"offset": 72
},
{
"type": "void**",
"name": "f_open",
"name": "open",
"offset": 76
},
{
"type": "void**",
"name": "f_read",
"name": "read",
"offset": 80
},
{
"type": "void**",
"name": "f_readp",
"name": "readp",
"offset": 84
},
{
"type": "void**",
"name": "f_rmdir",
"name": "rmdir",
"offset": 88
},
{
"type": "void**",
"name": "f_setcachemode",
"name": "setcachemode",
"offset": 92
},
{
"type": "void**",
"name": "f_seteof",
"name": "seteof",
"offset": 96
},
{
"type": "void**",
"name": "f_setfileinfo",
"name": "setfileinfo",
"offset": 100
},
{
"type": "void**",
"name": "f_setpos",
"name": "setpos",
"offset": 104
},
{
"type": "void**",
"name": "f_unlink",
"name": "unlink",
"offset": 108
},
{
"type": "void**",
"name": "f_write",
"name": "write",
"offset": 112
},
{
"type": "void**",
"name": "f_writep",
"name": "writep",
"offset": 116
},
{
"type": "void**",
"name": "f_shutdown",
"name": "shutdown",
"offset": 120
}
]
},
{
"name": "Blizzard__File__StreamRecord",
"size": 4,
"name": "Blizzard__File__ProcessDirParms",
"size": 16,
"members": [
{
"type": "void*",
"name": "handle",
"type": "char*",
"name": "dir",
"offset": 0
},
{
"type": "char*",
"name": "item",
"offset": 4
},
{
"type": "void*",
"name": "param",
"offset": 8
},
{
"type": "bool",
"name": "isdir",
"offset": 12
}
]
},
{
"name": "Blizzard__Lock__DoOnceData",
"size": 8,
"members": [
{
"type": "bool",
"name": "done",
"offset": 0
},
{
"type": "int32_t",
"name": "atomic",
"offset": 4
}
]
},
{
"name": "Blizzard__String__QuickNativePath_1024",
"size": 1032,
"members": [
{
"type": "uint32_t",
"name": "length",
"offset": 0
},
{
"type": "char*",
"name": "path",
"offset": 4
},
{
"type": "char",
"name": "buffer",
"arrsize": 1024,
"offset": 8
}
]
},
{
"name": "Blizzard__String__QuickNativePath_300",
"size": 308,
"members": [
{
"type": "uint32_t",
"name": "length",
"offset": 0
},
{
"type": "char*",
"name": "path",
"offset": 4
},
{
"type": "char",
"name": "buffer",
"arrsize": 300,
"offset": 8
}
]
},
@ -25448,17 +25531,6 @@
}
]
},
{
"name": "System_File__Stacked__FileParms",
"size": 4,
"members": [
{
"type": "uint32_t",
"name": "offset",
"offset": 0
}
]
},
{
"name": "TExtraInstanceRecyclable",
"size": 4,
@ -25691,6 +25763,32 @@
}
]
},
{
"name": "TSGrowableArray_C2iVector",
"size": 16,
"members": [
{
"type": "uint32_t",
"name": "m_alloc",
"offset": 0
},
{
"type": "uint32_t",
"name": "m_count",
"offset": 4
},
{
"type": "C2iVector*",
"name": "m_data",
"offset": 8
},
{
"type": "uint32_t",
"name": "m_chunk",
"offset": 12
}
]
},
{
"name": "TSGrowableArray_C3Vector",
"size": 16,
@ -29278,6 +29376,155 @@
}
]
},
{
"name": "System_File__Stacked__FileParms",
"size": 144,
"members": [
{
"type": "uint32_t",
"name": "op",
"offset": 0
},
{
"type": "char*",
"name": "name",
"offset": 4
},
{
"type": "char*",
"name": "newname",
"offset": 8
},
{
"type": "Blizzard__File__StreamRecord*",
"name": "file",
"offset": 12
},
{
"type": "Blizzard__File__FileInfo*",
"name": "info",
"offset": 16
},
{
"type": "uint32_t",
"name": "extra",
"arrsize": 17,
"offset": 20
},
{
"type": "uint32_t",
"name": "flags",
"offset": 88
},
{
"type": "void*",
"name": "data",
"offset": 92
},
{
"type": "uint32_t",
"name": "count",
"offset": 96
},
{
"type": "int64_t",
"name": "offset",
"offset": 104
},
{
"type": "uint32_t",
"name": "unk__",
"offset": 112
},
{
"type": "char*",
"name": "buffer",
"offset": 116
},
{
"type": "int32_t",
"name": "buffersize",
"offset": 120
},
{
"type": "bool",
"name": "unkbool1",
"offset": 124
},
{
"type": "bool",
"name": "unkbool2",
"offset": 125
},
{
"type": "void*",
"name": "dirwalkparam",
"offset": 128
},
{
"type": "Blizzard__File__ProcessDirCallback",
"name": "dirwalkcallback",
"offset": 132
},
{
"type": "uint32_t",
"name": "extra3",
"arrsize": 2,
"offset": 136
}
]
},
{
"name": "Blizzard__File__FileInfo",
"size": 56,
"members": [
{
"type": "char*",
"name": "name",
"offset": 0
},
{
"type": "uint32_t",
"name": "unk04",
"offset": 4
},
{
"type": "uint64_t",
"name": "size",
"offset": 8
},
{
"type": "uint32_t",
"name": "attributes",
"offset": 16
},
{
"type": "Blizzard__Time__Timestamp",
"name": "creationTime",
"offset": 24
},
{
"type": "Blizzard__Time__Timestamp",
"name": "lastWriteTime",
"offset": 32
},
{
"type": "Blizzard__Time__Timestamp",
"name": "lastAccessTime",
"offset": 40
},
{
"type": "int32_t",
"name": "exists",
"offset": 48
},
{
"type": "int32_t",
"name": "normal",
"offset": 52
}
]
},
{
"name": "CGxMonitorMode",
"size": 16,
@ -29664,8 +29911,8 @@
"offset": 7
},
{
"type": "uint32_t",
"name": "unk8",
"type": "bool",
"name": "aspect",
"offset": 8
},
{
@ -29685,7 +29932,7 @@
},
{
"type": "uint32_t",
"name": "unk1C",
"name": "backbuffers",
"offset": 28
},
{
@ -29695,7 +29942,7 @@
},
{
"type": "float",
"name": "float24",
"name": "multisampleQuality",
"offset": 36
},
{
@ -29714,8 +29961,8 @@
"offset": 48
},
{
"type": "uint32_t",
"name": "unk34",
"type": "bool",
"name": "stereoEnabled",
"offset": 52
},
{
@ -37284,6 +37531,47 @@
}
]
},
{
"name": "Blizzard__File__StreamRecord",
"size": 80,
"members": [
{
"type": "void*",
"name": "filehandle",
"offset": 0
},
{
"type": "uint32_t",
"name": "flags",
"offset": 4
},
{
"type": "bool",
"name": "haveinfo",
"offset": 8
},
{
"type": "uint32_t",
"name": "unk0C",
"offset": 12
},
{
"type": "Blizzard__File__FileInfo",
"name": "info",
"offset": 16
},
{
"type": "int32_t*",
"name": "unk48",
"offset": 72
},
{
"type": "char*",
"name": "name",
"offset": 76
}
]
},
{
"name": "BLPHeader",
"size": 1172,