diff --git a/src/dynafunc_aarch64_gnu.S b/src/dynafunc_aarch64_gnu.S index 1692c67..e59674e 100644 --- a/src/dynafunc_aarch64_gnu.S +++ b/src/dynafunc_aarch64_gnu.S @@ -23,9 +23,13 @@ .global g_dynafunc_end g_dynafunc: - ldr x0, .+12 - ldr x9, .+16 + ldr x0, .+20 + ldr x1, .+24 + ldr x2, .+28 + ldr x9, .+32 br x9 - .dword 0xdeadbeefdeadbeef //function parameter + .dword 0xdeadbeefdeadbeef //function VM& parameter + .dword 0x1badb0021badb002 //ModuleAndName parameter, string part + .dword 0xfee1deadfee1dead //ModuleAndName parameter, data part .dword 0xbadc0ffee0ddf00d //function pointer g_dynafunc_end: