start createBowEntity.c

This commit is contained in:
TauNeutrino 2020-10-29 21:47:37 +01:00
parent fbf7f49146
commit e5bee591c9
2 changed files with 8 additions and 13 deletions

View File

@ -6,19 +6,6 @@
.text
thumb_func_start sub_08018FCC
sub_08018FCC: @ 0x08018FCC
push {lr}
ldr r2, _08018FE0 @ =gUnk_080B3E30
ldrb r1, [r0, #0xc]
lsls r1, r1, #2
adds r1, r1, r2
ldr r1, [r1]
bl _call_via_r1
pop {pc}
.align 2, 0
_08018FE0: .4byte gUnk_080B3E30
thumb_func_start sub_08018FE4
sub_08018FE4: @ 0x08018FE4
push {r4, r5, r6, lr}

8
src/createBowEntity.c Normal file
View File

@ -0,0 +1,8 @@
#include "global.h"
extern long (*gUnk_080B3E30[])(u8*);
long sub_08018FCC(u8 *r0)
{
return gUnk_080B3E30[(r0[0xC])](r0);
}