From d0d866e6b7478d051e3943fdfaa3fc5ff0a5b5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Calixte?= Date: Tue, 16 Mar 2021 09:58:32 +0100 Subject: decomp FUN_02024EC0 --- arm9/asm/unk_02024E64.s | 7 ------- arm9/global.inc | 3 ++- arm9/src/unk_02024E64_c.c | 5 +++++ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/arm9/asm/unk_02024E64.s b/arm9/asm/unk_02024E64.s index 8f726e3d..b45ae679 100644 --- a/arm9/asm/unk_02024E64.s +++ b/arm9/asm/unk_02024E64.s @@ -4,13 +4,6 @@ .text - thumb_func_start FUN_02024EC0 -FUN_02024EC0: ; 0x02024EC0 - ldr r3, _02024EC8 ; =FUN_02022634 - mov r1, #0xa - bx r3 - nop -_02024EC8: .word FUN_02022634 thumb_func_start FUN_02024ECC FUN_02024ECC: ; 0x02024ECC diff --git a/arm9/global.inc b/arm9/global.inc index 54e64ba2..022195ce 100644 --- a/arm9/global.inc +++ b/arm9/global.inc @@ -8521,4 +8521,5 @@ .extern CountAlivePokemon .extern FUN_02024E64 .extern FUN_02024E6C -.extern FUN_02024EB4 \ No newline at end of file +.extern FUN_02024EB4 +.extern FUN_02024EC0 \ No newline at end of file diff --git a/arm9/src/unk_02024E64_c.c b/arm9/src/unk_02024E64_c.c index 08982a4f..04c26f16 100644 --- a/arm9/src/unk_02024E64_c.c +++ b/arm9/src/unk_02024E64_c.c @@ -25,4 +25,9 @@ THUMB_FUNC void FUN_02024E6C(void *param0) THUMB_FUNC void *FUN_02024EB4(struct SaveBlock2 *sav2) { return SavArray_get(sav2, 0xa); +} + +THUMB_FUNC void *FUN_02024EC0(struct SaveBlock2 *sav2) +{ + return FUN_02022634(sav2, 0xa); } \ No newline at end of file -- cgit v1.2.3