mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-21 17:25:15 -05:00
Decomped sub_0205B44C
Decomped by @slaw-22
This commit is contained in:
parent
72a63360d9
commit
fcc7606d7d
|
|
@ -260,9 +260,6 @@
|
|||
.public _020B0B44
|
||||
.public _020B0B48
|
||||
.public _022B57BC
|
||||
.public _022B57C0
|
||||
.public _022B580C
|
||||
.public _022B5910
|
||||
.public _022B6F10
|
||||
.public _022B7310
|
||||
.public _022B7320
|
||||
|
|
@ -393,4 +390,5 @@
|
|||
.public sub_02056E04
|
||||
.public sub_02059AE8
|
||||
.public sub_02059AF8
|
||||
.public sub_0205B44C
|
||||
.public vsprintf
|
||||
|
|
@ -1,24 +1,8 @@
|
|||
.include "asm/macros.inc"
|
||||
.include "main_0205B44C.inc"
|
||||
.include "main_0205B478.inc"
|
||||
|
||||
.text
|
||||
|
||||
arm_func_start sub_0205B44C
|
||||
sub_0205B44C: ; 0x0205B44C
|
||||
ldr r1, _0205B468 ; =_022B5910
|
||||
ldr r0, _0205B46C ; =_020B0A54
|
||||
ldr r2, _0205B470 ; =_022B57C0
|
||||
str r1, [r0]
|
||||
ldr r1, _0205B474 ; =_022B580C
|
||||
stmib r0, {r1, r2}
|
||||
bx lr
|
||||
.align 2, 0
|
||||
_0205B468: .word _022B5910
|
||||
_0205B46C: .word _020B0A54
|
||||
_0205B470: .word _022B57C0
|
||||
_0205B474: .word _022B580C
|
||||
arm_func_end sub_0205B44C
|
||||
|
||||
arm_func_start sub_0205B478
|
||||
sub_0205B478: ; 0x0205B478
|
||||
stmdb sp!, {r3, lr}
|
||||
|
|
@ -2,5 +2,6 @@
|
|||
#define PMDSKY_MAIN_0205B440_H
|
||||
|
||||
u8* sub_0205B440(void);
|
||||
void sub_0205B44C(void);
|
||||
|
||||
#endif //PMDSKY_MAIN_0205B440_H
|
||||
|
|
|
|||
2
main.lsf
2
main.lsf
|
|
@ -144,7 +144,7 @@ Static main
|
|||
Object src/main_0205B354.o
|
||||
Object asm/main_0205B39C.o
|
||||
Object src/main_0205B440.o
|
||||
Object asm/main_0205B44C.o
|
||||
Object asm/main_0205B478.o
|
||||
Object src/dungeon_init_2.o
|
||||
Object asm/main_0206A750.o
|
||||
Object src/main_0206C98C.o
|
||||
|
|
|
|||
|
|
@ -1,8 +1,19 @@
|
|||
#include "main_0205B440.h"
|
||||
|
||||
extern u8 _020A3550;
|
||||
extern void _022B5910(void);
|
||||
extern void _022B57C0(void);
|
||||
extern void _022B580C(void);
|
||||
extern void (*_020B0A54[])(void);
|
||||
|
||||
u8* sub_0205B440(void)
|
||||
{
|
||||
return &_020A3550;
|
||||
}
|
||||
|
||||
void sub_0205B44C(void)
|
||||
{
|
||||
_020B0A54[0] = _022B5910;
|
||||
_020B0A54[2] = _022B57C0;
|
||||
_020B0A54[1] = _022B580C;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user