Commit 27782e47 authored by swift_gan's avatar swift_gan Committed by swift_gan

fix code

parent 48df9f47
#include "base.h"
FUNCTION_START(hook_trampoline)
adr r0, addr_art_method
adr pc, addr_entry_code
addr_art_method:
.long 0
addr_entry_code:
.long 0
FUNCTION_END(hook_trampoline)
#include "base.h" #include "base.h"
FUNCTION_START(hook_trampoline) FUNCTION_START(hook_trampoline)
ldr x0, addr_art_method adr x0, addr_art_method
ldr x16, addr_entry_code adr x16, addr_entry_code
br x16 br x16
addr_art_method: addr_art_method:
.long 0 .long 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment