diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-03-27 02:34:07 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-27 02:34:07 +0000 |
commit | bbbb677b1605f3e0d0e9d73ae9b368692e78074a (patch) | |
tree | a0200b7b571f142562902f8fec8fc417eb1e9898 /arm9/src | |
parent | 954605b27b93c6d98fb74feb485aa7c85cd60d88 (diff) | |
parent | c93f033923e84964e8f096cb914e695d0d4f3444 (diff) |
Merge pull request #350 from SethBarberee/unk_02025484
Decompile unk_02025484
Diffstat (limited to 'arm9/src')
-rw-r--r-- | arm9/src/unk_02025484.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arm9/src/unk_02025484.c b/arm9/src/unk_02025484.c new file mode 100644 index 00000000..733ac23a --- /dev/null +++ b/arm9/src/unk_02025484.c @@ -0,0 +1,27 @@ +#include "global.h" +#include "MI_memory.h" +#include "error_handling.h" +#include "unk_02025484.h" + +THUMB_FUNC void FUN_02025484(struct unk_2025484 *r0, u32 r1) +{ + MI_CpuFill8(r0, 0, sizeof(struct unk_2025484)); +} + +THUMB_FUNC u32 *FUN_02025490(struct unk_2025484 *r0, u32 r1) +{ + FUN_02025484(r0, r1); + r0->unk0 = r1; + return &r0->unk4; +} + +THUMB_FUNC u32 *FUN_020254A0(struct unk_2025484 *r0, u32 r1) +{ + GF_ASSERT(r0->unk0 == r1); + return &r0->unk4; +} + +THUMB_FUNC u32 FUN_020254B4(struct unk_2025484 *r0) +{ + return r0->unk0; +} |