Closed SamueleD78 closed 1 year ago
Can I see your code?
of course, nothing special:
// test.ts
import "frida-il2cpp-bridge";
function myExport(): void {
Il2Cpp.perform(() => {
const ns = Il2Cpp.Domain.assembly("mscorlib").image;
const generic = ns.class("System.Collections.Generic.List`1");
const systemstring = ns.class("System.String");
const inflated = generic.inflate(systemstring);
console.log(inflated);
});
}
/* EXECUTION */
console.log("Script Loaded");
console.log(" - Spawning");
setTimeout(myExport.bind(this), 0);
Where does it fail? Where's the piece of code where you try to inflate ConvertAll
?
you see? i was missing something ^^ I didn't know i could inflate the methods too. Thank you.
Of course this open a problem for me.. i was trying to dump all (almost) the inflated classes/methods, referring to the inflated versions into the classes members (we already talked about this).
But of course with this kind of inflated methods, i cannot know if the code inflated them somewhere. Thank you so much
In the classes dump, i have a template function as this one:
As you could see, the class expect 1 parameter to be passed to the "inflate" method (and it works flawlessly), but inside the class there is a second template param, "TOutput" (on the last method "ConvertAll"), which is unexpected and cannot be passed to the inflate cause it expects only 1 parameter.
Am i missing something?