terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ InternalExtract()

void Ionic.Zip.ZipEntry.InternalExtract ( string baseDir,
Stream outstream,
string password )
inlineprivate

Definition at line 1222 of file ZipEntry.cs.

1223 {
1224 ZipContainer container = this._container;
1225 if (container == null)
1226 {
1227 return;
1228 }
1229 ZipFile zf = container._zf;
1230 if (zf == null)
1231 {
1232 return;
1233 }
1234 long num = 0L;
1235 zf.Reset(num != 0L);
1236 ZipEntrySource source = this._Source;
1237 this.OnBeforeExtract(baseDir);
1238 this.ValidateCompression();
1239 this.ValidateEncryption();
1240 bool flag = this.ValidateOutput(baseDir, outstream, password);
1241 if (password != null && password == null)
1242 {
1243 throw new ArrayTypeMismatchException();
1244 }
1245 ZipFile zf2 = this._container._zf;
1246 if (zf2 != null)
1247 {
1248 ZipFile zf3;
1249 if (zf2._StatusMessageTextWriter != null)
1250 {
1251 zf3 = this._container._zf;
1252 if (zf3 == null)
1253 {
1254 goto IL_0098;
1255 }
1256 }
1257 if (!zf3._inExtractAll)
1258 {
1259 long num2 = 0L;
1260 bool flag2 = zf3.OnSingleEntryExtract(this, baseDir, num2 != 0L);
1261 }
1262 }
1263 IL_0098:
1264 if (!this._ioOperationCanceled)
1265 {
1266 return;
1267 }
1268 long num3;
1269 if (this == null || num3 == 0L)
1270 {
1271 }
1272 long num4;
1273 if (num4 == 0L)
1274 {
1275 return;
1276 }
1277 throw new OutOfMemoryException();
1278 }
class f__AnonymousType0<< Count > j__TPar
ZipEntrySource _Source
Definition ZipEntry.cs:2459
void ValidateCompression()
Definition ZipEntry.cs:1505
ZipContainer _container
Definition ZipEntry.cs:2426
void OnBeforeExtract(string path)
Definition ZipEntry.cs:1165
bool ValidateOutput(string basedir, Stream outstream, [Out] string outFileName)
Definition ZipEntry.cs:1528
void ValidateEncryption()
Definition ZipEntry.cs:1499
void Reset(bool whileSaving)
Definition ZipFile.cs:1196
bool OnSingleEntryExtract(ZipEntry entry, string path, bool before)
Definition ZipFile.cs:1902

References Ionic.Zip.ZipEntry._container, Ionic.Zip.ZipEntry._ioOperationCanceled, Ionic.Zip.ZipEntry._Source, Ionic.Zip.ZipContainer._zf, j__TPar, System.L, Ionic.Zip.ZipEntry.OnBeforeExtract(), Ionic.Zip.ZipFile.OnSingleEntryExtract(), Ionic.Zip.ZipFile.Reset(), System.source, Ionic.Zip.ZipEntry.ValidateCompression(), Ionic.Zip.ZipEntry.ValidateEncryption(), and Ionic.Zip.ZipEntry.ValidateOutput().