mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-09 19:27:17 -03:00
Fixed #276
This commit is contained in:
parent
99ba2697ad
commit
2936c9f948
1 changed files with 2 additions and 2 deletions
|
@ -75,10 +75,10 @@ namespace Il2CppDumper
|
|||
var returnType = ParseType(methodReturnType);
|
||||
var signature = $"{returnType} {FixName(methodFullName)} (";
|
||||
var parameterStrs = new List<string>();
|
||||
if ((methodDef.flags & METHOD_ATTRIBUTE_STATIC) == 0)
|
||||
if (il2Cpp.Version <= 22f || (methodDef.flags & METHOD_ATTRIBUTE_STATIC) == 0)
|
||||
{
|
||||
var thisType = ParseType(il2Cpp.types[typeDef.byrefTypeIndex]);
|
||||
parameterStrs.Add($"{thisType} this");
|
||||
parameterStrs.Add($"{thisType} __this");
|
||||
}
|
||||
for (var j = 0; j < methodDef.parameterCount; j++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue