mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): more hardware detection
This commit is contained in:
parent
0fa8d70e2c
commit
1e6fb307de
16 changed files with 26811 additions and 33 deletions
|
|
@ -50,8 +50,11 @@ 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(0x00616CA0, "void __thiscall func(TSGrowableArray_CImVector* this, uint32_t count)");
|
||||
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(0x006817C0, "void __stdcall func()");
|
||||
apply_type(0x006817E0, "int __stdcall func(char* format, ...)");
|
||||
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)");
|
||||
|
|
@ -276,6 +279,8 @@ static import_data_types() {
|
|||
apply_type(0x00766530, "int32_t __stdcall func(char* filename)");
|
||||
apply_type(0x00766640, "bool __stdcall func(char* name, char* value, void* param)");
|
||||
apply_type(0x007668C0, "bool __thiscall func(CVar* this, char* value, bool setValue, bool setReset, bool setDefault, bool a6)");
|
||||
apply_type(0x00766A20, "bool __thiscall func(CVar* this)");
|
||||
apply_type(0x00766AB0, "bool __thiscall func(CVar* this)");
|
||||
apply_type(0x00767030, "int32_t __stdcall func(uint32_t a1, uint32_t a2, void* callback, void* param)");
|
||||
apply_type(0x00767100, "void __stdcall func()");
|
||||
apply_type(0x007673F0, "void __stdcall func()");
|
||||
|
|
@ -303,10 +308,15 @@ static import_data_types() {
|
|||
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)");
|
||||
apply_type(0x00769890, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
|
||||
apply_type(0x00769950, "void __stdcall func(CGxFormat* format)");
|
||||
apply_type(0x00769C00, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
|
||||
apply_type(0x00769D00, "Hardware* __stdcall func()");
|
||||
apply_type(0x0076A220, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
|
||||
apply_type(0x0076A580, "bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)");
|
||||
apply_type(0x0076AB80, "int32_t __stdcall func(char* title, int32_t multithreaded)");
|
||||
apply_type(0x0076B3F0, "void __stdcall func(DefaultSettings* defaults, Hardware* hardware)");
|
||||
apply_type(0x0076B520, "void __stdcall func(DefaultSettings* defaults, Hardware* hardware)");
|
||||
apply_type(0x0076BA30, "void __stdcall func(Hardware* hardware, bool* hwChanged)");
|
||||
apply_type(0x0076E4A0, "void __stdcall func(uint32_t flags, uint8_t changeMask)");
|
||||
apply_type(0x0076E540, "void* __stdcall func(uint32_t bytes, char* filename, int32_t linenumber, uint32_t flags)");
|
||||
apply_type(0x0076E5A0, "int32_t __stdcall func(void* ptr, char* filename, int32_t linenumber, uint32_t flags)");
|
||||
|
|
@ -365,6 +375,7 @@ static import_data_types() {
|
|||
apply_type(0x00819EA0, "void __stdcall func(int32_t function, FrameScript_Object* object, int32_t args, char* args_fmt, FrameScript_EventObject* eventObject)");
|
||||
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)");
|
||||
apply_type(0x0095F420, "FrameScript_Object__ScriptIx* __thiscall func(CSimpleModel* this, char* name, FrameScript_Object__ScriptData* data)");
|
||||
|
|
@ -649,6 +660,8 @@ static import_data_types() {
|
|||
apply_type(0x00AD50D8, "WowClientDB_ObjectEffectPackageElemRec");
|
||||
apply_type(0x00AD50FC, "WowClientDB_SoundFilterRec");
|
||||
apply_type(0x00AD5120, "WowClientDB_SoundFilterElemRec");
|
||||
apply_type(0x00AD87C4, "char*[8]");
|
||||
apply_type(0x00AD87E4, "char*[6]");
|
||||
apply_type(0x00AD90B0, "uint8_t[16]");
|
||||
apply_type(0x00AD90C0, "uint8_t[2]");
|
||||
apply_type(0x00ADBAB4, "RECTF");
|
||||
|
|
@ -658,6 +671,14 @@ static import_data_types() {
|
|||
apply_type(0x00ADBAD4, "RECTF");
|
||||
apply_type(0x00ADBAE4, "uint32_t");
|
||||
apply_type(0x00ADBBB0, "TSList_CONSOLELINE");
|
||||
apply_type(0x00ADBE5C, "uint32_t[4]");
|
||||
apply_type(0x00ADBE6C, "uint8_t[2][2]");
|
||||
apply_type(0x00ADBE70, "uint32_t[2][2]");
|
||||
apply_type(0x00ADBE80, "float[4][2]");
|
||||
apply_type(0x00ADBEA0, "float[4][2]");
|
||||
apply_type(0x00ADBEC0, "float[4][2]");
|
||||
apply_type(0x00ADBEE0, "float[4][2]");
|
||||
apply_type(0x00ADBF00, "float[5][2]");
|
||||
apply_type(0x00AF4998, "WowClientDB_LightSkyboxRec");
|
||||
apply_type(0x00AF49BC, "WowClientDB_LightIntBandRec");
|
||||
apply_type(0x00AF49E0, "WowClientDB_LightFloatBandRec");
|
||||
|
|
@ -671,6 +692,7 @@ static import_data_types() {
|
|||
apply_type(0x00C25DE8, "uint32_t[1024]");
|
||||
apply_type(0x00C26DE8, "CURSORMODE");
|
||||
apply_type(0x00C26DF0, "uint32_t[53][1024]");
|
||||
apply_type(0x00C5DE9C, "int32_t");
|
||||
apply_type(0x00C5DF88, "CGxDevice*");
|
||||
apply_type(0x00C5FFF8, "HSLOG");
|
||||
apply_type(0x00CA1690, "float");
|
||||
|
|
@ -719,7 +741,9 @@ static import_data_types() {
|
|||
apply_type(0x00CABAC0, "CVar*");
|
||||
apply_type(0x00CABAC4, "CVar*");
|
||||
apply_type(0x00CABAEC, "CVar*");
|
||||
apply_type(0x00CABAF0, "DefaultSettings");
|
||||
apply_type(0x00CABB30, "CVar*");
|
||||
apply_type(0x00CABB38, "Hardware");
|
||||
apply_type(0x00CABB6C, "CVar*");
|
||||
apply_type(0x00CABB70, "CVar*");
|
||||
apply_type(0x00CABB74, "CVar*");
|
||||
|
|
@ -730,8 +754,15 @@ static import_data_types() {
|
|||
apply_type(0x00CABBAC, "CVar*");
|
||||
apply_type(0x00CABBB0, "CVar*");
|
||||
apply_type(0x00CABBB4, "CVar*");
|
||||
apply_type(0x00CABCBC, "bool");
|
||||
apply_type(0x00CABCBD, "bool");
|
||||
apply_type(0x00CABCBE, "bool");
|
||||
apply_type(0x00CABCC4, "int32_t");
|
||||
apply_type(0x00CABCC8, "TSGrowableArray_CGxMonitorMode");
|
||||
apply_type(0x00CABCD8, "CGxFormat");
|
||||
apply_type(0x00CABD40, "CGxFormat");
|
||||
apply_type(0x00CABDA8, "CGxFormat");
|
||||
apply_type(0x00CABE00, "CGxFormat");
|
||||
apply_type(0x00CABE98, "CGxFormat[5]");
|
||||
apply_type(0x00D43020, "int32_t");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,23 @@ static import_functions() {
|
|||
set_func_cmt(0x00763B10, "void CONSOLELINE::Delete()", 0);
|
||||
set_func_cmt(0x00763B40, "static void CONSOLELINE::Up()", 0);
|
||||
set_func_cmt(0x00763B90, "static void CONSOLELINE::Down()", 0);
|
||||
set_func_cmt(0x007663F0, "CVar::ArchiveCodeRegisteredOnly()", 0);
|
||||
set_func_cmt(0x007666B0, "CVar::LogCvar(char const*, char const*, void*)", 0);
|
||||
set_func_cmt(0x007667B0, "CVar::InternalSet(char const*, bool, bool, bool, bool)", 0);
|
||||
set_func_cmt(0x00766990, "public: void __thiscall CVar::Reset(void)", 0);
|
||||
set_func_cmt(0x00766A20, "public: bool __thiscall CVar::Default(void)", 0);
|
||||
set_func_cmt(0x00766AB0, "CVar::Update()", 0);
|
||||
set_func_cmt(0x00767030, "CVar::IterateForArchive(unsigned int, unsigned int, int (*)(char const*, char const*, void*), void*)", 0);
|
||||
set_func_cmt(0x007671A0, "CVar::LogAll(char*, unsigned long, unsigned int, unsigned int)", 0);
|
||||
set_func_cmt(0x00767220, "00005410", 0);
|
||||
set_func_cmt(0x007673A0, "00005400", 0);
|
||||
set_func_cmt(0x00767440, "CVar::Lookup(char const*)", 0);
|
||||
set_func_cmt(0x007698B0, "00005400", 0);
|
||||
set_func_cmt(0x00769950, "SetGxCVars(CGxFormat const&)", 0);
|
||||
set_func_cmt(0x00769D40, "00005400", 0);
|
||||
set_func_cmt(0x0076B3F0, "void SetDefaults(DefaultSettings&, const Hardware&)", 0);
|
||||
set_func_cmt(0x0076B520, "ConsoleDetectSetDefaultsFormat(DefaultSettings&, const Hardware&)", 0);
|
||||
set_func_cmt(0x0076BA30, "ConsoleDetectDetectHardware(Hardware&, bool&)", 0);
|
||||
set_func_cmt(0x0077ACF0, "public: unsigned int __thiscall BigBuffer::operator[](unsigned int)const", 0);
|
||||
set_func_cmt(0x0077AE80, "public: __thiscall BigStack::~BigStack(void)", 0);
|
||||
set_func_cmt(0x0077AEC0, "public: unsigned int & __thiscall BigBuffer::operator[](unsigned int)const", 0);
|
||||
|
|
|
|||
|
|
@ -2139,6 +2139,8 @@ static import_symbols() {
|
|||
set_name(0x00659B80, "WowClientDB_CharBaseInfoRec__LoadRecords");
|
||||
set_name(0x0065C290, "WowClientDB__GetRecord");
|
||||
set_name(0x0065F520, "WowClientDB_AchievementRec__GetRecordByIndex");
|
||||
set_name(0x00681210, "GxAdapterMonitorModes");
|
||||
set_name(0x00681220, "GxAdapterDesktopMode");
|
||||
set_name(0x00681290, "GxDevCreate");
|
||||
set_name(0x006813B0, "GxSceneClear");
|
||||
set_name(0x006813D0, "GxTexUpdate");
|
||||
|
|
@ -2481,13 +2483,23 @@ static import_symbols() {
|
|||
set_name(0x00765AF0, "OnKeyDown");
|
||||
set_name(0x00765FF0, "RegisterHandlers");
|
||||
set_name(0x00766140, "ConsoleScreenInitialize");
|
||||
set_name(0x007663F0, "CVar__ArchiveCodeRegisteredOnly");
|
||||
set_name(0x00766400, "CVar__Load");
|
||||
set_name(0x00766530, "CVar__Load@2");
|
||||
set_name(0x00766640, "CVar__SaveCvar");
|
||||
set_name(0x007666B0, "CVar__LogCvar");
|
||||
set_name(0x007667B0, "CVar__InternalSet");
|
||||
set_name(0x007668C0, "CVar__Set");
|
||||
set_name(0x00766990, "CVar__Reset");
|
||||
set_name(0x00766A20, "CVar__Default");
|
||||
set_name(0x00766AB0, "CVar__Update");
|
||||
set_name(0x00767030, "CVar__IterateForArchive");
|
||||
set_name(0x00767100, "CVarSaveFile");
|
||||
set_name(0x007671A0, "CVar__LogAll");
|
||||
set_name(0x00767220, "CvarListCommandHandler");
|
||||
set_name(0x007673A0, "CVar__DeleteAccountCVars");
|
||||
set_name(0x007673F0, "CVar__Destroy");
|
||||
set_name(0x00767440, "CVar__Lookup");
|
||||
set_name(0x00767FC0, "CVar__Register");
|
||||
set_name(0x00768340, "CVar__Initialize");
|
||||
set_name(0x00768410, "ConsoleCommand_Quit");
|
||||
|
|
@ -2512,12 +2524,19 @@ static import_symbols() {
|
|||
set_name(0x00769830, "CVGxMaxFPSCallback");
|
||||
set_name(0x00769860, "CVGxMaxFPSBkCallback");
|
||||
set_name(0x00769890, "CVGxWindowResizeLockCallback");
|
||||
set_name(0x007698B0, "UpdateGxCVars");
|
||||
set_name(0x00769950, "SetGxCVars");
|
||||
set_name(0x00769C00, "CVGxStereoEnabledCallback");
|
||||
set_name(0x00769D00, "ConsoleGetHardware");
|
||||
set_name(0x00769D40, "ConsoleDeviceDestroy");
|
||||
set_name(0x00769E10, "ValidateFormatMonitor");
|
||||
set_name(0x00769FF0, "CCGxRestart");
|
||||
set_name(0x0076A220, "CVGxResolutionCallback");
|
||||
set_name(0x0076A580, "CVGxRefreshCallback");
|
||||
set_name(0x0076A630, "RegisterGxCVars");
|
||||
set_name(0x0076AB80, "ConsoleDeviceInitialize");
|
||||
set_name(0x0076B3F0, "SetDefaults");
|
||||
set_name(0x0076B520, "ConsoleDetectSetDefaultsFormat");
|
||||
set_name(0x0076B620, "ConsoleDetectSaveHardware");
|
||||
set_name(0x0076BA30, "ConsoleDetectDetectHardware");
|
||||
set_name(0x0076E4A0, "SMemSetDebugFlags");
|
||||
|
|
@ -2704,6 +2723,7 @@ static import_symbols() {
|
|||
set_name(0x008727E0, "InternalClipboardPutString");
|
||||
set_name(0x00872C10, "CShaderEffect__UpdateProjMatrix");
|
||||
set_name(0x008A1420, "CVGxVideoOptionsVersionCallback");
|
||||
set_name(0x008C8DE0, "GxDefaultApi");
|
||||
set_name(0x008E5250, "return_zero4_sub");
|
||||
set_name(0x0095BFB0, "ConsoleCommandHistoryDepth");
|
||||
set_name(0x0095CEC0, "CDataRecycler__Clear");
|
||||
|
|
@ -3165,6 +3185,8 @@ static import_symbols() {
|
|||
set_name(0x00AD50D8, "g_objectEffectPackageElemDB");
|
||||
set_name(0x00AD50FC, "g_soundFilterDB");
|
||||
set_name(0x00AD5120, "g_soundFilterElemDB");
|
||||
set_name(0x00AD87C4, "formatToInt");
|
||||
set_name(0x00AD87E4, "g_gxApiNames");
|
||||
set_name(0x00AD90B0, "CBLPFile__s_eightBitAlphaLookup");
|
||||
set_name(0x00AD90C0, "CBLPFile__s_oneBitAlphaLookup");
|
||||
set_name(0x00ADBAB4, "s_rect");
|
||||
|
|
@ -3174,6 +3196,14 @@ static import_symbols() {
|
|||
set_name(0x00ADBAD4, "s_hRect");
|
||||
set_name(0x00ADBAE4, "s_baseTextFlags");
|
||||
set_name(0x00ADBBB0, "s_linelist");
|
||||
set_name(0x00ADBE5C, "s_detailDoodadDensity");
|
||||
set_name(0x00ADBE6C, "s_animatingDoodads");
|
||||
set_name(0x00ADBE70, "s_waterLOD");
|
||||
set_name(0x00ADBE80, "s_particleDensity");
|
||||
set_name(0x00ADBEA0, "s_unitDrawDist");
|
||||
set_name(0x00ADBEC0, "s_smallCull");
|
||||
set_name(0x00ADBEE0, "s_distCull");
|
||||
set_name(0x00ADBF00, "s_farClip");
|
||||
set_name(0x00AF4998, "g_lightSkyboxDB");
|
||||
set_name(0x00AF49BC, "g_lightIntBandDB");
|
||||
set_name(0x00AF49E0, "g_lightFloatBandDB");
|
||||
|
|
@ -3192,6 +3222,7 @@ static import_symbols() {
|
|||
set_name(0x00C25DE8, "s_cursorItem");
|
||||
set_name(0x00C26DE8, "s_cursorMode");
|
||||
set_name(0x00C26DF0, "s_cursorImages");
|
||||
set_name(0x00C5DE9C, "_CURRENT_LANGUAGE");
|
||||
set_name(0x00C5DF88, "g_theGxDevicePtr");
|
||||
set_name(0x00C5DFDC, "CGxDevice__s_uiVertexShader");
|
||||
set_name(0x00C5DFE0, "CGxDevice__s_shadowConstants");
|
||||
|
|
@ -3245,7 +3276,9 @@ static import_symbols() {
|
|||
set_name(0x00CABAC0, "s_cvGxFixLag");
|
||||
set_name(0x00CABAC4, "s_cvMaxFPS");
|
||||
set_name(0x00CABAEC, "s_cvGxVSync");
|
||||
set_name(0x00CABAF0, "s_defaults");
|
||||
set_name(0x00CABB30, "s_cvVideoOptionsVersion");
|
||||
set_name(0x00CABB38, "s_hardware");
|
||||
set_name(0x00CABB6C, "s_cvMaxFPSBk");
|
||||
set_name(0x00CABB70, "s_cvGxTripleBuffer");
|
||||
set_name(0x00CABB74, "s_cvGxDepthBits");
|
||||
|
|
@ -3256,8 +3289,15 @@ static import_symbols() {
|
|||
set_name(0x00CABBAC, "s_cvWidescreen");
|
||||
set_name(0x00CABBB0, "s_cvGxWindow");
|
||||
set_name(0x00CABBB4, "s_cvWindowResizeLock");
|
||||
set_name(0x00CABCBC, "s_hardwareDetected");
|
||||
set_name(0x00CABCBD, "s_hwChanged");
|
||||
set_name(0x00CABCBE, "s_hwDetect");
|
||||
set_name(0x00CABCC4, "s_consoleAccessEnabled");
|
||||
set_name(0x00CABCC8, "s_gxMonitorModes");
|
||||
set_name(0x00CABCD8, "s_requestedFormat");
|
||||
set_name(0x00CABD40, "s_desktopFormat");
|
||||
set_name(0x00CABDA8, "s_fallbackFormat");
|
||||
set_name(0x00CABE00, "s_lastGoodFormat");
|
||||
set_name(0x00CABE98, "s_formats");
|
||||
set_name(0x00D43020, "CShaderEffect__s_enableShaders");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue