Fix CreateMaterial pattern for current build; use ASCII range for icon font (empty PUA font crashed ImGui BuildLookupTable)

This commit is contained in:
2026-08-05 15:06:45 +02:00
parent e44ab46da4
commit 94b028d37b
2 changed files with 6 additions and 2 deletions
@@ -11,7 +11,7 @@
namespace CMaterialSystem2_Search
{
inline CBasePattern CreateMaterialFn = { VmpStr( "CMaterialSystem2::CreateMaterial" ) , VmpStr( "48 89 5C 24 08 48 89 6C 24 18 56 57 41 56 48 81 EC ? ? ? ?" ) , MATERIALSYSTEM2_DLL };
inline CBasePattern CreateMaterialFn = { VmpStr( "CMaterialSystem2::CreateMaterial" ) , VmpStr( "48 89 5C 24 ? 48 89 6C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 41 56 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 8B F2" ) , MATERIALSYSTEM2_DLL };
}
class CMaterial2