Skip to content

Commit af3b66c

Browse files
committed
Apply formatting
1 parent 75a62f3 commit af3b66c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Il2CppInterop.Runtime/Injection/InjectorHelpers.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,17 +276,17 @@ private static d_GetTypeInfoFromTypeDefinitionIndex FindGetTypeInfoFromTypeDefin
276276
if (imageGetTypeXrefs.Count() > 1 && UnityVersionHandler.IsMetadataV29OrHigher)
277277
{
278278
// (Kasuromi): metadata v29 introduces handles and adds extra calls, a check for unity versions might be necessary in the future
279-
279+
280280
Logger.Instance.LogTrace($"imageGetTypeXrefs.Length: {imageGetTypeXrefs.Length}");
281-
281+
282282
// If the game is built as IL2CPP Master, GetAssemblyTypeHandle is inlined, xrefs length is 3 and it's the first function call,
283283
// if not, it's the last call.
284284
var getTypeInfoFromHandle = imageGetTypeXrefs.Length == 2 ? imageGetTypeXrefs.Last() : imageGetTypeXrefs.First();
285-
285+
286286
Logger.Instance.LogTrace($"getTypeInfoFromHandle: {getTypeInfoFromHandle:X2}");
287287

288288
var getTypeInfoFromHandleXrefs = XrefScannerLowLevel.JumpTargets(getTypeInfoFromHandle).ToArray();
289-
289+
290290
// If getTypeInfoFromHandle xrefs is not a single call, it's the function we want, if not, we keep xrefing until we find it
291291
if (getTypeInfoFromHandleXrefs.Length != 1)
292292
{

0 commit comments

Comments
 (0)