You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, I found such a good tool as frida-il2cpp-bridge, looked at several manuals, tried to write a script, but so far nothing has worked. One person said that an instance of a non-static class needs to be caught in runtime, but as a matter of fact, I did not understand In general,I need an instance of the class to change the value of the string "AppIdRealtime", there are no static methods, fields, etc. in the class.; public class AppSettings // TypeDefIndex: 9149
{
// Fields
public string AppIdRealtime; // 0x10
public string AppIdFusion; // 0x18
public string AppIdChat; // 0x20
public string AppIdVoice; // 0x28
public string AppVersion; // 0x30
public bool UseNameServer; // 0x38
public string FixedRegion; // 0x40
public string BestRegionSummaryFromStorage; // 0x48
public string Server; // 0x50
public int Port; // 0x58
public string ProxyServer; // 0x60
public ConnectionProtocol Protocol; // 0x68
public bool EnableProtocolFallback; // 0x69
public AuthModeOption AuthMode; // 0x6C
public bool EnableLobbyStatistics; // 0x70
public DebugLevel NetworkLogging; // 0x71
I found the code of another person who would have the same question, but I have no idea how to use it, there are errors there (according to vscode);
function findInstance(className : string, numberOfMethods : number) : Il2Cpp.Object {
const im = Il2Cpp.Domain.assembly('Assembly-CSharp').image;
const cls = im.classes
let myClass = im.tryClass(className);
for (const c of cls) {
if (c.name == className && numberOfMethods == c.methods.length) {
myClass = c;
};
}
console.log("The selected class is ", myClass)
I will be very grateful if someone helps, or tells me how to do it correctly, I've just been struggling with this for almost a week (sorry for the bad English)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hi, I found such a good tool as frida-il2cpp-bridge, looked at several manuals, tried to write a script, but so far nothing has worked. One person said that an instance of a non-static class needs to be caught in runtime, but as a matter of fact, I did not understand In general,I need an instance of the class to change the value of the string "AppIdRealtime", there are no static methods, fields, etc. in the class.; public class AppSettings // TypeDefIndex: 9149
{
// Fields
public string AppIdRealtime; // 0x10
public string AppIdFusion; // 0x18
public string AppIdChat; // 0x20
public string AppIdVoice; // 0x28
public string AppVersion; // 0x30
public bool UseNameServer; // 0x38
public string FixedRegion; // 0x40
public string BestRegionSummaryFromStorage; // 0x48
public string Server; // 0x50
public int Port; // 0x58
public string ProxyServer; // 0x60
public ConnectionProtocol Protocol; // 0x68
public bool EnableProtocolFallback; // 0x69
public AuthModeOption AuthMode; // 0x6C
public bool EnableLobbyStatistics; // 0x70
public DebugLevel NetworkLogging; // 0x71
I found the code of another person who would have the same question, but I have no idea how to use it, there are errors there (according to vscode);
function findInstance(className : string, numberOfMethods : number) : Il2Cpp.Object {
const im = Il2Cpp.Domain.assembly('Assembly-CSharp').image;
const cls = im.classes
let myClass = im.tryClass(className);
for (const c of cls) {
if (c.name == className && numberOfMethods == c.methods.length) {
myClass = c;
};
}
console.log("The selected class is ", myClass)
}
I will be very grateful if someone helps, or tells me how to do it correctly, I've just been struggling with this for almost a week (sorry for the bad English)
Beta Was this translation helpful? Give feedback.
All reactions