代码清理

This commit is contained in:
Perfare 2023-02-22 14:41:58 +08:00
parent 9f075f9a23
commit 19b4b43870
16 changed files with 19 additions and 73 deletions

View file

@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Il2CppDumper
{

View file

@ -1,6 +1,4 @@
using System;
namespace Il2CppDumper
namespace Il2CppDumper
{
public class Elf32_Ehdr
{

View file

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Il2CppDumper
namespace Il2CppDumper
{
public class MachoSection
{

View file

@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Il2CppDumper
{

View file

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Il2CppDumper
namespace Il2CppDumper
{
public class NSOHeader
{

View file

@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Il2CppDumper
{

View file

@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Il2CppDumper
{

View file

@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Il2CppDumper
{

View file

@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text;
namespace Il2CppDumper
{

View file

@ -131,7 +131,7 @@ namespace Il2CppDumper
goto copyMatch;
}
readToken:
readToken:
int tok;
if (inBufPos < inBufEnd)
{
@ -172,7 +172,7 @@ namespace Il2CppDumper
goto copyLiteral;
}
readExLiteralLength:
readExLiteralLength:
int exLitLen;
if (inBufPos < inBufEnd)
{
@ -202,7 +202,7 @@ namespace Il2CppDumper
phase = DecodePhase.CopyLiteral;
goto copyLiteral;
copyLiteral:
copyLiteral:
int nReadLit = litLen < nToRead ? litLen : nToRead;
if (nReadLit != 0)
{
@ -246,7 +246,7 @@ namespace Il2CppDumper
phase = DecodePhase.ReadOffset;
goto readOffset;
readOffset:
readOffset:
if (inBufPos + 1 < inBufEnd)
{
matDst = (decBuf[inBufPos + 1] << 8) | decBuf[inBufPos];
@ -279,7 +279,7 @@ namespace Il2CppDumper
goto copyMatch;
}
readExMatchLength:
readExMatchLength:
int exMatLen;
if (inBufPos < inBufEnd)
{
@ -308,7 +308,7 @@ namespace Il2CppDumper
phase = DecodePhase.CopyMatch;
goto copyMatch;
copyMatch:
copyMatch:
int nCpyMat = matLen < nToRead ? matLen : nToRead;
if (nCpyMat != 0)
{
@ -346,7 +346,7 @@ namespace Il2CppDumper
phase = DecodePhase.ReadToken;
goto readToken;
finish:
finish:
nRead = count - nToRead;
int nToBuf = nRead < DecBufLen ? nRead : DecBufLen;

View file

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace Il2CppDumper
{

View file

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Il2CppDumper
namespace Il2CppDumper
{
class Il2CppConstants
{

View file

@ -1,10 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Il2CppDumper
namespace Il2CppDumper
{
public class BlobValue
{

View file

@ -1,7 +1,7 @@
using System;
using System.Reflection;
using Mono.Cecil;
using Mono.Cecil;
using Mono.Cecil.Cil;
using System;
using System.Reflection;
using FieldAttributes = Mono.Cecil.FieldAttributes;
using MethodAttributes = Mono.Cecil.MethodAttributes;
using TypeAttributes = Mono.Cecil.TypeAttributes;

View file

@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mono.Cecil;
using Mono.Cecil;
namespace Il2CppDumper
{

View file

@ -1,9 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Il2CppDumper
namespace Il2CppDumper
{
public enum SearchSectionType
{