Add progress callbacks to Il2CppBinary and Il2CppInspector
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Il2CppInspectorGUI
|
||||
try {
|
||||
OnStatusUpdate?.Invoke(this, "Processing metadata");
|
||||
|
||||
metadata = new Metadata(metadataStream);
|
||||
metadata = new Metadata(metadataStream, StatusUpdate);
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
@@ -95,7 +95,7 @@ namespace Il2CppInspectorGUI
|
||||
// Architecture-agnostic load attempt
|
||||
try {
|
||||
// If we can't load the IL2CPP data here, it's probably packed or obfuscated; ignore it
|
||||
if (Il2CppBinary.Load(image, metadata) is Il2CppBinary binary) {
|
||||
if (Il2CppBinary.Load(image, metadata, StatusUpdate) is Il2CppBinary binary) {
|
||||
var inspector = new Inspector(binary, metadata);
|
||||
|
||||
// Build type model
|
||||
|
||||
Reference in New Issue
Block a user