Disculpe su rutina debe de ir así:
Excuse your routine should go like this:
https://www.pokecommunity.com/showpost.php?p=9090677&postcount=820
.equ largest_pocket_size, 0x64
.equ largest_pocket_size_plus_one, 0x65
.equ strings_size, 0x9DD
.org 0x08002B9C
malloc:
push {lr}
mov r1, r0
.org 0x081083F4
main:
push {r4, lr}
ldr r4, =(0x0203AD18)
mov r0, #0x65
lsl r0, r0, #0x3
bl malloc
str r0, [r4, #0x0]
cmp r0, #0x0
beq return
ldr r0, =strings_size
bl malloc
str r0, [r4, #0x4]
cmp r0, #0x0
beq return
mov r0, #0x1
return:
pop {r4}
pop {r1}
bx r1