@@ -37,7 +37,7 @@ protected override void Initialize()
37
37
$ "deobfuscated types count: { DeobfuscatedTypes . Count } ") ;
38
38
}
39
39
40
- #region IL2CPP Extern and pointers
40
+ #region IL2CPP Extern and pointers
41
41
42
42
// Extern C++ methods
43
43
[ DllImport ( "GameAssembly" , CallingConvention = CallingConvention . Cdecl , CharSet = CharSet . Ansi ) ]
@@ -63,10 +63,10 @@ public static bool Il2CppTypeNotNull(Type type, out IntPtr il2cppPtr)
63
63
return il2cppPtr != IntPtr . Zero ;
64
64
}
65
65
66
- #endregion
66
+ #endregion
67
67
68
68
69
- #region Deobfuscation cache
69
+ #region Deobfuscation cache
70
70
71
71
private static readonly Dictionary < string , Type > DeobfuscatedTypes = new Dictionary < string , Type > ( ) ;
72
72
private static readonly Dictionary < string , string > reverseDeobCache = new Dictionary < string , string > ( ) ;
@@ -111,7 +111,7 @@ internal override string Internal_ProcessTypeInString(string theString, Type typ
111
111
return theString ;
112
112
}
113
113
114
- #endregion
114
+ #endregion
115
115
116
116
117
117
// Get type by name
@@ -124,7 +124,7 @@ internal override Type Internal_GetTypeByName(string fullName)
124
124
return base . Internal_GetTypeByName ( fullName ) ;
125
125
}
126
126
127
- #region Get actual type
127
+ #region Get actual type
128
128
129
129
internal override Type Internal_GetActualType ( object obj )
130
130
{
@@ -183,10 +183,10 @@ public static Type GetUnhollowedType(CppType cppType)
183
183
return monoType ;
184
184
}
185
185
186
- #endregion
186
+ #endregion
187
187
188
188
189
- #region Casting
189
+ #region Casting
190
190
191
191
private static readonly Dictionary < string , IntPtr > cppClassPointers = new Dictionary < string , IntPtr > ( ) ;
192
192
@@ -278,10 +278,10 @@ internal override object Internal_TryCast(object obj, Type castTo)
278
278
// return il2cpp_class_is_assignable_from(thisTypePtr, fromTypePtr);
279
279
//}
280
280
281
- #endregion
281
+ #endregion
282
282
283
283
284
- #region Boxing and unboxing ValueTypes
284
+ #region Boxing and unboxing ValueTypes
285
285
286
286
// cached il2cpp unbox methods
287
287
internal static readonly Dictionary < string , MethodInfo > unboxMethods = new Dictionary < string , MethodInfo > ( ) ;
@@ -384,10 +384,10 @@ public object MakeIl2CppPrimitive(Type cppType, object monoValue)
384
384
return cppStruct ;
385
385
}
386
386
387
- #endregion
387
+ #endregion
388
388
389
389
390
- #region String boxing/unboxing
390
+ #region String boxing/unboxing
391
391
392
392
private const string IL2CPP_STRING_FULLNAME = "Il2CppSystem.String" ;
393
393
private const string STRING_FULLNAME = "System.String" ;
@@ -428,10 +428,10 @@ public string UnboxString(object value)
428
428
return s ;
429
429
}
430
430
431
- #endregion
431
+ #endregion
432
432
433
433
434
- #region Singleton finder
434
+ #region Singleton finder
435
435
436
436
internal override void Internal_FindSingleton ( string [ ] possibleNames , Type type , BF flags , List < object > instances )
437
437
{
@@ -453,10 +453,10 @@ internal override void Internal_FindSingleton(string[] possibleNames, Type type,
453
453
base . Internal_FindSingleton ( possibleNames , type , flags , instances ) ;
454
454
}
455
455
456
- #endregion
456
+ #endregion
457
457
458
458
459
- #region Force-loading game modules
459
+ #region Force-loading game modules
460
460
461
461
internal static string UnhollowedFolderPath => Path . GetFullPath (
462
462
#if ML
@@ -513,10 +513,10 @@ internal bool DoLoadModule(string fullPath, bool suppressWarning = false)
513
513
return false ;
514
514
}
515
515
516
- #endregion
516
+ #endregion
517
517
518
518
519
- #region Il2cpp reflection blacklist
519
+ #region Il2cpp reflection blacklist
520
520
521
521
public override string [ ] DefaultReflectionBlacklist => defaultIl2CppBlacklist . ToArray ( ) ;
522
522
@@ -665,10 +665,10 @@ internal bool DoLoadModule(string fullPath, bool suppressWarning = false)
665
665
"UnityEngine.XR.InputDevice.SendHapticImpulse" ,
666
666
} ;
667
667
668
- #endregion
668
+ #endregion
669
669
670
670
671
- #region IL2CPP IEnumerable and IDictionary
671
+ #region IL2CPP IEnumerable and IDictionary
672
672
673
673
protected override bool Internal_TryGetEntryType ( Type enumerableType , out Type type )
674
674
{
0 commit comments