fix(native): unaryCall armv7 signature offset

This commit is contained in:
rhunk 2023-10-28 23:56:40 +02:00
parent d350182f15
commit 31aa7151ec

View File

@ -119,7 +119,7 @@ void JNICALL init(JNIEnv *env, jobject clazz, jobject classloader) {
auto unaryCall_func = util::find_signature( auto unaryCall_func = util::find_signature(
client_module.base, client_module.size, client_module.base, client_module.size,
ARM64 ? "A8 03 1F F8 C2 00 00 94" : "0A 90 00 F0 3F F9", ARM64 ? "A8 03 1F F8 C2 00 00 94" : "0A 90 00 F0 3F F9",
ARM64 ? -0x48 : -0x38 ARM64 ? -0x48 : -0x37
); );
if (unaryCall_func != 0) { if (unaryCall_func != 0) {