Skip to content

Commit

Permalink
Merge pull request #78 from chordtoll/IO
Browse files Browse the repository at this point in the history
Decompile FileInit + RNG, get a bunch of assembly-only functions out of the way
  • Loading branch information
AnonymousRandomPerson authored Oct 18, 2024
2 parents 7f2a12c + 2bc531c commit 12b01d2
Show file tree
Hide file tree
Showing 19 changed files with 5,307 additions and 5,208 deletions.
53 changes: 23 additions & 30 deletions asm/include/main_02075600.inc
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
#pragma once
.public ARM9_UNKNOWN_TABLE__NA_20AE924
.public ArrayCopy16
.public ArrayCopy32
.public ArrayFill32
.public AtomicExchange
.public ClearIrqFlag
.public DTCM_BSS
.public DseMem_Free
.public EnableIrqFiqFlags
.public EnableIrqFlag
.public FX_AtanIdxTable_
.public GXi_DmaId
.public GXi_VRamLockId
.public GetProcessorMode
.public OS_IRQTable
.public SDK_MAIN_ARENA_LO
.public SDK_SECTION_ARENA_DTCM_START
.public SDK_SECTION_ARENA_EX_START
.public SDK_SECTION_ARENA_ITCM_START
.public SVC_WaitByLoop
.public SetIrqFiqFlags
.public SetIrqFlag
.public WaitForInterrupt
.public WaitForever2
.public _0200002B
.public _0207AD0C
.public _020AEBF8
.public _020B2B9C
.public _020B2BAC
.public _020B2BB0
.public _022B9208
.public _022B958E
.public _022B9590
Expand Down Expand Up @@ -51,27 +60,8 @@
.public _022B991C
.public _022B999C
.public _022B99A0
.public _022B99A8
.public _022B99B0
.public _022B99BC
.public _022B99D0
.public _022B99D4
.public _022B99D8
.public _022B99EC
.public _022B99F0
.public _022B9A20
.public _022B9A44
.public _022B9A80
.public _022B9D00
.public _022BAA20
.public _022BB4E8
.public _022BB500
.public _022BB560
.public _022BB564
.public _022BB568
.public _022BB5E8
.public _022BB5EC
.public _022BB5F8
.public _ll_sdiv
.public _ll_udiv
.public _s32_div_f
Expand All @@ -83,20 +73,23 @@
.public sSubBGExtPltt
.public sTexPlttStartAddrTable
.public sTexStartAddrTable
.public sub_01FF97CC
.public sub_01FF9A68
.public sub_01FF9AA8
.public sub_01FF9B18
.public sub_01FF9B3C
.public sub_0206F808
.public sub_0206FD88
.public sub_0206FDE0
.public sub_0207F818
.public sub_0207F9DC
.public sub_0207B87C
.public sub_0207BA94
.public sub_0207BAC8
.public sub_0207BC4C
.public sub_0207BCCC
.public sub_0207BD3C
.public sub_0207BDA8
.public sub_0207BE6C
.public sub_0207C0FC
.public sub_0207C7C4
.public sub_0207D9A4
.public sub_02080EF0
.public sub_02080F30
.public sub_02081AC4
.public sub_02083434
.public sub_02084304
.public sub_02084A4C
.public sub_02085BD4
23 changes: 23 additions & 0 deletions asm/include/main_0207B854.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#pragma once
.public ArrayCopy16
.public EnableIrqFlag
.public GetTimer0Control
.public MemcpyFast
.public OS_GetLockID
.public SVC_WaitByLoop
.public SetIrqFlag
.public WaitForever2
.public _022B99A8
.public _022B99D0
.public _022B99D4
.public _022B99D8
.public sub_01FF97CC
.public sub_02078900
.public sub_02078C3C
.public sub_02078CC8
.public sub_0207C164
.public sub_0207D9A4
.public sub_0207DAB0
.public sub_0207DAFC
.public sub_0207DB20
.public sub_02083434
44 changes: 44 additions & 0 deletions asm/include/main_0207BC3C.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#pragma once
.public ARM9_UNKNOWN_TABLE__NA_20AE924
.public EnableIrqFlag
.public FileInit
.public SetIrqFlag
.public WaitForever2
.public _020AEBF8
.public _020B2BB0
.public _022B99EC
.public _022B99F0
.public _022B9A20
.public _022B9A44
.public _022B9A80
.public _022B9D00
.public _022BAA20
.public _022BB4E8
.public _022BB500
.public _022BB560
.public _022BB564
.public _022BB568
.public _022BB5E8
.public _022BB5F8
.public sub_01FF9A68
.public sub_01FF9AA8
.public sub_01FF9B18
.public sub_01FF9B3C
.public sub_02078A98
.public sub_02078BAC
.public sub_02078C68
.public sub_02078CC8
.public sub_02079888
.public sub_020798D8
.public sub_02079D98
.public sub_0207A030
.public sub_0207A048
.public sub_0207A0CC
.public sub_0207A2A4
.public sub_0207A2C0
.public sub_0207A2DC
.public sub_0207B854
.public sub_0207F60C
.public sub_0207F70C
.public sub_0207F818
.public sub_0207F9DC
9 changes: 9 additions & 0 deletions asm/include/main_0207F40C.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#pragma once
.public EnableIrqFlag
.public FileInit
.public SetIrqFlag
.public _022BB5EC
.public sub_02079888
.public sub_0207EBA0
.public sub_0207EBE4
.public sub_0207EDB4
13 changes: 7 additions & 6 deletions asm/include/overlay_29_022E9618.inc
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
#pragma once
.public _020AFC4C
.public _s32_div_f
.public abs
.public CheckVariousStatuses2
.public DIRECTIONS_XY
.public DISPLACEMENTS_WITHIN_2_LARGEST_FIRST
.public DISPLACEMENTS_WITHIN_2_SMALLEST_FIRST
.public DISPLACEMENTS_WITHIN_3
.public DisplayUi
.public DUNGEON_PRNG_STATE
.public DUNGEON_PRNG_STATE_SECONDARY_VALUES
.public DUNGEON_PTR
.public DisplayUi
.public DungeonRandInt
.public EntityIsValid__022E95F4
.public GetLeader
.public GetTile
Expand All @@ -19,6 +17,11 @@
.public InitWeirdMinimapMatrix
.public MemAlloc
.public MemFree
.public UpdateCamera
.public UpdateMinimap
.public _020AFC4C
.public _s32_div_f
.public abs
.public ov29_022DD8B4
.public ov29_022DDEF8
.public ov29_022DE11C
Expand Down Expand Up @@ -52,5 +55,3 @@
.public sub_0204AEA0
.public sub_0204AEC0
.public sub_02051E20
.public UpdateCamera
.public UpdateMinimap
Loading

0 comments on commit 12b01d2

Please sign in to comment.