sbl b14: S6 pop redirected to stublet 0x8062140 (was null-sled)

This commit is contained in:
SashegDev
2026-09-11 06:29:06 +00:00
parent 61a0b724ff
commit 22b259e818
3 changed files with 52 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
.syntax unified
.cpu cortex-a7
.thumb
@ S6: compensation for ldmia.w sp!,{r2-r9,sl,pc} at 0x8017afc
@ (pc slot gets clobbered to 0 at runtime). Rebuild frame regs
@ from stack, return to caller 0x8013ba5.
.text
.global s6_stub
s6_stub:
ldmia.w sp!, {r2-r9, sl, lr}
movw lr, #:lower16:0x8013ba5
movt lr, #:upper16:0x8013ba5
bx lr