I hate to say this but you should try to figure it out yourself. Your issue is not really that hard to figure out. Also an additional tip, look into the rest of the mod menu, you'll have an easier time understanding it.
Fixed it by adding
-keep public class com.android.support.ESPView {
public void DrawText(android.graphics.Canvas, int, int, int, int, java.lang.String, float, float, float);
}
in proguard-rules.pro (i'm so stupid)
Okay i just boiled down the problem to
jmethodID drawtext = _env->GetMethodID(canvasView, "DrawText", "(Landroid/graphics/Canvas;IIIILjava/lang/String;FFF)V");
My first suspicion was the signature but changing it doesn't seem to do anything. I'll look into it more.
Game used (For testing): Granny v1.8.1 | 32 Bit
Currently trying to make an esp but keep crashing when trying to draw it. I've been trying to fix it for the past 6 hours but can't find the problem, i'll try to fix it again but any help will be appreciated.
I'll give the files that is modified...
Insert the Update offset on the hack_thread like this
// targetLibName can be replaced by a string of the lib name
A64HookFunction((void *)getAbsoluteAddress(targetLibName, 0xOFFSET), (void *)Update, (void **)&old_Update); // For arm64 only
// OR
MSHookFunction((void...
Thanks for the information about instance!
Here is my research:
- Classes are like templates, while instances are the actual objects that do the work.
- Instance is a specific object created from a class, with its own unique values for it's properties.
- The "void* instance parameter" is a...