convert comments (; -> @)
This commit is contained in:
+7
-7
@@ -85,7 +85,7 @@
|
||||
.charmap ":", 0xF0
|
||||
.charmap "$", 0xFF
|
||||
|
||||
; Hiragana
|
||||
@ Hiragana
|
||||
.charmap "あ", 0x01
|
||||
.charmap "い", 0x02
|
||||
.charmap "う", 0x03
|
||||
@@ -167,7 +167,7 @@
|
||||
.charmap "ぽ", 0x4F
|
||||
.charmap "っ", 0x50
|
||||
|
||||
; Katakana
|
||||
@ Katakana
|
||||
.charmap "ア", 0x51
|
||||
.charmap "イ", 0x52
|
||||
.charmap "ウ", 0x53
|
||||
@@ -253,16 +253,16 @@
|
||||
.charmapconst PKMN, 0x53, 0x54
|
||||
.charmapconst POKEBLOCK, 0x55, 0x56, 0x57, 0x58, 0x59
|
||||
|
||||
; string refs
|
||||
; unknown (0xFD, 0x00)
|
||||
@ string refs
|
||||
@ unknown (0xFD, 0x00)
|
||||
.charmapconst PLAYER, 0xFD, 0x01
|
||||
.charmapconst STRVAR_1, 0xFD, 0x02
|
||||
.charmapconst STRVAR_2, 0xFD, 0x03
|
||||
.charmapconst STRVAR_3, 0xFD, 0x04
|
||||
; unknown (0xFD, 0x05)
|
||||
@ unknown (0xFD, 0x05)
|
||||
.charmapconst RIVAL, 0xFD, 0x06
|
||||
; version-dependent strings (originally made for Ruby/Sapphire differences)
|
||||
.charmapconst VERSION, 0xFD, 0x07 ; "EMERALD"
|
||||
@ version-dependent strings (originally made for Ruby/Sapphire differences)
|
||||
.charmapconst VERSION, 0xFD, 0x07 @ "EMERALD"
|
||||
.charmapconst AQUA, 0xFD, 0x08
|
||||
.charmapconst MAGMA, 0xFD, 0x09
|
||||
.charmapconst ARCHIE, 0xFD, 0x0A
|
||||
|
||||
+7
-7
@@ -1,24 +1,24 @@
|
||||
RomBase: ; 8000000
|
||||
RomBase: @ 8000000
|
||||
b Init
|
||||
|
||||
.include "asm/rom_header.s"
|
||||
|
||||
; 80000C0
|
||||
@ 80000C0
|
||||
.4byte 0
|
||||
|
||||
GPIOPortData: ; 80000C4
|
||||
GPIOPortData: @ 80000C4
|
||||
.2byte 0
|
||||
|
||||
GPIOPortDirection: ; 80000C6
|
||||
GPIOPortDirection: @ 80000C6
|
||||
.2byte 0
|
||||
|
||||
GPIOPortReadWrite: ; 80000C8
|
||||
GPIOPortReadWrite: @ 80000C8
|
||||
.2byte 0
|
||||
|
||||
.incbin "base_emerald.gba", 0xCA, 0x204 - 0xCA
|
||||
|
||||
arm_func_start Init
|
||||
Init: ; 8000204
|
||||
Init: @ 8000204
|
||||
mov r0, PSR_IRQ_MODE
|
||||
msr cpsr_cf, r0
|
||||
ldr sp, sp_irq
|
||||
@@ -42,7 +42,7 @@ sp_irq: .4byte IWRAM_END - 0x60
|
||||
arm_func_end Init
|
||||
|
||||
arm_func_start InterruptMain
|
||||
InterruptMain: ; 8000248
|
||||
InterruptMain: @ 8000248
|
||||
mov r3, REG_BASE
|
||||
add r3, r3, 0x200
|
||||
ldr r2, [r3, OFFSET_REG_IE - 0x200]
|
||||
|
||||
+10
-10
@@ -1,6 +1,6 @@
|
||||
thumb_func_start ClearDma3Requests
|
||||
; void ClearDma3Requests()
|
||||
ClearDma3Requests: ; 8000BB8
|
||||
@ void ClearDma3Requests()
|
||||
ClearDma3Requests: @ 8000BB8
|
||||
push {lr}
|
||||
ldr r2, =gDma3ManagerLocked
|
||||
movs r0, 0x1
|
||||
@@ -27,8 +27,8 @@ _8000BCC:
|
||||
thumb_func_end ClearDma3Requests
|
||||
|
||||
thumb_func_start ProcessDma3Requests
|
||||
; void ProcessDma3Requests()
|
||||
ProcessDma3Requests: ; 8000BF0
|
||||
@ void ProcessDma3Requests()
|
||||
ProcessDma3Requests: @ 8000BF0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -340,8 +340,8 @@ _08000E46:
|
||||
thumb_func_end ProcessDma3Requests
|
||||
|
||||
thumb_func_start RequestDma3Copy
|
||||
; int RequestDma3Copy(void *src, void *dest, u16 size, u8 mode)
|
||||
RequestDma3Copy: ; 8000E68
|
||||
@ int RequestDma3Copy(void *src, void *dest, u16 size, u8 mode)
|
||||
RequestDma3Copy: @ 8000E68
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -420,8 +420,8 @@ _08000EF0:
|
||||
thumb_func_end RequestDma3Copy
|
||||
|
||||
thumb_func_start RequestDma3Fill
|
||||
; int RequestDma3Fill(s32 value, void *dest, u16 size, u8 mode)
|
||||
RequestDma3Fill: ; 8000F00
|
||||
@ int RequestDma3Fill(s32 value, void *dest, u16 size, u8 mode)
|
||||
RequestDma3Fill: @ 8000F00
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -506,8 +506,8 @@ _08000F96:
|
||||
thumb_func_end RequestDma3Fill
|
||||
|
||||
thumb_func_start CheckForSpaceForDma3Request
|
||||
; int CheckForSpaceForDma3Request(s16 index)
|
||||
CheckForSpaceForDma3Request: ; 8000FA4
|
||||
@ int CheckForSpaceForDma3Request(s16 index)
|
||||
CheckForSpaceForDma3Request: @ 8000FA4
|
||||
push {lr}
|
||||
movs r2, 0
|
||||
lsls r0, 16
|
||||
|
||||
+15826
-15826
File diff suppressed because it is too large
Load Diff
+104
-104
@@ -1,6 +1,6 @@
|
||||
thumb_func_start ResetBgs
|
||||
; void ResetBgs()
|
||||
ResetBgs: ; 80012F0
|
||||
@ void ResetBgs()
|
||||
ResetBgs: @ 80012F0
|
||||
push {lr}
|
||||
bl ResetBgControlStructs
|
||||
ldr r1, =0x030008e0
|
||||
@@ -13,8 +13,8 @@ ResetBgs: ; 80012F0
|
||||
thumb_func_end ResetBgs
|
||||
|
||||
thumb_func_start SetBgModeInternal
|
||||
; void SetBgModeInternal(u8 bgMode)
|
||||
SetBgModeInternal: ; 8001308
|
||||
@ void SetBgModeInternal(u8 bgMode)
|
||||
SetBgModeInternal: @ 8001308
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r3, =0x030008e0
|
||||
@@ -28,8 +28,8 @@ SetBgModeInternal: ; 8001308
|
||||
thumb_func_end SetBgModeInternal
|
||||
|
||||
thumb_func_start GetBgMode
|
||||
; u8 GetBgMode()
|
||||
GetBgMode: ; 8001324
|
||||
@ u8 GetBgMode()
|
||||
GetBgMode: @ 8001324
|
||||
ldr r0, =0x030008e0
|
||||
ldrb r1, [r0, 0x10]
|
||||
movs r0, 0x7
|
||||
@@ -39,8 +39,8 @@ GetBgMode: ; 8001324
|
||||
thumb_func_end GetBgMode
|
||||
|
||||
thumb_func_start ResetBgControlStructs
|
||||
; void ResetBgControlStructs()
|
||||
ResetBgControlStructs: ; 8001334
|
||||
@ void ResetBgControlStructs()
|
||||
ResetBgControlStructs: @ 8001334
|
||||
push {lr}
|
||||
ldr r2, =0x030008e0
|
||||
ldr r0, =gZeroedBgControlStruct
|
||||
@@ -58,8 +58,8 @@ _08001340:
|
||||
thumb_func_end ResetBgControlStructs
|
||||
|
||||
thumb_func_start Unused_ResetBgControlStruct
|
||||
; void Unused_ResetBgControlStruct(u8 bg)
|
||||
Unused_ResetBgControlStruct: ; 8001354
|
||||
@ void Unused_ResetBgControlStruct(u8 bg)
|
||||
Unused_ResetBgControlStruct: @ 8001354
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -82,8 +82,8 @@ _08001372:
|
||||
thumb_func_end Unused_ResetBgControlStruct
|
||||
|
||||
thumb_func_start SetBgControlAttributes
|
||||
; void SetBgControlAttributes(u8 bg, u8 tilesBaseBlock, u8 tileMapBaseBlock, u8 screenSize, u8 paletteMode, u8 priority, u8 mosaic, u8 wraparound)
|
||||
SetBgControlAttributes: ; 8001380
|
||||
@ void SetBgControlAttributes(u8 bg, u8 tilesBaseBlock, u8 tileMapBaseBlock, u8 screenSize, u8 paletteMode, u8 priority, u8 mosaic, u8 wraparound)
|
||||
SetBgControlAttributes: @ 8001380
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -243,8 +243,8 @@ _08001498:
|
||||
thumb_func_end SetBgControlAttributes
|
||||
|
||||
thumb_func_start GetBgControlAttribute
|
||||
; u8 GetBgControlAttribute(u8 bg, u8 attributeId)
|
||||
GetBgControlAttribute: ; 80014AC
|
||||
@ u8 GetBgControlAttribute(u8 bg, u8 attributeId)
|
||||
GetBgControlAttribute: @ 80014AC
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -337,8 +337,8 @@ _0800155A:
|
||||
thumb_func_end GetBgControlAttribute
|
||||
|
||||
thumb_func_start LoadBgVram
|
||||
; u8 LoadBgVram(u8, void *src, u16 size, u16 destOffset, u8 mode)
|
||||
LoadBgVram: ; 8001560
|
||||
@ u8 LoadBgVram(u8, void *src, u16 size, u16 destOffset, u8 mode)
|
||||
LoadBgVram: @ 8001560
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -413,8 +413,8 @@ _080015DE:
|
||||
thumb_func_end LoadBgVram
|
||||
|
||||
thumb_func_start ShowBgInternal
|
||||
; void ShowBgInternal(u8 bg)
|
||||
ShowBgInternal: ; 80015E8
|
||||
@ void ShowBgInternal(u8 bg)
|
||||
ShowBgInternal: @ 80015E8
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -476,8 +476,8 @@ _08001656:
|
||||
thumb_func_end ShowBgInternal
|
||||
|
||||
thumb_func_start HideBgInternal
|
||||
; void HideBgInternal(u8 bg)
|
||||
HideBgInternal: ; 8001664
|
||||
@ void HideBgInternal(u8 bg)
|
||||
HideBgInternal: @ 8001664
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -504,8 +504,8 @@ _0800168A:
|
||||
thumb_func_end HideBgInternal
|
||||
|
||||
thumb_func_start SyncBgVisibilityAndMode
|
||||
; void SyncBgVisibilityAndMode()
|
||||
SyncBgVisibilityAndMode: ; 8001698
|
||||
@ void SyncBgVisibilityAndMode()
|
||||
SyncBgVisibilityAndMode: @ 8001698
|
||||
push {lr}
|
||||
movs r0, 0
|
||||
bl GetGpuReg
|
||||
@@ -522,8 +522,8 @@ SyncBgVisibilityAndMode: ; 8001698
|
||||
thumb_func_end SyncBgVisibilityAndMode
|
||||
|
||||
thumb_func_start SetTextModeAndHideBgs
|
||||
; void SetTextModeAndHideBgs()
|
||||
SetTextModeAndHideBgs: ; 80016BC
|
||||
@ void SetTextModeAndHideBgs()
|
||||
SetTextModeAndHideBgs: @ 80016BC
|
||||
push {lr}
|
||||
movs r0, 0
|
||||
bl GetGpuReg
|
||||
@@ -537,8 +537,8 @@ SetTextModeAndHideBgs: ; 80016BC
|
||||
thumb_func_end SetTextModeAndHideBgs
|
||||
|
||||
thumb_func_start SetBgAffineInternal
|
||||
; void SetBgAffineInternal(u8 bg, u16 srcCenterX, u16 srcCenterY, u16 dispCenterX, u16 dispCenterY, u16 scaleX, u16 scaleY, u16 rotationAngle)
|
||||
SetBgAffineInternal: ; 80016D8
|
||||
@ void SetBgAffineInternal(u8 bg, u16 srcCenterX, u16 srcCenterY, u16 dispCenterX, u16 dispCenterY, u16 scaleX, u16 scaleY, u16 rotationAngle)
|
||||
SetBgAffineInternal: @ 80016D8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -635,8 +635,8 @@ _08001796:
|
||||
thumb_func_end SetBgAffineInternal
|
||||
|
||||
thumb_func_start IsInvalidBg
|
||||
; bool8 IsInvalidBg(u8 bg)
|
||||
IsInvalidBg: ; 80017A4
|
||||
@ bool8 IsInvalidBg(u8 bg)
|
||||
IsInvalidBg: @ 80017A4
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -652,15 +652,15 @@ _080017B4:
|
||||
thumb_func_end IsInvalidBg
|
||||
|
||||
thumb_func_start DummiedOutFireRedLeafGreenTileAllocFunc
|
||||
; int DummiedOutFireRedLeafGreenTileAllocFunc()
|
||||
DummiedOutFireRedLeafGreenTileAllocFunc: ; 80017B8
|
||||
@ int DummiedOutFireRedLeafGreenTileAllocFunc()
|
||||
DummiedOutFireRedLeafGreenTileAllocFunc: @ 80017B8
|
||||
movs r0, 0
|
||||
bx lr
|
||||
thumb_func_end DummiedOutFireRedLeafGreenTileAllocFunc
|
||||
|
||||
thumb_func_start ResetBgsAndClearDma3BusyFlags
|
||||
; void ResetBgsAndClearDma3BusyFlags(u32 leftoverFireRedLeafGreenVariable)
|
||||
ResetBgsAndClearDma3BusyFlags: ; 80017BC
|
||||
@ void ResetBgsAndClearDma3BusyFlags(u32 leftoverFireRedLeafGreenVariable)
|
||||
ResetBgsAndClearDma3BusyFlags: @ 80017BC
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
bl ResetBgs
|
||||
@@ -682,8 +682,8 @@ _080017CC:
|
||||
thumb_func_end ResetBgsAndClearDma3BusyFlags
|
||||
|
||||
thumb_func_start InitBgsFromTemplates
|
||||
; void InitBgsFromTemplates(u8 bgMode, struct BgTemplate *templates, u8 numTemplates)
|
||||
InitBgsFromTemplates: ; 80017E8
|
||||
@ void InitBgsFromTemplates(u8 bgMode, struct BgTemplate *templates, u8 numTemplates)
|
||||
InitBgsFromTemplates: @ 80017E8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -782,8 +782,8 @@ _08001894:
|
||||
thumb_func_end InitBgsFromTemplates
|
||||
|
||||
thumb_func_start InitBgFromTemplate
|
||||
; void InitBgFromTemplate(struct BgTemplate *templates)
|
||||
InitBgFromTemplate: ; 80018B0
|
||||
@ void InitBgFromTemplate(struct BgTemplate *templates)
|
||||
InitBgFromTemplate: @ 80018B0
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x10
|
||||
adds r7, r0, 0
|
||||
@@ -848,8 +848,8 @@ _08001920:
|
||||
thumb_func_end InitBgFromTemplate
|
||||
|
||||
thumb_func_start SetBgMode
|
||||
; void SetBgMode(u8 bgMode)
|
||||
SetBgMode: ; 8001934
|
||||
@ void SetBgMode(u8 bgMode)
|
||||
SetBgMode: @ 8001934
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -859,8 +859,8 @@ SetBgMode: ; 8001934
|
||||
thumb_func_end SetBgMode
|
||||
|
||||
thumb_func_start LoadBgTiles
|
||||
; u8 LoadBgTiles(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
LoadBgTiles: ; 8001944
|
||||
@ u8 LoadBgTiles(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
LoadBgTiles: @ 8001944
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -950,8 +950,8 @@ _080019E6:
|
||||
thumb_func_end LoadBgTiles
|
||||
|
||||
thumb_func_start LoadBgTilemap
|
||||
; u8 LoadBgTilemap(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
LoadBgTilemap: ; 80019FC
|
||||
@ u8 LoadBgTilemap(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
LoadBgTilemap: @ 80019FC
|
||||
push {r4,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -992,8 +992,8 @@ _08001A3E:
|
||||
thumb_func_end LoadBgTilemap
|
||||
|
||||
thumb_func_start Unused_LoadBgPalette
|
||||
; u8 Unused_LoadBgPalette(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
Unused_LoadBgPalette: ; 8001A4C
|
||||
@ u8 Unused_LoadBgPalette(u8 bg, void *src, u16 size, u16 destOffset)
|
||||
Unused_LoadBgPalette: @ 8001A4C
|
||||
push {r4-r7,lr}
|
||||
adds r7, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -1062,8 +1062,8 @@ _08001AC8:
|
||||
thumb_func_end Unused_LoadBgPalette
|
||||
|
||||
thumb_func_start IsDma3ManagerBusyWithBgCopy
|
||||
; bool8 IsDma3ManagerBusyWithBgCopy()
|
||||
IsDma3ManagerBusyWithBgCopy: ; 8001AD4
|
||||
@ bool8 IsDma3ManagerBusyWithBgCopy()
|
||||
IsDma3ManagerBusyWithBgCopy: @ 8001AD4
|
||||
push {r4-r7,lr}
|
||||
movs r5, 0
|
||||
movs r7, 0x1
|
||||
@@ -1115,8 +1115,8 @@ _08001B2A:
|
||||
thumb_func_end IsDma3ManagerBusyWithBgCopy
|
||||
|
||||
thumb_func_start ShowBg
|
||||
; void ShowBg(u8 bg)
|
||||
ShowBg: ; 8001B30
|
||||
@ void ShowBg(u8 bg)
|
||||
ShowBg: @ 8001B30
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1127,8 +1127,8 @@ ShowBg: ; 8001B30
|
||||
thumb_func_end ShowBg
|
||||
|
||||
thumb_func_start HideBg
|
||||
; void HideBg(u8 bg)
|
||||
HideBg: ; 8001B44
|
||||
@ void HideBg(u8 bg)
|
||||
HideBg: @ 8001B44
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1139,8 +1139,8 @@ HideBg: ; 8001B44
|
||||
thumb_func_end HideBg
|
||||
|
||||
thumb_func_start SetBgAttribute
|
||||
; void SetBgAttribute(u8 bg, u8 attributeId, u8 value)
|
||||
SetBgAttribute: ; 8001B58
|
||||
@ void SetBgAttribute(u8 bg, u8 attributeId, u8 value)
|
||||
SetBgAttribute: @ 8001B58
|
||||
push {r4,lr}
|
||||
sub sp, 0x10
|
||||
lsls r0, 24
|
||||
@@ -1243,8 +1243,8 @@ _08001C12:
|
||||
thumb_func_end SetBgAttribute
|
||||
|
||||
thumb_func_start GetBgAttribute
|
||||
; u8 GetBgAttribute(u8 bg, u8 attributeId)
|
||||
GetBgAttribute: ; 8001C1C
|
||||
@ u8 GetBgAttribute(u8 bg, u8 attributeId)
|
||||
GetBgAttribute: @ 8001C1C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -1355,8 +1355,8 @@ _08001CFA:
|
||||
thumb_func_end GetBgAttribute
|
||||
|
||||
thumb_func_start ChangeBgX
|
||||
; u32 ChangeBgX(u8 bg, u32 value, u8 op)
|
||||
ChangeBgX: ; 8001D04
|
||||
@ u32 ChangeBgX(u8 bg, u32 value, u8 op)
|
||||
ChangeBgX: @ 8001D04
|
||||
push {r4-r6,lr}
|
||||
adds r6, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -1509,8 +1509,8 @@ _08001E34:
|
||||
thumb_func_end ChangeBgX
|
||||
|
||||
thumb_func_start GetBgX
|
||||
; u32 GetBgX(u8 bg)
|
||||
GetBgX: ; 8001E40
|
||||
@ u32 GetBgX(u8 bg)
|
||||
GetBgX: @ 8001E40
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1541,8 +1541,8 @@ _08001E74:
|
||||
thumb_func_end GetBgX
|
||||
|
||||
thumb_func_start ChangeBgY
|
||||
; u32 ChangeBgY(u8 bg, u32 value, u8 op)
|
||||
ChangeBgY: ; 8001E7C
|
||||
@ u32 ChangeBgY(u8 bg, u32 value, u8 op)
|
||||
ChangeBgY: @ 8001E7C
|
||||
push {r4-r6,lr}
|
||||
adds r6, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -1695,8 +1695,8 @@ _08001FAC:
|
||||
thumb_func_end ChangeBgY
|
||||
|
||||
thumb_func_start ChangeBgY_ScreenOff
|
||||
; u32 ChangeBgY_ScreenOff(u8 bg, u32 value, u8 op)
|
||||
ChangeBgY_ScreenOff: ; 8001FB8
|
||||
@ u32 ChangeBgY_ScreenOff(u8 bg, u32 value, u8 op)
|
||||
ChangeBgY_ScreenOff: @ 8001FB8
|
||||
push {r4-r6,lr}
|
||||
adds r6, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -1849,8 +1849,8 @@ _080020E8:
|
||||
thumb_func_end ChangeBgY_ScreenOff
|
||||
|
||||
thumb_func_start GetBgY
|
||||
; u32 GetBgY(u8 bg)
|
||||
GetBgY: ; 80020F4
|
||||
@ u32 GetBgY(u8 bg)
|
||||
GetBgY: @ 80020F4
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1881,8 +1881,8 @@ _08002128:
|
||||
thumb_func_end GetBgY
|
||||
|
||||
thumb_func_start SetBgAffine
|
||||
; void SetBgAffine(u8 bg, u16 srcCenterX, u16 srcCenterY, s16 dispCenterX, s16 dispCenterY, s16 scaleX, s16 scaleY, u16 rotationAngle)
|
||||
SetBgAffine: ; 8002130
|
||||
@ void SetBgAffine(u8 bg, u16 srcCenterX, u16 srcCenterY, s16 dispCenterX, s16 dispCenterY, s16 scaleX, s16 scaleY, u16 rotationAngle)
|
||||
SetBgAffine: @ 8002130
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -1917,8 +1917,8 @@ SetBgAffine: ; 8002130
|
||||
thumb_func_end SetBgAffine
|
||||
|
||||
thumb_func_start Unused_AdjustBgMosaic
|
||||
; u8 Unused_AdjustBgMosaic(u8 a1, u8 a2)
|
||||
Unused_AdjustBgMosaic: ; 8002170
|
||||
@ u8 Unused_AdjustBgMosaic(u8 a1, u8 a2)
|
||||
Unused_AdjustBgMosaic: @ 8002170
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2039,8 +2039,8 @@ _08002226:
|
||||
thumb_func_end Unused_AdjustBgMosaic
|
||||
|
||||
thumb_func_start SetBgTilemapBuffer
|
||||
; void SetBgTilemapBuffer(u8 bg, void *tilemap)
|
||||
SetBgTilemapBuffer: ; 8002250
|
||||
@ void SetBgTilemapBuffer(u8 bg, void *tilemap)
|
||||
SetBgTilemapBuffer: @ 8002250
|
||||
push {r4,r5,lr}
|
||||
adds r5, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -2068,8 +2068,8 @@ _0800227A:
|
||||
thumb_func_end SetBgTilemapBuffer
|
||||
|
||||
thumb_func_start UnsetBgTilemapBuffer
|
||||
; void UnsetBgTilemapBuffer(u8 bg)
|
||||
UnsetBgTilemapBuffer: ; 8002284
|
||||
@ void UnsetBgTilemapBuffer(u8 bg)
|
||||
UnsetBgTilemapBuffer: @ 8002284
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2097,8 +2097,8 @@ _080022AE:
|
||||
thumb_func_end UnsetBgTilemapBuffer
|
||||
|
||||
thumb_func_start GetBgTilemapBuffer
|
||||
; void *GetBgTilemapBuffer(u8 bg)
|
||||
GetBgTilemapBuffer: ; 80022B8
|
||||
@ void *GetBgTilemapBuffer(u8 bg)
|
||||
GetBgTilemapBuffer: @ 80022B8
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2128,8 +2128,8 @@ _080022EA:
|
||||
thumb_func_end GetBgTilemapBuffer
|
||||
|
||||
thumb_func_start CopyToBgTilemapBuffer
|
||||
; void CopyToBgTilemapBuffer(u8 bg, void *src, u16 mode, u16 destOffset)
|
||||
CopyToBgTilemapBuffer: ; 80022F0
|
||||
@ void CopyToBgTilemapBuffer(u8 bg, void *src, u16 mode, u16 destOffset)
|
||||
CopyToBgTilemapBuffer: @ 80022F0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2190,8 +2190,8 @@ _08002358:
|
||||
thumb_func_end CopyToBgTilemapBuffer
|
||||
|
||||
thumb_func_start CopyBgTilemapBufferToVram
|
||||
; void CopyBgTilemapBufferToVram(u8 bg)
|
||||
CopyBgTilemapBufferToVram: ; 800236C
|
||||
@ void CopyBgTilemapBufferToVram(u8 bg)
|
||||
CopyBgTilemapBufferToVram: @ 800236C
|
||||
push {r4,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -2245,8 +2245,8 @@ _080023C8:
|
||||
thumb_func_end CopyBgTilemapBufferToVram
|
||||
|
||||
thumb_func_start CopyToBgTilemapBufferRect
|
||||
; void CopyToBgTilemapBufferRect(u8 bg, void *src, u8 destX, u8 destY, u8 width, u8 height)
|
||||
CopyToBgTilemapBufferRect: ; 80023D4
|
||||
@ void CopyToBgTilemapBufferRect(u8 bg, void *src, u8 destX, u8 destY, u8 width, u8 height)
|
||||
CopyToBgTilemapBufferRect: @ 80023D4
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2382,8 +2382,8 @@ _080024C4:
|
||||
thumb_func_end CopyToBgTilemapBufferRect
|
||||
|
||||
thumb_func_start CopyToBgTilemapBufferRect_ChangePalette
|
||||
; void CopyToBgTilemapBufferRect_ChangePalette(u8 bg, void *src, u8 destX, u8 destY, u8 rectWidth, u8 rectHeight, u8 palette)
|
||||
CopyToBgTilemapBufferRect_ChangePalette: ; 80024D8
|
||||
@ void CopyToBgTilemapBufferRect_ChangePalette(u8 bg, void *src, u8 destX, u8 destY, u8 rectWidth, u8 rectHeight, u8 palette)
|
||||
CopyToBgTilemapBufferRect_ChangePalette: @ 80024D8
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x24
|
||||
ldr r4, [sp, 0x34]
|
||||
@@ -2420,8 +2420,8 @@ CopyToBgTilemapBufferRect_ChangePalette: ; 80024D8
|
||||
thumb_func_end CopyToBgTilemapBufferRect_ChangePalette
|
||||
|
||||
thumb_func_start CopyRectToBgTilemapBufferRect
|
||||
; void CopyRectToBgTilemapBufferRect(u8 bg, void *src, u8 srcX, u8 srcY, u8 srcWidth, u8 srcHeight, u8 destX, u8 destY, u8 rectWidth, u8 rectHeight, u8 palette1, u16 tileOffset, u16 palette2)
|
||||
CopyRectToBgTilemapBufferRect: ; 800251C
|
||||
@ void CopyRectToBgTilemapBufferRect(u8 bg, void *src, u8 srcX, u8 srcY, u8 srcWidth, u8 srcHeight, u8 destX, u8 destY, u8 rectWidth, u8 rectHeight, u8 palette1, u16 tileOffset, u16 palette2)
|
||||
CopyRectToBgTilemapBufferRect: @ 800251C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2668,8 +2668,8 @@ _080026EE:
|
||||
thumb_func_end CopyRectToBgTilemapBufferRect
|
||||
|
||||
thumb_func_start FillBgTilemapBufferRect_Palette0
|
||||
; void FillBgTilemapBufferRect_Palette0(u8 bg, u16 tileNum, u8 x, u8 y, u8 width, u8 height)
|
||||
FillBgTilemapBufferRect_Palette0: ; 8002704
|
||||
@ void FillBgTilemapBufferRect_Palette0(u8 bg, u16 tileNum, u8 x, u8 y, u8 width, u8 height)
|
||||
FillBgTilemapBufferRect_Palette0: @ 8002704
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2803,8 +2803,8 @@ _080027F0:
|
||||
thumb_func_end FillBgTilemapBufferRect_Palette0
|
||||
|
||||
thumb_func_start FillBgTilemapBufferRect
|
||||
; void FillBgTilemapBufferRect(u8 bg, u16 tileNum, u8 x, u8 y, u8 width, u8 height, u8 palette)
|
||||
FillBgTilemapBufferRect: ; 8002804
|
||||
@ void FillBgTilemapBufferRect(u8 bg, u16 tileNum, u8 x, u8 y, u8 width, u8 height, u8 palette)
|
||||
FillBgTilemapBufferRect: @ 8002804
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x10
|
||||
ldr r4, [sp, 0x20]
|
||||
@@ -2837,8 +2837,8 @@ FillBgTilemapBufferRect: ; 8002804
|
||||
thumb_func_end FillBgTilemapBufferRect
|
||||
|
||||
thumb_func_start WriteSequenceToBgTilemapBuffer
|
||||
; void WriteSequenceToBgTilemapBuffer(u8 bg, u16 firstTileNum, u8 x, u8 y, u8 width, u8 height, u8 paletteSlot, u16 tileNumDelta)
|
||||
WriteSequenceToBgTilemapBuffer: ; 8002840
|
||||
@ void WriteSequenceToBgTilemapBuffer(u8 bg, u16 firstTileNum, u8 x, u8 y, u8 width, u8 height, u8 paletteSlot, u16 tileNumDelta)
|
||||
WriteSequenceToBgTilemapBuffer: @ 8002840
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -3051,8 +3051,8 @@ _080029D4:
|
||||
thumb_func_end WriteSequenceToBgTilemapBuffer
|
||||
|
||||
thumb_func_start GetBgMetricTextMode
|
||||
; u16 GetBgMetricTextMode(u8 bg, u8 whichMetric)
|
||||
GetBgMetricTextMode: ; 80029EC
|
||||
@ u16 GetBgMetricTextMode(u8 bg, u8 whichMetric)
|
||||
GetBgMetricTextMode: @ 80029EC
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3121,8 +3121,8 @@ _08002A54:
|
||||
thumb_func_end GetBgMetricTextMode
|
||||
|
||||
thumb_func_start GetBgMetricAffineMode
|
||||
; u16 GetBgMetricAffineMode(u8 bg, u8 whichMetric)
|
||||
GetBgMetricAffineMode: ; 8002A5C
|
||||
@ u16 GetBgMetricAffineMode(u8 bg, u8 whichMetric)
|
||||
GetBgMetricAffineMode: @ 8002A5C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3177,8 +3177,8 @@ _08002AAE:
|
||||
thumb_func_end GetBgMetricAffineMode
|
||||
|
||||
thumb_func_start GetTileMapIndexFromCoords
|
||||
; u32 GetTileMapIndexFromCoords(u32 x, u32 y, u32 screenSize, u32 screenWidth, u32 screenHeight)
|
||||
GetTileMapIndexFromCoords: ; 8002AB4
|
||||
@ u32 GetTileMapIndexFromCoords(u32 x, u32 y, u32 screenSize, u32 screenWidth, u32 screenHeight)
|
||||
GetTileMapIndexFromCoords: @ 8002AB4
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r0, [sp, 0x8]
|
||||
@@ -3211,8 +3211,8 @@ _08002AE0:
|
||||
thumb_func_end GetTileMapIndexFromCoords
|
||||
|
||||
thumb_func_start CopyTileMapEntry
|
||||
; void CopyTileMapEntry(u16 *src, u16 *dest, s32 palette1, u16 tileOffset, u32 palette2)
|
||||
CopyTileMapEntry: ; 8002AEC
|
||||
@ void CopyTileMapEntry(u16 *src, u16 *dest, s32 palette1, u16 tileOffset, u32 palette2)
|
||||
CopyTileMapEntry: @ 8002AEC
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -3263,8 +3263,8 @@ _08002B3C:
|
||||
thumb_func_end CopyTileMapEntry
|
||||
|
||||
thumb_func_start GetBgType
|
||||
; u16 GetBgType(u8 bg)
|
||||
GetBgType: ; 8002B48
|
||||
@ u16 GetBgType(u8 bg)
|
||||
GetBgType: @ 8002B48
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -3314,8 +3314,8 @@ _08002B90:
|
||||
thumb_func_end GetBgType
|
||||
|
||||
thumb_func_start IsInvalidBg_
|
||||
; bool8 IsInvalidBg_(u8 bg)
|
||||
IsInvalidBg_: ; 8002B9C
|
||||
@ bool8 IsInvalidBg_(u8 bg)
|
||||
IsInvalidBg_: @ 8002B9C
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3331,8 +3331,8 @@ _08002BAC:
|
||||
thumb_func_end IsInvalidBg_
|
||||
|
||||
thumb_func_start IsTileMapOutsideWram
|
||||
; bool8 IsTileMapOutsideWram(u8 bg)
|
||||
IsTileMapOutsideWram: ; 8002BB0
|
||||
@ bool8 IsTileMapOutsideWram(u8 bg)
|
||||
IsTileMapOutsideWram: @ 8002BB0
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
ldr r1, =0x030008f8
|
||||
|
||||
+198
-198
File diff suppressed because it is too large
Load Diff
+28
-28
@@ -1,5 +1,5 @@
|
||||
thumb_func_start SwitchFlashBank
|
||||
SwitchFlashBank: ; 82E185C
|
||||
SwitchFlashBank: @ 82E185C
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r3, =0x0e005555
|
||||
@@ -18,8 +18,8 @@ SwitchFlashBank: ; 82E185C
|
||||
thumb_func_end SwitchFlashBank
|
||||
|
||||
thumb_func_start ReadFlashID
|
||||
; u16 ReadFlashID()
|
||||
ReadFlashID: ; 82E1880
|
||||
@ u16 ReadFlashID()
|
||||
ReadFlashID: @ 82E1880
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x44
|
||||
mov r0, sp
|
||||
@@ -87,8 +87,8 @@ _082E1908:
|
||||
thumb_func_end ReadFlashID
|
||||
|
||||
thumb_func_start FlashTimerIntr
|
||||
; void FlashTimerIntr()
|
||||
FlashTimerIntr: ; 82E191C
|
||||
@ void FlashTimerIntr()
|
||||
FlashTimerIntr: @ 82E191C
|
||||
push {lr}
|
||||
ldr r1, =0x03001a72
|
||||
ldrh r0, [r1]
|
||||
@@ -110,8 +110,8 @@ _082E1938:
|
||||
thumb_func_end FlashTimerIntr
|
||||
|
||||
thumb_func_start SetFlashTimerIntr
|
||||
; void SetFlashTimerIntr(u8 timer_id, void ( **irq_timer_func)())
|
||||
SetFlashTimerIntr: ; 82E1944
|
||||
@ void SetFlashTimerIntr(u8 timer_id, void ( **irq_timer_func)())
|
||||
SetFlashTimerIntr: @ 82E1944
|
||||
push {lr}
|
||||
adds r2, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -139,7 +139,7 @@ _082E197A:
|
||||
thumb_func_end SetFlashTimerIntr
|
||||
|
||||
thumb_func_start StartFlashTimer
|
||||
StartFlashTimer: ; 82E1980
|
||||
StartFlashTimer: @ 82E1980
|
||||
push {r4-r6,lr}
|
||||
mov r6, r10
|
||||
mov r5, r9
|
||||
@@ -209,7 +209,7 @@ StartFlashTimer: ; 82E1980
|
||||
thumb_func_end StartFlashTimer
|
||||
|
||||
thumb_func_start StopFlashTimer
|
||||
StopFlashTimer: ; 82E1A28
|
||||
StopFlashTimer: @ 82E1A28
|
||||
ldr r3, =0x04000208
|
||||
movs r1, 0
|
||||
strh r1, [r3]
|
||||
@@ -237,15 +237,15 @@ StopFlashTimer: ; 82E1A28
|
||||
thumb_func_end StopFlashTimer
|
||||
|
||||
thumb_func_start ReadFlash1
|
||||
; u8 ReadFlash1(int address)
|
||||
ReadFlash1: ; 82E1A6C
|
||||
@ u8 ReadFlash1(int address)
|
||||
ReadFlash1: @ 82E1A6C
|
||||
ldrb r0, [r0]
|
||||
bx lr
|
||||
thumb_func_end ReadFlash1
|
||||
|
||||
thumb_func_start SetReadFlash1
|
||||
; void SetReadFlash1(u8 ( *target_func)(int address))
|
||||
SetReadFlash1: ; 82E1A70
|
||||
@ void SetReadFlash1(u8 ( *target_func)(int address))
|
||||
SetReadFlash1: @ 82E1A70
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
ldr r1, =0x03007844
|
||||
@@ -276,7 +276,7 @@ _082E1AA4:
|
||||
thumb_func_end SetReadFlash1
|
||||
|
||||
thumb_func_start ReadFlash_Core
|
||||
ReadFlash_Core: ; 82E1AB0
|
||||
ReadFlash_Core: @ 82E1AB0
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
subs r3, r2, 0x1
|
||||
@@ -299,7 +299,7 @@ _082E1ACC:
|
||||
thumb_func_end ReadFlash_Core
|
||||
|
||||
thumb_func_start ReadFlash
|
||||
ReadFlash: ; 82E1AD4
|
||||
ReadFlash: @ 82E1AD4
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x80
|
||||
adds r5, r1, 0
|
||||
@@ -371,7 +371,7 @@ _082E1B40:
|
||||
thumb_func_end ReadFlash
|
||||
|
||||
thumb_func_start VerifyFlashSector_Core
|
||||
VerifyFlashSector_Core: ; 82E1B70
|
||||
VerifyFlashSector_Core: @ 82E1B70
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
adds r3, r1, 0
|
||||
@@ -402,7 +402,7 @@ _082E1B98:
|
||||
thumb_func_end VerifyFlashSector_Core
|
||||
|
||||
thumb_func_start VerifyFlashSector
|
||||
VerifyFlashSector: ; 82E1BA0
|
||||
VerifyFlashSector: @ 82E1BA0
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x100
|
||||
adds r5, r1, 0
|
||||
@@ -471,7 +471,7 @@ _082E1C08:
|
||||
thumb_func_end VerifyFlashSector
|
||||
|
||||
thumb_func_start VerifyFlashSectorFirstNBytes
|
||||
VerifyFlashSectorFirstNBytes: ; 82E1C38
|
||||
VerifyFlashSectorFirstNBytes: @ 82E1C38
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x100
|
||||
adds r5, r1, 0
|
||||
@@ -541,7 +541,7 @@ _082E1CA0:
|
||||
thumb_func_end VerifyFlashSectorFirstNBytes
|
||||
|
||||
thumb_func_start ProgramFlashSectorsAndVerify
|
||||
ProgramFlashSectorsAndVerify: ; 82E1CD0
|
||||
ProgramFlashSectorsAndVerify: @ 82E1CD0
|
||||
push {r4-r6,lr}
|
||||
adds r5, r1, 0
|
||||
lsls r0, 16
|
||||
@@ -579,7 +579,7 @@ _082E1D08:
|
||||
thumb_func_end ProgramFlashSectorsAndVerify
|
||||
|
||||
thumb_func_start ProgramFlashSectorsVerifyFirstNBytes
|
||||
ProgramFlashSectorsVerifyFirstNBytes: ; 82E1D14
|
||||
ProgramFlashSectorsVerifyFirstNBytes: @ 82E1D14
|
||||
push {r4-r7,lr}
|
||||
adds r5, r1, 0
|
||||
adds r7, r2, 0
|
||||
@@ -619,8 +619,8 @@ _082E1D50:
|
||||
thumb_func_end ProgramFlashSectorsVerifyFirstNBytes
|
||||
|
||||
thumb_func_start IdentifyFlash
|
||||
; _BOOL2 IdentifyFlash()
|
||||
IdentifyFlash: ; 82E1D5C
|
||||
@ _BOOL2 IdentifyFlash()
|
||||
IdentifyFlash: @ 82E1D5C
|
||||
push {r4,lr}
|
||||
ldr r2, =0x04000204
|
||||
ldrh r0, [r2]
|
||||
@@ -686,7 +686,7 @@ _082E1D9E:
|
||||
thumb_func_end IdentifyFlash
|
||||
|
||||
thumb_func_start PollingSR_COMMON
|
||||
PollingSR_COMMON: ; 82E1DFC
|
||||
PollingSR_COMMON: @ 82E1DFC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -765,7 +765,7 @@ _082E1E88:
|
||||
thumb_func_end PollingSR_COMMON
|
||||
|
||||
thumb_func_start EraseFlashChip
|
||||
EraseFlashChip: ; 82E1E9C
|
||||
EraseFlashChip: @ 82E1E9C
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x40
|
||||
ldr r5, =0x04000204
|
||||
@@ -813,7 +813,7 @@ EraseFlashChip: ; 82E1E9C
|
||||
thumb_func_end EraseFlashChip
|
||||
|
||||
thumb_func_start EraseFlashSector
|
||||
EraseFlashSector: ; 82E1F10
|
||||
EraseFlashSector: @ 82E1F10
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x40
|
||||
lsls r0, 16
|
||||
@@ -903,7 +903,7 @@ _082E1FD0:
|
||||
thumb_func_end EraseFlashSector
|
||||
|
||||
thumb_func_start ProgramFlashByte
|
||||
ProgramFlashByte: ; 82E1FE0
|
||||
ProgramFlashByte: @ 82E1FE0
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x40
|
||||
adds r6, r1, 0
|
||||
@@ -969,7 +969,7 @@ _082E206C:
|
||||
thumb_func_end ProgramFlashByte
|
||||
|
||||
thumb_func_start ProgramFlashByteInternal
|
||||
ProgramFlashByteInternal: ; 82E2074
|
||||
ProgramFlashByteInternal: @ 82E2074
|
||||
push {r4,lr}
|
||||
ldr r4, =0x0e005555
|
||||
movs r2, 0xAA
|
||||
@@ -995,7 +995,7 @@ ProgramFlashByteInternal: ; 82E2074
|
||||
thumb_func_end ProgramFlashByteInternal
|
||||
|
||||
thumb_func_start ProgramFlashSector
|
||||
ProgramFlashSector: ; 82E20AC
|
||||
ProgramFlashSector: @ 82E20AC
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x40
|
||||
adds r7, r1, 0
|
||||
|
||||
+25
-25
@@ -1,86 +1,86 @@
|
||||
thumb_func_start ArcTan2
|
||||
ArcTan2: ; 82E7078
|
||||
ArcTan2: @ 82E7078
|
||||
swi 0xA
|
||||
bx lr
|
||||
thumb_func_end ArcTan2
|
||||
|
||||
thumb_func_start BgAffineSet
|
||||
; void BgAffineSet(BgAffineSet_src_data *src, BgAffineSet_dest_data *dest, int entry_count)
|
||||
BgAffineSet: ; 82E707C
|
||||
@ void BgAffineSet(BgAffineSet_src_data *src, BgAffineSet_dest_data *dest, int entry_count)
|
||||
BgAffineSet: @ 82E707C
|
||||
swi 0xE
|
||||
bx lr
|
||||
thumb_func_end BgAffineSet
|
||||
|
||||
thumb_func_start CpuFastSet
|
||||
; void CpuFastSet(void *src, void *dest, unsigned int mode)
|
||||
CpuFastSet: ; 82E7080
|
||||
@ void CpuFastSet(void *src, void *dest, unsigned int mode)
|
||||
CpuFastSet: @ 82E7080
|
||||
swi 0xC
|
||||
bx lr
|
||||
thumb_func_end CpuFastSet
|
||||
|
||||
thumb_func_start CpuSet
|
||||
; void CpuSet(void *src, void *dest, unsigned int mode)
|
||||
CpuSet: ; 82E7084
|
||||
@ void CpuSet(void *src, void *dest, unsigned int mode)
|
||||
CpuSet: @ 82E7084
|
||||
swi 0xB
|
||||
bx lr
|
||||
thumb_func_end CpuSet
|
||||
|
||||
thumb_func_start Div
|
||||
Div: ; 82E7088
|
||||
Div: @ 82E7088
|
||||
swi 0x6
|
||||
bx lr
|
||||
thumb_func_end Div
|
||||
|
||||
thumb_func_start LZ77UnCompVram
|
||||
; void LZ77UnCompVram(void *src, void *dest)
|
||||
LZ77UnCompVram: ; 82E708C
|
||||
@ void LZ77UnCompVram(void *src, void *dest)
|
||||
LZ77UnCompVram: @ 82E708C
|
||||
swi 0x12
|
||||
bx lr
|
||||
thumb_func_end LZ77UnCompVram
|
||||
|
||||
thumb_func_start LZ77UnCompWram
|
||||
; void LZ77UnCompWram(void *src, void *dest)
|
||||
LZ77UnCompWram: ; 82E7090
|
||||
@ void LZ77UnCompWram(void *src, void *dest)
|
||||
LZ77UnCompWram: @ 82E7090
|
||||
swi 0x11
|
||||
bx lr
|
||||
thumb_func_end LZ77UnCompWram
|
||||
|
||||
thumb_func_start MultiBoot
|
||||
; s32 MultiBoot(struct MultiBootParam *mp)
|
||||
MultiBoot: ; 82E7094
|
||||
@ s32 MultiBoot(struct MultiBootParam *mp)
|
||||
MultiBoot: @ 82E7094
|
||||
movs r1, 0x1
|
||||
swi 0x25
|
||||
bx lr
|
||||
thumb_func_end MultiBoot
|
||||
|
||||
thumb_func_start ObjAffineSet
|
||||
ObjAffineSet: ; 82E709C
|
||||
ObjAffineSet: @ 82E709C
|
||||
swi 0xF
|
||||
bx lr
|
||||
thumb_func_end ObjAffineSet
|
||||
|
||||
thumb_func_start RLUnCompVram
|
||||
RLUnCompVram: ; 82E70A0
|
||||
RLUnCompVram: @ 82E70A0
|
||||
swi 0x15
|
||||
bx lr
|
||||
thumb_func_end RLUnCompVram
|
||||
|
||||
thumb_func_start RLUnCompWram
|
||||
RLUnCompWram: ; 82E70A4
|
||||
RLUnCompWram: @ 82E70A4
|
||||
swi 0x14
|
||||
bx lr
|
||||
thumb_func_end RLUnCompWram
|
||||
|
||||
thumb_func_start RegisterRamReset
|
||||
; void RegisterRamReset(int ResetFlags)
|
||||
RegisterRamReset: ; 82E70A8
|
||||
@ void RegisterRamReset(int ResetFlags)
|
||||
RegisterRamReset: @ 82E70A8
|
||||
swi 0x1
|
||||
bx lr
|
||||
thumb_func_end RegisterRamReset
|
||||
|
||||
thumb_func_start SoftReset
|
||||
; void SoftReset()
|
||||
SoftReset: ; 82E70AC
|
||||
@ void SoftReset()
|
||||
SoftReset: @ 82E70AC
|
||||
ldr r3, =0x04000208
|
||||
movs r2, 0
|
||||
strb r2, [r3]
|
||||
@@ -92,15 +92,15 @@ SoftReset: ; 82E70AC
|
||||
thumb_func_end SoftReset
|
||||
|
||||
thumb_func_start Sqrt
|
||||
; s16 Sqrt(int)
|
||||
Sqrt: ; 82E70C4
|
||||
@ s16 Sqrt(int)
|
||||
Sqrt: @ 82E70C4
|
||||
swi 0x8
|
||||
bx lr
|
||||
thumb_func_end Sqrt
|
||||
|
||||
thumb_func_start VBlankIntrWait
|
||||
; void VBlankIntrWait()
|
||||
VBlankIntrWait: ; 82E70C8
|
||||
@ void VBlankIntrWait()
|
||||
VBlankIntrWait: @ 82E70C8
|
||||
movs r2, 0
|
||||
swi 0x5
|
||||
bx lr
|
||||
|
||||
+80
-80
@@ -1,95 +1,95 @@
|
||||
thumb_func_start _call_via_r0
|
||||
_call_via_r0: ; 82E70D0
|
||||
_call_via_r0: @ 82E70D0
|
||||
bx r0
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r0
|
||||
|
||||
thumb_func_start _call_via_r1
|
||||
_call_via_r1: ; 82E70D4
|
||||
_call_via_r1: @ 82E70D4
|
||||
bx r1
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r1
|
||||
|
||||
thumb_func_start _call_via_r2
|
||||
_call_via_r2: ; 82E70D8
|
||||
_call_via_r2: @ 82E70D8
|
||||
bx r2
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r2
|
||||
|
||||
thumb_func_start _call_via_r3
|
||||
_call_via_r3: ; 82E70DC
|
||||
_call_via_r3: @ 82E70DC
|
||||
bx r3
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r3
|
||||
|
||||
thumb_func_start _call_via_r4
|
||||
_call_via_r4: ; 82E70E0
|
||||
_call_via_r4: @ 82E70E0
|
||||
bx r4
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r4
|
||||
|
||||
thumb_func_start _call_via_r5
|
||||
_call_via_r5: ; 82E70E4
|
||||
_call_via_r5: @ 82E70E4
|
||||
bx r5
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r5
|
||||
|
||||
thumb_func_start _call_via_r6
|
||||
_call_via_r6: ; 82E70E8
|
||||
_call_via_r6: @ 82E70E8
|
||||
bx r6
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r6
|
||||
|
||||
thumb_func_start _call_via_r7
|
||||
_call_via_r7: ; 82E70EC
|
||||
_call_via_r7: @ 82E70EC
|
||||
bx r7
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r7
|
||||
|
||||
thumb_func_start _call_via_r8
|
||||
_call_via_r8: ; 82E70F0
|
||||
_call_via_r8: @ 82E70F0
|
||||
bx r8
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r8
|
||||
|
||||
thumb_func_start _call_via_r9
|
||||
_call_via_r9: ; 82E70F4
|
||||
_call_via_r9: @ 82E70F4
|
||||
bx r9
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_r9
|
||||
|
||||
thumb_func_start _call_via_sl
|
||||
_call_via_sl: ; 82E70F8
|
||||
_call_via_sl: @ 82E70F8
|
||||
bx r10
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_sl
|
||||
|
||||
thumb_func_start _call_via_fp
|
||||
_call_via_fp: ; 82E70FC
|
||||
_call_via_fp: @ 82E70FC
|
||||
bx r11
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_fp
|
||||
|
||||
thumb_func_start _call_via_ip
|
||||
_call_via_ip: ; 82E7100
|
||||
_call_via_ip: @ 82E7100
|
||||
bx r12
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_ip
|
||||
|
||||
thumb_func_start _call_via_sp
|
||||
_call_via_sp: ; 82E7104
|
||||
_call_via_sp: @ 82E7104
|
||||
bx sp
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_sp
|
||||
|
||||
thumb_func_start _call_via_lr
|
||||
_call_via_lr: ; 82E7108
|
||||
_call_via_lr: @ 82E7108
|
||||
bx lr
|
||||
mov r8, r8
|
||||
thumb_func_end _call_via_lr
|
||||
|
||||
thumb_func_start __divdi3
|
||||
__divdi3: ; 82E710C
|
||||
__divdi3: @ 82E710C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -643,8 +643,8 @@ _082E753C: .4byte 0x0000ffff
|
||||
thumb_func_end __divdi3
|
||||
|
||||
thumb_func_start __divsi3
|
||||
; int __divsi3(int dividend, int divisor)
|
||||
__divsi3: ; 82E7540
|
||||
@ int __divsi3(int dividend, int divisor)
|
||||
__divsi3: @ 82E7540
|
||||
cmp r1, 0
|
||||
beq _082E75C8
|
||||
push {r4}
|
||||
@@ -733,12 +733,12 @@ _082E75C8:
|
||||
thumb_func_end __divsi3
|
||||
|
||||
thumb_func_start nullsub_1
|
||||
nullsub_1: ; 82E75D4
|
||||
nullsub_1: @ 82E75D4
|
||||
mov pc, lr
|
||||
thumb_func_end nullsub_1
|
||||
|
||||
thumb_func_start __fixunsdfsi
|
||||
__fixunsdfsi: ; 82E75D8
|
||||
__fixunsdfsi: @ 82E75D8
|
||||
push {r4,r5,lr}
|
||||
adds r5, r1, 0
|
||||
adds r4, r0, 0
|
||||
@@ -772,7 +772,7 @@ _082E7618: .4byte 0x00000000
|
||||
thumb_func_end __fixunsdfsi
|
||||
|
||||
thumb_func_start __fixunssfsi
|
||||
__fixunssfsi: ; 82E761C
|
||||
__fixunssfsi: @ 82E761C
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
ldr r1, _082E7634
|
||||
@@ -799,7 +799,7 @@ _082E764C: .4byte 0xcf000000
|
||||
thumb_func_end __fixunssfsi
|
||||
|
||||
thumb_func_start __modsi3
|
||||
__modsi3: ; 82E7650
|
||||
__modsi3: @ 82E7650
|
||||
movs r3, 0x1
|
||||
cmp r1, 0
|
||||
beq _082E7714
|
||||
@@ -921,7 +921,7 @@ _082E7714:
|
||||
thumb_func_end __modsi3
|
||||
|
||||
thumb_func_start __muldi3
|
||||
__muldi3: ; 82E7720
|
||||
__muldi3: @ 82E7720
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x10
|
||||
str r0, [sp]
|
||||
@@ -982,7 +982,7 @@ _082E778C: .4byte 0x0000ffff
|
||||
thumb_func_end __muldi3
|
||||
|
||||
thumb_func_start __udivdi3
|
||||
__udivdi3: ; 82E7790
|
||||
__udivdi3: @ 82E7790
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1485,8 +1485,8 @@ _082E7B64: .4byte 0x0000ffff
|
||||
thumb_func_end __udivdi3
|
||||
|
||||
thumb_func_start __udivsi3
|
||||
; unsigned int __udivsi3(unsigned int dividend, unsigned int divisor)
|
||||
__udivsi3: ; 82E7B68
|
||||
@ unsigned int __udivsi3(unsigned int dividend, unsigned int divisor)
|
||||
__udivsi3: @ 82E7B68
|
||||
cmp r1, 0
|
||||
beq _082E7BD6
|
||||
movs r3, 0x1
|
||||
@@ -1559,8 +1559,8 @@ _082E7BD6:
|
||||
thumb_func_end __udivsi3
|
||||
|
||||
thumb_func_start __umodsi3
|
||||
; unsigned int __umodsi3(unsigned int dividend, unsigned int divisor)
|
||||
__umodsi3: ; 82E7BE0
|
||||
@ unsigned int __umodsi3(unsigned int dividend, unsigned int divisor)
|
||||
__umodsi3: @ 82E7BE0
|
||||
cmp r1, 0
|
||||
beq _082E7C96
|
||||
movs r3, 0x1
|
||||
@@ -1674,7 +1674,7 @@ _082E7C96:
|
||||
thumb_func_end __umodsi3
|
||||
|
||||
thumb_func_start __pack_d
|
||||
__pack_d: ; 82E7CA0
|
||||
__pack_d: @ 82E7CA0
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x8
|
||||
adds r1, r0, 0
|
||||
@@ -1847,7 +1847,7 @@ _082E7DE4: .4byte 0xffff800f
|
||||
thumb_func_end __pack_d
|
||||
|
||||
thumb_func_start __unpack_d
|
||||
__unpack_d: ; 82E7DE8
|
||||
__unpack_d: @ 82E7DE8
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x8
|
||||
adds r2, r0, 0
|
||||
@@ -1963,7 +1963,7 @@ _082E7EBC: .4byte 0x10000000
|
||||
thumb_func_end __unpack_d
|
||||
|
||||
thumb_func_start __fpadd_parts_d
|
||||
__fpadd_parts_d: ; 82E7EC0
|
||||
__fpadd_parts_d: @ 82E7EC0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2305,8 +2305,8 @@ _082E8128: .4byte 0x1fffffff
|
||||
thumb_func_end __fpadd_parts_d
|
||||
|
||||
thumb_func_start __adddf3
|
||||
; double __adddf3(double arg_a, double arg_b)
|
||||
__adddf3: ; 82E812C
|
||||
@ double __adddf3(double arg_a, double arg_b)
|
||||
__adddf3: @ 82E812C
|
||||
push {r4,lr}
|
||||
sub sp, 0x4C
|
||||
str r0, [sp, 0x3C]
|
||||
@@ -2330,7 +2330,7 @@ __adddf3: ; 82E812C
|
||||
thumb_func_end __adddf3
|
||||
|
||||
thumb_func_start __subdf3
|
||||
__subdf3: ; 82E815C
|
||||
__subdf3: @ 82E815C
|
||||
push {r4,lr}
|
||||
sub sp, 0x4C
|
||||
str r0, [sp, 0x3C]
|
||||
@@ -2358,7 +2358,7 @@ __subdf3: ; 82E815C
|
||||
thumb_func_end __subdf3
|
||||
|
||||
thumb_func_start __muldf3
|
||||
__muldf3: ; 82E8194
|
||||
__muldf3: @ 82E8194
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2720,7 +2720,7 @@ _082E8438: .4byte 0x0fffffff
|
||||
thumb_func_end __muldf3
|
||||
|
||||
thumb_func_start __divdf3
|
||||
__divdf3: ; 82E843C
|
||||
__divdf3: @ 82E843C
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x48
|
||||
str r0, [sp, 0x28]
|
||||
@@ -2937,7 +2937,7 @@ _082E85C0: .4byte 0x10000000
|
||||
thumb_func_end __divdf3
|
||||
|
||||
thumb_func_start __fpcmp_parts_d
|
||||
__fpcmp_parts_d: ; 82E85C4
|
||||
__fpcmp_parts_d: @ 82E85C4
|
||||
push {r4-r6,lr}
|
||||
adds r5, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -3094,7 +3094,7 @@ _082E86C0:
|
||||
thumb_func_end __fpcmp_parts_d
|
||||
|
||||
thumb_func_start __cmpdf2
|
||||
__cmpdf2: ; 82E86C4
|
||||
__cmpdf2: @ 82E86C4
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3116,7 +3116,7 @@ __cmpdf2: ; 82E86C4
|
||||
thumb_func_end __cmpdf2
|
||||
|
||||
thumb_func_start __eqdf2
|
||||
__eqdf2: ; 82E86F0
|
||||
__eqdf2: @ 82E86F0
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3159,7 +3159,7 @@ _082E8736:
|
||||
thumb_func_end __eqdf2
|
||||
|
||||
thumb_func_start __nedf2
|
||||
__nedf2: ; 82E873C
|
||||
__nedf2: @ 82E873C
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3202,7 +3202,7 @@ _082E8782:
|
||||
thumb_func_end __nedf2
|
||||
|
||||
thumb_func_start __gtdf2
|
||||
__gtdf2: ; 82E8788
|
||||
__gtdf2: @ 82E8788
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3246,8 +3246,8 @@ _082E87D0:
|
||||
thumb_func_end __gtdf2
|
||||
|
||||
thumb_func_start __gedf2
|
||||
; int __gedf2(double arg_a, double arg_b)
|
||||
__gedf2: ; 82E87D4
|
||||
@ int __gedf2(double arg_a, double arg_b)
|
||||
__gedf2: @ 82E87D4
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3291,7 +3291,7 @@ _082E881C:
|
||||
thumb_func_end __gedf2
|
||||
|
||||
thumb_func_start __ltdf2
|
||||
__ltdf2: ; 82E8820
|
||||
__ltdf2: @ 82E8820
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3334,7 +3334,7 @@ _082E8866:
|
||||
thumb_func_end __ltdf2
|
||||
|
||||
thumb_func_start __ledf2
|
||||
__ledf2: ; 82E886C
|
||||
__ledf2: @ 82E886C
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x28]
|
||||
@@ -3377,7 +3377,7 @@ _082E88B2:
|
||||
thumb_func_end __ledf2
|
||||
|
||||
thumb_func_start __floatsidf
|
||||
__floatsidf: ; 82E88B8
|
||||
__floatsidf: @ 82E88B8
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x14
|
||||
adds r2, r0, 0
|
||||
@@ -3447,8 +3447,8 @@ _082E8930: .4byte 0x0fffffff
|
||||
thumb_func_end __floatsidf
|
||||
|
||||
thumb_func_start __fixdfsi
|
||||
; int __fixdfsi(double arg_a)
|
||||
__fixdfsi: ; 82E8934
|
||||
@ int __fixdfsi(double arg_a)
|
||||
__fixdfsi: @ 82E8934
|
||||
push {lr}
|
||||
sub sp, 0x1C
|
||||
str r0, [sp, 0x14]
|
||||
@@ -3515,7 +3515,7 @@ _082E89A2:
|
||||
thumb_func_end __fixdfsi
|
||||
|
||||
thumb_func_start __negdf2
|
||||
__negdf2: ; 82E89A8
|
||||
__negdf2: @ 82E89A8
|
||||
push {lr}
|
||||
sub sp, 0x1C
|
||||
str r0, [sp, 0x14]
|
||||
@@ -3537,7 +3537,7 @@ _082E89C2:
|
||||
thumb_func_end __negdf2
|
||||
|
||||
thumb_func_start __make_dp
|
||||
__make_dp: ; 82E89D0
|
||||
__make_dp: @ 82E89D0
|
||||
sub sp, 0x4
|
||||
push {r4,lr}
|
||||
sub sp, 0x14
|
||||
@@ -3559,7 +3559,7 @@ __make_dp: ; 82E89D0
|
||||
thumb_func_end __make_dp
|
||||
|
||||
thumb_func_start __truncdfsf2
|
||||
__truncdfsf2: ; 82E89F8
|
||||
__truncdfsf2: @ 82E89F8
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x1C
|
||||
str r0, [sp, 0x14]
|
||||
@@ -3596,7 +3596,7 @@ _082E8A38: .4byte 0x3fffffff
|
||||
thumb_func_end __truncdfsf2
|
||||
|
||||
thumb_func_start __pack_f
|
||||
__pack_f: ; 82E8A3C
|
||||
__pack_f: @ 82E8A3C
|
||||
push {r4-r6,lr}
|
||||
ldr r2, [r0, 0xC]
|
||||
ldr r6, [r0, 0x4]
|
||||
@@ -3702,7 +3702,7 @@ _082E8AF0: .4byte 0x7fffffff
|
||||
thumb_func_end __pack_f
|
||||
|
||||
thumb_func_start __unpack_f
|
||||
__unpack_f: ; 82E8AF4
|
||||
__unpack_f: @ 82E8AF4
|
||||
push {r4,lr}
|
||||
adds r3, r1, 0
|
||||
ldr r0, [r0]
|
||||
@@ -3775,7 +3775,7 @@ _082E8B6C:
|
||||
thumb_func_end __unpack_f
|
||||
|
||||
thumb_func_start __fpadd_parts_f
|
||||
__fpadd_parts_f: ; 82E8B70
|
||||
__fpadd_parts_f: @ 82E8B70
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -3998,7 +3998,7 @@ _082E8CE4:
|
||||
thumb_func_end __fpadd_parts_f
|
||||
|
||||
thumb_func_start __addsf3
|
||||
__addsf3: ; 82E8CEC
|
||||
__addsf3: @ 82E8CEC
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x30]
|
||||
@@ -4020,7 +4020,7 @@ __addsf3: ; 82E8CEC
|
||||
thumb_func_end __addsf3
|
||||
|
||||
thumb_func_start __subsf3
|
||||
__subsf3: ; 82E8D18
|
||||
__subsf3: @ 82E8D18
|
||||
push {r4,lr}
|
||||
sub sp, 0x38
|
||||
str r0, [sp, 0x30]
|
||||
@@ -4046,7 +4046,7 @@ __subsf3: ; 82E8D18
|
||||
thumb_func_end __subsf3
|
||||
|
||||
thumb_func_start __mulsf3
|
||||
__mulsf3: ; 82E8D4C
|
||||
__mulsf3: @ 82E8D4C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -4249,7 +4249,7 @@ _082E8EAC: .4byte 0x3fffffff
|
||||
thumb_func_end __mulsf3
|
||||
|
||||
thumb_func_start __divsf3
|
||||
__divsf3: ; 82E8EB0
|
||||
__divsf3: @ 82E8EB0
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4385,7 +4385,7 @@ _082E8F90:
|
||||
thumb_func_end __divsf3
|
||||
|
||||
thumb_func_start __fpcmp_parts_f
|
||||
__fpcmp_parts_f: ; 82E8F9C
|
||||
__fpcmp_parts_f: @ 82E8F9C
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
movs r0, 0
|
||||
@@ -4528,7 +4528,7 @@ _082E907E:
|
||||
thumb_func_end __fpcmp_parts_f
|
||||
|
||||
thumb_func_start __cmpsf2
|
||||
__cmpsf2: ; 82E9080
|
||||
__cmpsf2: @ 82E9080
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4548,7 +4548,7 @@ __cmpsf2: ; 82E9080
|
||||
thumb_func_end __cmpsf2
|
||||
|
||||
thumb_func_start __eqsf2
|
||||
__eqsf2: ; 82E90A8
|
||||
__eqsf2: @ 82E90A8
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4589,7 +4589,7 @@ _082E90EA:
|
||||
thumb_func_end __eqsf2
|
||||
|
||||
thumb_func_start __nesf2
|
||||
__nesf2: ; 82E90F0
|
||||
__nesf2: @ 82E90F0
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4630,7 +4630,7 @@ _082E9132:
|
||||
thumb_func_end __nesf2
|
||||
|
||||
thumb_func_start __gtsf2
|
||||
__gtsf2: ; 82E9138
|
||||
__gtsf2: @ 82E9138
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4672,7 +4672,7 @@ _082E917C:
|
||||
thumb_func_end __gtsf2
|
||||
|
||||
thumb_func_start __gesf2
|
||||
__gesf2: ; 82E9180
|
||||
__gesf2: @ 82E9180
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4714,7 +4714,7 @@ _082E91C4:
|
||||
thumb_func_end __gesf2
|
||||
|
||||
thumb_func_start __ltsf2
|
||||
__ltsf2: ; 82E91C8
|
||||
__ltsf2: @ 82E91C8
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4755,7 +4755,7 @@ _082E920A:
|
||||
thumb_func_end __ltsf2
|
||||
|
||||
thumb_func_start __lesf2
|
||||
__lesf2: ; 82E9210
|
||||
__lesf2: @ 82E9210
|
||||
push {r4,lr}
|
||||
sub sp, 0x28
|
||||
str r0, [sp, 0x20]
|
||||
@@ -4796,7 +4796,7 @@ _082E9252:
|
||||
thumb_func_end __lesf2
|
||||
|
||||
thumb_func_start __floatsisf
|
||||
__floatsisf: ; 82E9258
|
||||
__floatsisf: @ 82E9258
|
||||
push {lr}
|
||||
sub sp, 0x10
|
||||
adds r1, r0, 0
|
||||
@@ -4853,7 +4853,7 @@ _082E92B4: .4byte 0x3fffffff
|
||||
thumb_func_end __floatsisf
|
||||
|
||||
thumb_func_start __fixsfsi
|
||||
__fixsfsi: ; 82E92B8
|
||||
__fixsfsi: @ 82E92B8
|
||||
push {lr}
|
||||
sub sp, 0x14
|
||||
str r0, [sp, 0x10]
|
||||
@@ -4917,7 +4917,7 @@ _082E931C:
|
||||
thumb_func_end __fixsfsi
|
||||
|
||||
thumb_func_start __negsf2
|
||||
__negsf2: ; 82E9320
|
||||
__negsf2: @ 82E9320
|
||||
push {lr}
|
||||
sub sp, 0x14
|
||||
str r0, [sp, 0x10]
|
||||
@@ -4938,7 +4938,7 @@ _082E9338:
|
||||
thumb_func_end __negsf2
|
||||
|
||||
thumb_func_start __make_fp
|
||||
__make_fp: ; 82E9344
|
||||
__make_fp: @ 82E9344
|
||||
push {lr}
|
||||
sub sp, 0x10
|
||||
str r0, [sp]
|
||||
@@ -4952,7 +4952,7 @@ __make_fp: ; 82E9344
|
||||
thumb_func_end __make_fp
|
||||
|
||||
thumb_func_start __extendsfdf2
|
||||
__extendsfdf2: ; 82E935C
|
||||
__extendsfdf2: @ 82E935C
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x18
|
||||
str r0, [sp, 0x14]
|
||||
@@ -4976,7 +4976,7 @@ __extendsfdf2: ; 82E935C
|
||||
thumb_func_end __extendsfdf2
|
||||
|
||||
thumb_func_start __lshrdi3
|
||||
__lshrdi3: ; 82E9388
|
||||
__lshrdi3: @ 82E9388
|
||||
push {r4-r6,lr}
|
||||
adds r6, r1, 0
|
||||
adds r5, r0, 0
|
||||
@@ -5008,7 +5008,7 @@ _082E93B8:
|
||||
thumb_func_end __lshrdi3
|
||||
|
||||
thumb_func_start __negdi2
|
||||
__negdi2: ; 82E93BC
|
||||
__negdi2: @ 82E93BC
|
||||
push {r4,lr}
|
||||
negs r2, r0
|
||||
adds r3, r2, 0
|
||||
@@ -5024,8 +5024,8 @@ _082E93CA:
|
||||
thumb_func_end __negdi2
|
||||
|
||||
thumb_func_start memcpy
|
||||
; void *memcpy(void *dest, void *src, int size)
|
||||
memcpy: ; 82E93D4
|
||||
@ void *memcpy(void *dest, void *src, int size)
|
||||
memcpy: @ 82E93D4
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
adds r4, r5, 0
|
||||
@@ -5082,8 +5082,8 @@ _082E942E:
|
||||
thumb_func_end memcpy
|
||||
|
||||
thumb_func_start memset
|
||||
; void *memset(void *dest, char c, int size)
|
||||
memset: ; 82E9434
|
||||
@ void *memset(void *dest, char c, int size)
|
||||
memset: @ 82E9434
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
adds r4, r1, 0
|
||||
@@ -5133,8 +5133,8 @@ _082E947A:
|
||||
thumb_func_end memset
|
||||
|
||||
thumb_func_start strcmp
|
||||
; int strcmp(char *s1, char *s2)
|
||||
strcmp: ; 82E9488
|
||||
@ int strcmp(char *s1, char *s2)
|
||||
strcmp: @ 82E9488
|
||||
push {r4,r5,lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r1, 0
|
||||
@@ -5188,7 +5188,7 @@ _082E94E0:
|
||||
thumb_func_end strcmp
|
||||
|
||||
thumb_func_start strcat
|
||||
strcat: ; 82E94E4
|
||||
strcat: @ 82E94E4
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
adds r3, r6, 0
|
||||
|
||||
+68
-68
@@ -1,12 +1,12 @@
|
||||
; This library can be used to download and execute a multi-boot image from
|
||||
; a GameCube using the JOY Bus protocol over the link cable.
|
||||
@ This library can be used to download and execute a multi-boot image from
|
||||
@ a GameCube using the JOY Bus protocol over the link cable.
|
||||
|
||||
.set GCMB_STRUCT_BASE_DEST_PTR, 0x20
|
||||
.set GCMB_STRUCT_CUR_DEST_PTR, 0x24
|
||||
.set GCMB_STRUCT_SERIAL_INTR_HANDLER, 0x28
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Hash
|
||||
GameCubeMultiBoot_Hash: ; 82DED70
|
||||
GameCubeMultiBoot_Hash: @ 82DED70
|
||||
push {r4,lr}
|
||||
ldr r4, pool_HashVal
|
||||
eors r3, r1
|
||||
@@ -26,8 +26,8 @@ $skipEor:
|
||||
thumb_func_end GameCubeMultiBoot_Hash
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Main
|
||||
; void GameCubeMultiBoot_Main(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_Main: ; 82DED84
|
||||
@ void GameCubeMultiBoot_Main(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_Main: @ 82DED84
|
||||
ldr r1, [r0, GCMB_STRUCT_SERIAL_INTR_HANDLER]
|
||||
cmp r1, 0
|
||||
beq _082DEDAA
|
||||
@@ -166,13 +166,13 @@ _082DEE76:
|
||||
|
||||
pool_HashVal: .4byte 0xa1c1
|
||||
|
||||
pool_Kawa: .ascii "Kawa" ; name of BIOS developer
|
||||
pool_Kawa: .ascii "Kawa" @ name of BIOS developer
|
||||
|
||||
pool_NintendoLogo: .4byte RomHeaderNintendoLogo
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_ExecuteProgram
|
||||
; void GameCubeMultiBoot_ExecuteProgram(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_ExecuteProgram: ; 82DEE84
|
||||
@ void GameCubeMultiBoot_ExecuteProgram(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_ExecuteProgram: @ 82DEE84
|
||||
ldrb r1, [r0, 0x2]
|
||||
cmp r1, 0x2
|
||||
bne $unableToExecute
|
||||
@@ -187,20 +187,20 @@ $unableToExecute:
|
||||
thumb_func_end GameCubeMultiBoot_ExecuteProgram
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Init
|
||||
; void GameCubeMultiBoot_Init(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_Init: ; 82DEE98
|
||||
@ void GameCubeMultiBoot_Init(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_Init: @ 82DEE98
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
; Save IME register.
|
||||
@ Save IME register.
|
||||
ldrh r2, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
; Disable interrupts.
|
||||
@ Disable interrupts.
|
||||
movs r1, 0
|
||||
strh r1, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
; Set the handler to the "Stop" routine.
|
||||
; Unless the first command that is received is a device reset command, the
|
||||
; "Stop" routine will be executed and no further commands will be processed.
|
||||
@ Set the handler to the "Stop" routine.
|
||||
@ Unless the first command that is received is a device reset command, the
|
||||
@ "Stop" routine will be executed and no further commands will be processed.
|
||||
adr r3, GcMbIntrHandler_Stop
|
||||
str r3, [r0, GCMB_STRUCT_SERIAL_INTR_HANDLER]
|
||||
|
||||
@@ -212,7 +212,7 @@ GameCubeMultiBoot_Init: ; 82DEE98
|
||||
adds r3, r0, 0
|
||||
adds r3, GCMB_STRUCT_BASE_DEST_PTR
|
||||
|
||||
; clear all but the last 3 fields of the struct
|
||||
@ clear all but the last 3 fields of the struct
|
||||
$clearStructLoop:
|
||||
stm r0!, {r1}
|
||||
cmp r0, r3
|
||||
@@ -226,43 +226,43 @@ $clearStructLoop:
|
||||
|
||||
ldr r3, pool_SerialRegs
|
||||
|
||||
; Turn off JOY Bus mode.
|
||||
@ Turn off JOY Bus mode.
|
||||
lsls r0, r3, 10
|
||||
strh r0, [r3, OFFSET_REG_RCNT - 0x120]
|
||||
|
||||
; Turn on JOY Bus mode.
|
||||
@ Turn on JOY Bus mode.
|
||||
movs r0, 0xC0
|
||||
lsls r0, 8
|
||||
strh r0, [r3, OFFSET_REG_RCNT - 0x120]
|
||||
|
||||
; Init JOY Bus registers.
|
||||
@ Init JOY Bus registers.
|
||||
movs r0, 0x47
|
||||
strh r0, [r3, OFFSET_REG_JOYCNT - 0x120]
|
||||
strh r1, [r3, OFFSET_REG_JOYSTAT - 0x120]
|
||||
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
; Acknowledge serial interrupt.
|
||||
@ Acknowledge serial interrupt.
|
||||
movs r0, INTR_FLAG_SERIAL
|
||||
strh r0, [r3, OFFSET_REG_IF - 0x200]
|
||||
|
||||
; Enable serial interrupt.
|
||||
@ Enable serial interrupt.
|
||||
ldrh r1, [r3, OFFSET_REG_IE - 0x200]
|
||||
orrs r1, r0
|
||||
strh r1, [r3, OFFSET_REG_IE - 0x200]
|
||||
|
||||
; Restore IME register.
|
||||
@ Restore IME register.
|
||||
strh r2, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
bx lr
|
||||
thumb_func_end GameCubeMultiBoot_Init
|
||||
|
||||
non_word_aligned_thumb_func_start GameCubeMultiBoot_HandleSerialInterrupt
|
||||
; void GameCubeMultiBoot_HandleSerialInterrupt(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_HandleSerialInterrupt: ; 82DEEE2
|
||||
@ void GameCubeMultiBoot_HandleSerialInterrupt(struct GameCubeMultiBoot *mb);
|
||||
GameCubeMultiBoot_HandleSerialInterrupt: @ 82DEEE2
|
||||
ldr r3, pool_SerialRegs
|
||||
|
||||
; Acknowledge reset/receive/send flags.
|
||||
@ Acknowledge reset/receive/send flags.
|
||||
ldrh r1, [r3, OFFSET_REG_JOYCNT - 0x120]
|
||||
strh r1, [r3, OFFSET_REG_JOYCNT - 0x120]
|
||||
|
||||
@@ -273,16 +273,16 @@ GameCubeMultiBoot_HandleSerialInterrupt: ; 82DEEE2
|
||||
cmp r2, 0
|
||||
beq GameCubeMultiBoot_HandleSerialInterruptDone
|
||||
|
||||
lsrs r1, 1 ; was a device reset command received?
|
||||
bcs GameCubeMultiBoot_BeginHandshake ; branch if so
|
||||
lsrs r1, 1 @ was a device reset command received?
|
||||
bcs GameCubeMultiBoot_BeginHandshake @ branch if so
|
||||
|
||||
mov pc, r2
|
||||
|
||||
.align 2, 0
|
||||
|
||||
; Zero the status and the interrupt handler pointer.
|
||||
; Commands from the GameCube will not be processed after this is executed
|
||||
; unless GameCubeMultiBoot_Init() is called again.
|
||||
@ Zero the status and the interrupt handler pointer.
|
||||
@ Commands from the GameCube will not be processed after this is executed
|
||||
@ unless GameCubeMultiBoot_Init() is called again.
|
||||
GcMbIntrHandler_Stop:
|
||||
movs r2, 0
|
||||
strh r2, [r3, OFFSET_REG_JOYSTAT - 0x120]
|
||||
@@ -317,27 +317,27 @@ GameCubeMultiBoot_BeginHandshake:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckGameCodeSent: ; 82DEF24
|
||||
GcMbIntrHandler_CheckGameCodeSent: @ 82DEF24
|
||||
lsls r1, 31
|
||||
bcc GcMbIntrHandler_Stop ; stop if send failed
|
||||
bmi GameCubeMultiBoot_CheckHandshakeResponse ; branch if receive is complete
|
||||
bcc GcMbIntrHandler_Stop @ stop if send failed
|
||||
bmi GameCubeMultiBoot_CheckHandshakeResponse @ branch if receive is complete
|
||||
|
||||
; If the response hasn't been fully received yet,
|
||||
; check again upon the next interrupt.
|
||||
@ If the response hasn't been fully received yet,
|
||||
@ check again upon the next interrupt.
|
||||
adr r2, GcMbIntrHandler_CheckHandshakeResponse
|
||||
b GameCubeMultiBoot_SetInterruptHandler
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckHandshakeResponse: ; 82DEF30
|
||||
lsrs r1, 1 ; is receive complete?
|
||||
bcc GcMbIntrHandler_Stop ; stop if not
|
||||
GcMbIntrHandler_CheckHandshakeResponse: @ 82DEF30
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ stop if not
|
||||
|
||||
GameCubeMultiBoot_CheckHandshakeResponse:
|
||||
ldr r1, [r3, OFFSET_REG_JOY_RECV - 0x120]
|
||||
ldr r2, pool_RubyUSAGameCode
|
||||
cmp r1, r2
|
||||
bne GcMbIntrHandler_Stop ; stop if the GameCube didn't reply with the same game code
|
||||
bne GcMbIntrHandler_Stop @ stop if the GameCube didn't reply with the same game code
|
||||
ldrb r1, [r0, 0x3]
|
||||
strb r1, [r0, 0xB]
|
||||
adr r2, GcMbIntrHandler_82DEF44
|
||||
@@ -345,9 +345,9 @@ GameCubeMultiBoot_CheckHandshakeResponse:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEF44: ; 82DEF44
|
||||
lsrs r1, 1 ; is receive complete?
|
||||
bcc GcMbIntrHandler_Stop ; branch if not
|
||||
GcMbIntrHandler_82DEF44: @ 82DEF44
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
ldr r1, [r3, OFFSET_REG_JOY_RECV - 0x120]
|
||||
lsrs r2, r1, 24
|
||||
cmp r2, 0xDD
|
||||
@@ -383,18 +383,18 @@ _082DEF72:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEF84: ; 82DEF84
|
||||
GcMbIntrHandler_82DEF84: @ 82DEF84
|
||||
lsls r1, 31
|
||||
bcc GcMbIntrHandler_Stop ; stop if send failed
|
||||
bmi _082DEF94 ; branch if receive is complete
|
||||
bcc GcMbIntrHandler_Stop @ stop if send failed
|
||||
bmi _082DEF94 @ branch if receive is complete
|
||||
adr r2, GcMbIntrHandler_82DEF90
|
||||
b GameCubeMultiBoot_SetInterruptHandler
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEF90: ; 82DEF90
|
||||
lsrs r1, 1 ; is receive complete?
|
||||
bcc GcMbIntrHandler_Stop ; branch if not
|
||||
GcMbIntrHandler_82DEF90: @ 82DEF90
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
_082DEF94:
|
||||
ldr r1, [r3, OFFSET_REG_JOY_RECV - 0x120]
|
||||
ldr r2, _082DF034
|
||||
@@ -415,9 +415,9 @@ _082DEFA6:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEFB4: ; 82DEFB4
|
||||
lsrs r1, 1 ; is receive complete?
|
||||
bcc GcMbIntrHandler_Stop ; branch if not
|
||||
GcMbIntrHandler_82DEFB4: @ 82DEFB4
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
ldr r2, [r0, GCMB_STRUCT_CUR_DEST_PTR]
|
||||
movs r1, 0x4
|
||||
ands r1, r2
|
||||
@@ -456,18 +456,18 @@ _082DEFE2:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEFF0: ; 82DEFF0
|
||||
GcMbIntrHandler_82DEFF0: @ 82DEFF0
|
||||
lsls r1, 31
|
||||
bcc _082DEFE2 ; branch if send failed
|
||||
bmi _082DF000 ; branch if receive is complete
|
||||
bcc _082DEFE2 @ branch if send failed
|
||||
bmi _082DF000 @ branch if receive is complete
|
||||
adr r2, GcMbIntrHandler_82DEFFC
|
||||
b GameCubeMultiBoot_SetInterruptHandler
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DEFFC: ; 82DEFFC
|
||||
lsrs r1, 1 ; is receive complete?
|
||||
bcc _082DEFE2 ; branch if not
|
||||
GcMbIntrHandler_82DEFFC: @ 82DEFFC
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc _082DEFE2 @ branch if not
|
||||
|
||||
_082DF000:
|
||||
ldr r1, [r3, OFFSET_REG_JOY_RECV - 0x120]
|
||||
@@ -480,45 +480,45 @@ _082DF000:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_82DF010: ; 82DF010
|
||||
GcMbIntrHandler_82DF010: @ 82DF010
|
||||
b GcMbIntrHandler_Stop
|
||||
|
||||
thumb_func_end GameCubeMultiBoot_HandleSerialInterrupt
|
||||
|
||||
non_word_aligned_thumb_func_start GameCubeMultiBoot_Quit
|
||||
; void GameCubeMultiBoot_Quit();
|
||||
GameCubeMultiBoot_Quit: ; 82DF012
|
||||
@ void GameCubeMultiBoot_Quit();
|
||||
GameCubeMultiBoot_Quit: @ 82DF012
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
; Save IME register.
|
||||
@ Save IME register.
|
||||
ldrh r2, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
; Disable interrupts.
|
||||
@ Disable interrupts.
|
||||
movs r1, 0
|
||||
strh r1, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
ldr r3, pool_SerialRegs
|
||||
|
||||
; Acknowledge all JOYCNT flags.
|
||||
@ Acknowledge all JOYCNT flags.
|
||||
movs r0, 0x7
|
||||
strh r0, [r3, OFFSET_REG_JOYCNT - 0x120]
|
||||
|
||||
; Turn off JOY Bus mode.
|
||||
@ Turn off JOY Bus mode.
|
||||
lsls r0, r3, 10
|
||||
strh r0, [r3, OFFSET_REG_RCNT - 0x120] ; store 0x8000
|
||||
strh r0, [r3, OFFSET_REG_RCNT - 0x120] @ store 0x8000
|
||||
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
; Acknowledge serial interrupt.
|
||||
@ Acknowledge serial interrupt.
|
||||
movs r0, INTR_FLAG_SERIAL
|
||||
strh r0, [r3, OFFSET_REG_IF - 0x200]
|
||||
|
||||
; Disable serial interrupt.
|
||||
@ Disable serial interrupt.
|
||||
ldrh r1, [r3, OFFSET_REG_IE - 0x200]
|
||||
bics r1, r0
|
||||
strh r1, [r3, OFFSET_REG_IE - 0x200]
|
||||
|
||||
; Restore IME register.
|
||||
@ Restore IME register.
|
||||
strh r2, [r3, OFFSET_REG_IME - 0x200]
|
||||
|
||||
bx lr
|
||||
|
||||
+113
-113
@@ -1,5 +1,5 @@
|
||||
thumb_func_start umul3232H32
|
||||
umul3232H32: ; 82DF04C
|
||||
umul3232H32: @ 82DF04C
|
||||
adr r2, _082DF050
|
||||
bx r2
|
||||
.arm
|
||||
@@ -10,7 +10,7 @@ _082DF050:
|
||||
thumb_func_end umul3232H32
|
||||
|
||||
thumb_func_start SoundMain
|
||||
SoundMain: ; 82DF05C
|
||||
SoundMain: @ 82DF05C
|
||||
ldr r0, _082DF0C8
|
||||
ldr r0, [r0]
|
||||
ldr r2, _082DF0CC
|
||||
@@ -77,7 +77,7 @@ _082DF0DC: .4byte 0x00000630
|
||||
thumb_func_end SoundMain
|
||||
|
||||
thumb_func_start SoundMainRAM
|
||||
SoundMainRAM: ; 82DF0E0
|
||||
SoundMainRAM: @ 82DF0E0
|
||||
ldrb r3, [r0, 0x5]
|
||||
cmp r3, 0
|
||||
beq _082DF140
|
||||
@@ -455,7 +455,7 @@ _082DF498: .4byte 0x68736d53
|
||||
thumb_func_end SoundMainRAM
|
||||
|
||||
arm_func_start sub_82DF49C
|
||||
sub_82DF49C: ; 82DF49C
|
||||
sub_82DF49C: @ 82DF49C
|
||||
ldr r6, [r4, 0x24]
|
||||
ldrb r0, [r4]
|
||||
tst r0, 0x20
|
||||
@@ -655,7 +655,7 @@ _082DF72C:
|
||||
arm_func_end sub_82DF49C
|
||||
|
||||
arm_func_start sub_82DF758
|
||||
sub_82DF758: ; 82DF758
|
||||
sub_82DF758: @ 82DF758
|
||||
stmdb sp!, {r0,r2,r5-r7,lr}
|
||||
mov r0, r3, lsr 6
|
||||
ldr r1, [r4, 0x3C]
|
||||
@@ -698,7 +698,7 @@ _082DF7E0: .4byte gUnknown_08675A70
|
||||
arm_func_end sub_82DF758
|
||||
|
||||
thumb_func_start SoundMainBTM
|
||||
SoundMainBTM: ; 82DF7E4
|
||||
SoundMainBTM: @ 82DF7E4
|
||||
mov r12, r4
|
||||
movs r1, 0
|
||||
movs r2, 0
|
||||
@@ -713,7 +713,7 @@ SoundMainBTM: ; 82DF7E4
|
||||
thumb_func_end SoundMainBTM
|
||||
|
||||
thumb_func_start ClearChain
|
||||
ClearChain: ; 82DF7FC
|
||||
ClearChain: @ 82DF7FC
|
||||
ldr r3, [r0, 0x2C]
|
||||
cmp r3, 0
|
||||
beq _082DF81A
|
||||
@@ -737,7 +737,7 @@ _082DF81A:
|
||||
thumb_func_end ClearChain
|
||||
|
||||
thumb_func_start ply_fine
|
||||
ply_fine: ; 82DF81C
|
||||
ply_fine: @ 82DF81C
|
||||
push {r4,r5,lr}
|
||||
adds r5, r1, 0
|
||||
ldr r4, [r5, 0x20]
|
||||
@@ -766,7 +766,7 @@ _082DF840:
|
||||
thumb_func_end ply_fine
|
||||
|
||||
thumb_func_start MPlyJmpTblCopy
|
||||
MPlyJmpTblCopy: ; 82DF84C
|
||||
MPlyJmpTblCopy: @ 82DF84C
|
||||
mov r12, lr
|
||||
movs r1, 0x24
|
||||
ldr r2, _082DF87C
|
||||
@@ -781,12 +781,12 @@ _082DF852:
|
||||
thumb_func_end MPlyJmpTblCopy
|
||||
|
||||
thumb_func_start ldrb_r3_r2
|
||||
ldrb_r3_r2: ; 82DF864
|
||||
ldrb_r3_r2: @ 82DF864
|
||||
ldrb r3, [r2]
|
||||
thumb_func_end ldrb_r3_r2
|
||||
|
||||
non_word_aligned_thumb_func_start chk_adr_r2
|
||||
chk_adr_r2: ; 82DF866
|
||||
chk_adr_r2: @ 82DF866
|
||||
push {r0}
|
||||
lsrs r0, r2, 25
|
||||
bne _082DF878
|
||||
@@ -805,7 +805,7 @@ _082DF87C: .4byte gUnknown_086759E0
|
||||
thumb_func_end chk_adr_r2
|
||||
|
||||
thumb_func_start ld_r3_tp_adr_i
|
||||
ld_r3_tp_adr_i: ; 82DF880
|
||||
ld_r3_tp_adr_i: @ 82DF880
|
||||
ldr r2, [r1, 0x40]
|
||||
_082DF882:
|
||||
adds r3, r2, 0x1
|
||||
@@ -815,7 +815,7 @@ _082DF882:
|
||||
thumb_func_end ld_r3_tp_adr_i
|
||||
|
||||
thumb_func_start ply_goto
|
||||
ply_goto: ; 82DF88C
|
||||
ply_goto: @ 82DF88C
|
||||
push {lr}
|
||||
_082DF88E:
|
||||
ldr r2, [r1, 0x40]
|
||||
@@ -835,7 +835,7 @@ _082DF88E:
|
||||
thumb_func_end ply_goto
|
||||
|
||||
thumb_func_start ply_patt
|
||||
ply_patt: ; 82DF8AC
|
||||
ply_patt: @ 82DF8AC
|
||||
ldrb r2, [r1, 0x2]
|
||||
cmp r2, 0x3
|
||||
bcs _082DF8C4
|
||||
@@ -853,7 +853,7 @@ _082DF8C4:
|
||||
thumb_func_end ply_patt
|
||||
|
||||
thumb_func_start play_pend
|
||||
play_pend: ; 82DF8C8
|
||||
play_pend: @ 82DF8C8
|
||||
ldrb r2, [r1, 0x2]
|
||||
cmp r2, 0
|
||||
beq _082DF8DA
|
||||
@@ -868,7 +868,7 @@ _082DF8DA:
|
||||
thumb_func_end play_pend
|
||||
|
||||
thumb_func_start ply_rept
|
||||
ply_rept: ; 82DF8DC
|
||||
ply_rept: @ 82DF8DC
|
||||
push {lr}
|
||||
ldr r2, [r1, 0x40]
|
||||
ldrb r3, [r2]
|
||||
@@ -896,7 +896,7 @@ _082DF8FE:
|
||||
thumb_func_end ply_rept
|
||||
|
||||
thumb_func_start ply_prio
|
||||
ply_prio: ; 82DF90C
|
||||
ply_prio: @ 82DF90C
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
strb r3, [r1, 0x1D]
|
||||
@@ -904,7 +904,7 @@ ply_prio: ; 82DF90C
|
||||
thumb_func_end ply_prio
|
||||
|
||||
thumb_func_start ply_tempo
|
||||
ply_tempo: ; 82DF918
|
||||
ply_tempo: @ 82DF918
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
lsls r3, 1
|
||||
@@ -917,7 +917,7 @@ ply_tempo: ; 82DF918
|
||||
thumb_func_end ply_tempo
|
||||
|
||||
thumb_func_start ply_keysh
|
||||
ply_keysh: ; 82DF92C
|
||||
ply_keysh: @ 82DF92C
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
strb r3, [r1, 0xA]
|
||||
@@ -929,7 +929,7 @@ ply_keysh: ; 82DF92C
|
||||
thumb_func_end ply_keysh
|
||||
|
||||
thumb_func_start ply_voice
|
||||
ply_voice: ; 82DF940
|
||||
ply_voice: @ 82DF940
|
||||
mov r12, lr
|
||||
ldr r2, [r1, 0x40]
|
||||
ldrb r3, [r2]
|
||||
@@ -953,7 +953,7 @@ ply_voice: ; 82DF940
|
||||
thumb_func_end ply_voice
|
||||
|
||||
thumb_func_start ply_vol
|
||||
ply_vol: ; 82DF970
|
||||
ply_vol: @ 82DF970
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
strb r3, [r1, 0x12]
|
||||
@@ -965,7 +965,7 @@ ply_vol: ; 82DF970
|
||||
thumb_func_end ply_vol
|
||||
|
||||
thumb_func_start ply_pan
|
||||
ply_pan: ; 82DF984
|
||||
ply_pan: @ 82DF984
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
subs r3, 0x40
|
||||
@@ -978,7 +978,7 @@ ply_pan: ; 82DF984
|
||||
thumb_func_end ply_pan
|
||||
|
||||
thumb_func_start ply_bend
|
||||
ply_bend: ; 82DF998
|
||||
ply_bend: @ 82DF998
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
subs r3, 0x40
|
||||
@@ -991,7 +991,7 @@ ply_bend: ; 82DF998
|
||||
thumb_func_end ply_bend
|
||||
|
||||
thumb_func_start ply_bendr
|
||||
ply_bendr: ; 82DF9AC
|
||||
ply_bendr: @ 82DF9AC
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
strb r3, [r1, 0xF]
|
||||
@@ -1003,7 +1003,7 @@ ply_bendr: ; 82DF9AC
|
||||
thumb_func_end ply_bendr
|
||||
|
||||
thumb_func_start ply_lfodl
|
||||
ply_lfodl: ; 82DF9C0
|
||||
ply_lfodl: @ 82DF9C0
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
strb r3, [r1, 0x1B]
|
||||
@@ -1011,7 +1011,7 @@ ply_lfodl: ; 82DF9C0
|
||||
thumb_func_end ply_lfodl
|
||||
|
||||
thumb_func_start ply_modt
|
||||
ply_modt: ; 82DF9CC
|
||||
ply_modt: @ 82DF9CC
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
ldrb r0, [r1, 0x18]
|
||||
@@ -1027,7 +1027,7 @@ _082DF9E2:
|
||||
thumb_func_end ply_modt
|
||||
|
||||
thumb_func_start ply_tune
|
||||
ply_tune: ; 82DF9E4
|
||||
ply_tune: @ 82DF9E4
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i
|
||||
subs r3, 0x40
|
||||
@@ -1040,7 +1040,7 @@ ply_tune: ; 82DF9E4
|
||||
thumb_func_end ply_tune
|
||||
|
||||
thumb_func_start ply_port
|
||||
ply_port: ; 82DF9F8
|
||||
ply_port: @ 82DF9F8
|
||||
mov r12, lr
|
||||
ldr r2, [r1, 0x40]
|
||||
ldrb r3, [r2]
|
||||
@@ -1055,7 +1055,7 @@ _082DFA0C: .4byte 0x04000060
|
||||
thumb_func_end ply_port
|
||||
|
||||
thumb_func_start SoundVSync_rev01
|
||||
SoundVSync_rev01: ; 82DFA10
|
||||
SoundVSync_rev01: @ 82DFA10
|
||||
ldr r0, _082DFCBC
|
||||
ldr r0, [r0]
|
||||
ldr r2, _082DFCC0
|
||||
@@ -1098,7 +1098,7 @@ _082DFA58: .4byte 0x84400004
|
||||
thumb_func_end SoundVSync_rev01
|
||||
|
||||
thumb_func_start MPlayMain_rev01
|
||||
MPlayMain_rev01: ; 82DFA5C
|
||||
MPlayMain_rev01: @ 82DFA5C
|
||||
ldr r2, _082DFCC0
|
||||
ldr r3, [r0, 0x34]
|
||||
cmp r2, r3
|
||||
@@ -1435,7 +1435,7 @@ _082DFCC0: .4byte 0x68736d53
|
||||
thumb_func_end MPlayMain_rev01
|
||||
|
||||
thumb_func_start TrackStop_rev01
|
||||
TrackStop_rev01: ; 82DFCC4
|
||||
TrackStop_rev01: @ 82DFCC4
|
||||
push {r4-r6,lr}
|
||||
adds r5, r1, 0
|
||||
ldrb r1, [r5]
|
||||
@@ -1476,7 +1476,7 @@ _082DFD04: .4byte 0x03007ff0
|
||||
thumb_func_end TrackStop_rev01
|
||||
|
||||
thumb_func_start ChnVolSetAsm
|
||||
ChnVolSetAsm: ; 82DFD08
|
||||
ChnVolSetAsm: @ 82DFD08
|
||||
ldrb r1, [r4, 0x12]
|
||||
movs r0, 0x14
|
||||
ldrsb r2, [r4, r0]
|
||||
@@ -1506,7 +1506,7 @@ _082DFD34:
|
||||
thumb_func_end ChnVolSetAsm
|
||||
|
||||
thumb_func_start ply_note_rev01
|
||||
ply_note_rev01: ; 82DFD38
|
||||
ply_note_rev01: @ 82DFD38
|
||||
push {r4-r7,lr}
|
||||
mov r4, r8
|
||||
mov r5, r9
|
||||
@@ -1788,7 +1788,7 @@ _082DFF38: .4byte gUnknown_08675C64
|
||||
thumb_func_end ply_note_rev01
|
||||
|
||||
thumb_func_start ply_endtie_rev01
|
||||
ply_endtie_rev01: ; 82DFF3C
|
||||
ply_endtie_rev01: @ 82DFF3C
|
||||
push {r4,r5}
|
||||
ldr r2, [r1, 0x40]
|
||||
ldrb r3, [r2]
|
||||
@@ -1829,7 +1829,7 @@ _082DFF78:
|
||||
thumb_func_end ply_endtie_rev01
|
||||
|
||||
thumb_func_start clear_modM
|
||||
clear_modM: ; 82DFF7C
|
||||
clear_modM: @ 82DFF7C
|
||||
movs r2, 0
|
||||
strb r2, [r1, 0x16]
|
||||
strb r2, [r1, 0x1A]
|
||||
@@ -1848,7 +1848,7 @@ _082DFF8E:
|
||||
thumb_func_end clear_modM
|
||||
|
||||
thumb_func_start ld_r3_tp_adr_i_rev
|
||||
ld_r3_tp_adr_i_rev: ; 82DFF98
|
||||
ld_r3_tp_adr_i_rev: @ 82DFF98
|
||||
ldr r2, [r1, 0x40]
|
||||
adds r3, r2, 0x1
|
||||
str r3, [r1, 0x40]
|
||||
@@ -1857,7 +1857,7 @@ ld_r3_tp_adr_i_rev: ; 82DFF98
|
||||
thumb_func_end ld_r3_tp_adr_i_rev
|
||||
|
||||
thumb_func_start ply_lfos_rev01
|
||||
ply_lfos_rev01: ; 82DFFA4
|
||||
ply_lfos_rev01: @ 82DFFA4
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i_rev
|
||||
strb r3, [r1, 0x19]
|
||||
@@ -1869,7 +1869,7 @@ _082DFFB4:
|
||||
thumb_func_end ply_lfos_rev01
|
||||
|
||||
thumb_func_start ply_mod_rev01
|
||||
ply_mod_rev01: ; 82DFFB8
|
||||
ply_mod_rev01: @ 82DFFB8
|
||||
mov r12, lr
|
||||
bl ld_r3_tp_adr_i_rev
|
||||
strb r3, [r1, 0x17]
|
||||
@@ -1881,7 +1881,7 @@ _082DFFC8:
|
||||
thumb_func_end ply_mod_rev01
|
||||
|
||||
thumb_func_start MidiKey2fr
|
||||
MidiKey2fr: ; 82DFFCC
|
||||
MidiKey2fr: @ 82DFFCC
|
||||
push {r4-r7,lr}
|
||||
mov r12, r0
|
||||
lsls r1, 24
|
||||
@@ -1933,12 +1933,12 @@ _082E002C: .4byte gUnknown_08675B34
|
||||
thumb_func_end MidiKey2fr
|
||||
|
||||
thumb_func_start DummyFunc
|
||||
DummyFunc: ; 82E0030
|
||||
DummyFunc: @ 82E0030
|
||||
bx lr
|
||||
thumb_func_end DummyFunc
|
||||
|
||||
thumb_func_start MPlayContinue
|
||||
MPlayContinue: ; 82E0034
|
||||
MPlayContinue: @ 82E0034
|
||||
adds r2, r0, 0
|
||||
ldr r3, [r2, 0x34]
|
||||
ldr r0, _082E0048
|
||||
@@ -1956,8 +1956,8 @@ _082E004C: .4byte 0x7fffffff
|
||||
thumb_func_end MPlayContinue
|
||||
|
||||
thumb_func_start MPlayFadeOut
|
||||
; void MPlayFadeOut(mplay_table_entry *a1, s16 a2)
|
||||
MPlayFadeOut: ; 82E0050
|
||||
@ void MPlayFadeOut(mplay_table_entry *a1, s16 a2)
|
||||
MPlayFadeOut: @ 82E0050
|
||||
adds r2, r0, 0
|
||||
lsls r1, 16
|
||||
lsrs r1, 16
|
||||
@@ -1977,7 +1977,7 @@ _082E006C: .4byte 0x68736d53
|
||||
thumb_func_end MPlayFadeOut
|
||||
|
||||
thumb_func_start m4aSoundInit
|
||||
m4aSoundInit: ; 82E0070
|
||||
m4aSoundInit: @ 82E0070
|
||||
push {r4-r6,lr}
|
||||
ldr r0, _082E00F0
|
||||
movs r1, 0x2
|
||||
@@ -2055,7 +2055,7 @@ _082E0120: .4byte 0x03007670
|
||||
thumb_func_end m4aSoundInit
|
||||
|
||||
thumb_func_start m4aSoundMain
|
||||
m4aSoundMain: ; 82E0124
|
||||
m4aSoundMain: @ 82E0124
|
||||
push {lr}
|
||||
bl SoundMain
|
||||
pop {r0}
|
||||
@@ -2063,7 +2063,7 @@ m4aSoundMain: ; 82E0124
|
||||
thumb_func_end m4aSoundMain
|
||||
|
||||
thumb_func_start m4aSongNumStart
|
||||
m4aSongNumStart: ; 82E0130
|
||||
m4aSongNumStart: @ 82E0130
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, _082E0154
|
||||
@@ -2087,7 +2087,7 @@ _082E0158: .4byte gUnknown_086B49F0
|
||||
thumb_func_end m4aSongNumStart
|
||||
|
||||
thumb_func_start m4aSongNumStartOrChange
|
||||
m4aSongNumStartOrChange: ; 82E015C
|
||||
m4aSongNumStartOrChange: @ 82E015C
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, _082E0188
|
||||
@@ -2128,7 +2128,7 @@ _082E01A4:
|
||||
thumb_func_end m4aSongNumStartOrChange
|
||||
|
||||
thumb_func_start m4aSongNumStartOrContinue
|
||||
m4aSongNumStartOrContinue: ; 82E01A8
|
||||
m4aSongNumStartOrContinue: @ 82E01A8
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, _082E01D4
|
||||
@@ -2172,7 +2172,7 @@ _082E01F8:
|
||||
thumb_func_end m4aSongNumStartOrContinue
|
||||
|
||||
thumb_func_start m4aSongNumStop
|
||||
m4aSongNumStop: ; 82E01FC
|
||||
m4aSongNumStop: @ 82E01FC
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, _082E0228
|
||||
@@ -2200,7 +2200,7 @@ _082E022C: .4byte gUnknown_086B49F0
|
||||
thumb_func_end m4aSongNumStop
|
||||
|
||||
thumb_func_start m4aSongNumContinue
|
||||
m4aSongNumContinue: ; 82E0230
|
||||
m4aSongNumContinue: @ 82E0230
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, _082E025C
|
||||
@@ -2228,7 +2228,7 @@ _082E0260: .4byte gUnknown_086B49F0
|
||||
thumb_func_end m4aSongNumContinue
|
||||
|
||||
thumb_func_start m4aMPlayAllStop
|
||||
m4aMPlayAllStop: ; 82E0264
|
||||
m4aMPlayAllStop: @ 82E0264
|
||||
push {r4,r5,lr}
|
||||
ldr r0, _082E029C
|
||||
lsls r0, 16
|
||||
@@ -2264,7 +2264,7 @@ _082E02A4: .4byte 0x030073a0
|
||||
thumb_func_end m4aMPlayAllStop
|
||||
|
||||
thumb_func_start m4aMPlayContinue
|
||||
m4aMPlayContinue: ; 82E02A8
|
||||
m4aMPlayContinue: @ 82E02A8
|
||||
push {lr}
|
||||
bl MPlayContinue
|
||||
pop {r0}
|
||||
@@ -2272,7 +2272,7 @@ m4aMPlayContinue: ; 82E02A8
|
||||
thumb_func_end m4aMPlayContinue
|
||||
|
||||
thumb_func_start m4aMPlayAllContinue
|
||||
m4aMPlayAllContinue: ; 82E02B2
|
||||
m4aMPlayAllContinue: @ 82E02B2
|
||||
push {r4,r5,lr}
|
||||
ldr r0, _082E02EC
|
||||
lsls r0, 16
|
||||
@@ -2308,8 +2308,8 @@ _082E02F4: .4byte 0x030073a0
|
||||
thumb_func_end m4aMPlayAllContinue
|
||||
|
||||
thumb_func_start m4aMPlayFadeOut
|
||||
; void m4aMPlayFadeOut(mplay_table_entry *a1, u16 a2)
|
||||
m4aMPlayFadeOut: ; 82E02F8
|
||||
@ void m4aMPlayFadeOut(mplay_table_entry *a1, u16 a2)
|
||||
m4aMPlayFadeOut: @ 82E02F8
|
||||
push {lr}
|
||||
lsls r1, 16
|
||||
lsrs r1, 16
|
||||
@@ -2319,7 +2319,7 @@ m4aMPlayFadeOut: ; 82E02F8
|
||||
thumb_func_end m4aMPlayFadeOut
|
||||
|
||||
thumb_func_start sub_82E0308
|
||||
sub_82E0308: ; 82E0308
|
||||
sub_82E0308: @ 82E0308
|
||||
adds r2, r0, 0
|
||||
lsls r1, 16
|
||||
lsrs r1, 16
|
||||
@@ -2339,7 +2339,7 @@ _082E0324: .4byte 0x00000101
|
||||
thumb_func_end sub_82E0308
|
||||
|
||||
thumb_func_start sub_82E0328
|
||||
sub_82E0328: ; 82E0328
|
||||
sub_82E0328: @ 82E0328
|
||||
adds r2, r0, 0
|
||||
lsls r1, 16
|
||||
lsrs r1, 16
|
||||
@@ -2363,7 +2363,7 @@ _082E034C: .4byte 0x7fffffff
|
||||
thumb_func_end sub_82E0328
|
||||
|
||||
thumb_func_start m4aMPlayImmInit
|
||||
m4aMPlayImmInit: ; 82E0350
|
||||
m4aMPlayImmInit: @ 82E0350
|
||||
push {r4-r7,lr}
|
||||
ldrb r5, [r0, 0x8]
|
||||
ldr r4, [r0, 0x2C]
|
||||
@@ -2405,8 +2405,8 @@ _082E0392:
|
||||
thumb_func_end m4aMPlayImmInit
|
||||
|
||||
thumb_func_start MPlayExtender
|
||||
; int MPlayExtender(void *dest)
|
||||
MPlayExtender: ; 82E0398
|
||||
@ int MPlayExtender(void *dest)
|
||||
MPlayExtender: @ 82E0398
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x4
|
||||
adds r5, r0, 0
|
||||
@@ -2531,13 +2531,13 @@ _082E04AC: .4byte 0x05000040
|
||||
thumb_func_end MPlayExtender
|
||||
|
||||
thumb_func_start MusicPlayerJumpTableCopy
|
||||
MusicPlayerJumpTableCopy: ; 82E04B0
|
||||
MusicPlayerJumpTableCopy: @ 82E04B0
|
||||
swi 0x2A
|
||||
bx lr
|
||||
thumb_func_end MusicPlayerJumpTableCopy
|
||||
|
||||
thumb_func_start ClearChain_rev
|
||||
ClearChain_rev: ; 82E04B4
|
||||
ClearChain_rev: @ 82E04B4
|
||||
push {lr}
|
||||
ldr r1, _082E04C4
|
||||
ldr r1, [r1]
|
||||
@@ -2549,7 +2549,7 @@ _082E04C4: .4byte 0x030074e8
|
||||
thumb_func_end ClearChain_rev
|
||||
|
||||
thumb_func_start Clear64byte_rev
|
||||
Clear64byte_rev: ; 82E04C8
|
||||
Clear64byte_rev: @ 82E04C8
|
||||
push {lr}
|
||||
ldr r1, _082E04D8
|
||||
ldr r1, [r1]
|
||||
@@ -2561,8 +2561,8 @@ _082E04D8: .4byte 0x030074ec
|
||||
thumb_func_end Clear64byte_rev
|
||||
|
||||
thumb_func_start SoundInit_rev01
|
||||
; int SoundInit_rev01(void *dest)
|
||||
SoundInit_rev01: ; 82E04DC
|
||||
@ int SoundInit_rev01(void *dest)
|
||||
SoundInit_rev01: @ 82E04DC
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x4
|
||||
adds r5, r0, 0
|
||||
@@ -2674,7 +2674,7 @@ _082E05D0: .4byte 0x68736d53
|
||||
thumb_func_end SoundInit_rev01
|
||||
|
||||
thumb_func_start SampFreqSet_rev01
|
||||
SampFreqSet_rev01: ; 82E05D4
|
||||
SampFreqSet_rev01: @ 82E05D4
|
||||
push {r4-r6,lr}
|
||||
adds r2, r0, 0
|
||||
ldr r0, _082E0654
|
||||
@@ -2748,7 +2748,7 @@ _082E0674: .4byte 0x04000006
|
||||
thumb_func_end SampFreqSet_rev01
|
||||
|
||||
thumb_func_start SoundMode_rev01
|
||||
SoundMode_rev01: ; 82E0678
|
||||
SoundMode_rev01: @ 82E0678
|
||||
push {r4,r5,lr}
|
||||
adds r3, r0, 0
|
||||
ldr r0, _082E0704
|
||||
@@ -2831,7 +2831,7 @@ _082E070C: .4byte 0x04000089
|
||||
thumb_func_end SoundMode_rev01
|
||||
|
||||
thumb_func_start SoundClear_rev01
|
||||
SoundClear_rev01: ; 82E0710
|
||||
SoundClear_rev01: @ 82E0710
|
||||
push {r4-r7,lr}
|
||||
ldr r0, _082E075C
|
||||
ldr r6, [r0]
|
||||
@@ -2879,7 +2879,7 @@ _082E0760: .4byte 0x68736d53
|
||||
thumb_func_end SoundClear_rev01
|
||||
|
||||
thumb_func_start SoundVSyncOff_rev01
|
||||
SoundVSyncOff_rev01: ; 82E0764
|
||||
SoundVSyncOff_rev01: @ 82E0764
|
||||
push {lr}
|
||||
sub sp, 0x4
|
||||
ldr r0, _082E07C4
|
||||
@@ -2940,7 +2940,7 @@ _082E07DC: .4byte 0x05000318
|
||||
thumb_func_end SoundVSyncOff_rev01
|
||||
|
||||
thumb_func_start SoundVSyncOn_rev01
|
||||
SoundVSyncOn_rev01: ; 82E07E0
|
||||
SoundVSyncOn_rev01: @ 82E07E0
|
||||
push {r4,lr}
|
||||
ldr r0, _082E0810
|
||||
ldr r2, [r0]
|
||||
@@ -2972,7 +2972,7 @@ _082E0818: .4byte 0x040000c6
|
||||
thumb_func_end SoundVSyncOn_rev01
|
||||
|
||||
thumb_func_start MPlayOpen_rev01
|
||||
MPlayOpen_rev01: ; 82E081C
|
||||
MPlayOpen_rev01: @ 82E081C
|
||||
push {r4-r7,lr}
|
||||
adds r7, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -3037,7 +3037,7 @@ _082E0890: .4byte MPlayMain_rev01
|
||||
thumb_func_end MPlayOpen_rev01
|
||||
|
||||
thumb_func_start MPlayStart_rev01
|
||||
MPlayStart_rev01: ; 82E0894
|
||||
MPlayStart_rev01: @ 82E0894
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -3161,7 +3161,7 @@ _082E0974: .4byte 0x68736d53
|
||||
thumb_func_end MPlayStart_rev01
|
||||
|
||||
thumb_func_start MPlayStop_rev01
|
||||
MPlayStop_rev01: ; 82E0978
|
||||
MPlayStop_rev01: @ 82E0978
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
ldr r1, [r6, 0x34]
|
||||
@@ -3199,7 +3199,7 @@ _082E09B4: .4byte 0x68736d53
|
||||
thumb_func_end MPlayStop_rev01
|
||||
|
||||
thumb_func_start FadeOutBody_rev01
|
||||
FadeOutBody_rev01: ; 82E09B8
|
||||
FadeOutBody_rev01: @ 82E09B8
|
||||
push {r4-r7,lr}
|
||||
adds r6, r0, 0
|
||||
ldrh r1, [r6, 0x24]
|
||||
@@ -3311,7 +3311,7 @@ _082E0A7A:
|
||||
thumb_func_end FadeOutBody_rev01
|
||||
|
||||
thumb_func_start TrkVolPitSet_rev01
|
||||
TrkVolPitSet_rev01: ; 82E0A80
|
||||
TrkVolPitSet_rev01: @ 82E0A80
|
||||
push {r4,lr}
|
||||
adds r2, r1, 0
|
||||
movs r0, 0x1
|
||||
@@ -3412,7 +3412,7 @@ _082E0B28:
|
||||
thumb_func_end TrkVolPitSet_rev01
|
||||
|
||||
thumb_func_start MidiKey2CgbFr
|
||||
MidiKey2CgbFr: ; 82E0B34
|
||||
MidiKey2CgbFr: @ 82E0B34
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3504,7 +3504,7 @@ _082E0BD8: .4byte gUnknown_08675C00
|
||||
thumb_func_end MidiKey2CgbFr
|
||||
|
||||
thumb_func_start CgbOscOff
|
||||
CgbOscOff: ; 82E0BDC
|
||||
CgbOscOff: @ 82E0BDC
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
adds r1, r0, 0
|
||||
@@ -3554,7 +3554,7 @@ _082E0C28: .4byte 0x04000079
|
||||
thumb_func_end CgbOscOff
|
||||
|
||||
thumb_func_start CgbModVol
|
||||
CgbModVol: ; 82E0C2C
|
||||
CgbModVol: @ 82E0C2C
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
ldr r0, _082E0C5C
|
||||
@@ -3624,7 +3624,7 @@ _082E0C8C:
|
||||
thumb_func_end CgbModVol
|
||||
|
||||
thumb_func_start CgbSound
|
||||
CgbSound: ; 82E0CA8
|
||||
CgbSound: @ 82E0CA8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4208,7 +4208,7 @@ _082E10E2:
|
||||
thumb_func_end CgbSound
|
||||
|
||||
thumb_func_start MPlayTempoControl
|
||||
MPlayTempoControl: ; 82E10F4
|
||||
MPlayTempoControl: @ 82E10F4
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
lsls r1, 16
|
||||
@@ -4232,7 +4232,7 @@ _082E1118: .4byte 0x68736d53
|
||||
thumb_func_end MPlayTempoControl
|
||||
|
||||
thumb_func_start MPlayVolumeControl
|
||||
MPlayVolumeControl: ; 82E111C
|
||||
MPlayVolumeControl: @ 82E111C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -4292,7 +4292,7 @@ _082E1180: .4byte 0x68736d53
|
||||
thumb_func_end MPlayVolumeControl
|
||||
|
||||
thumb_func_start MPlayPitchControl
|
||||
MPlayPitchControl: ; 82E1184
|
||||
MPlayPitchControl: @ 82E1184
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4358,7 +4358,7 @@ _082E11F4: .4byte 0x68736d53
|
||||
thumb_func_end MPlayPitchControl
|
||||
|
||||
thumb_func_start MPlayPanpotControl
|
||||
MPlayPanpotControl: ; 82E11F8
|
||||
MPlayPanpotControl: @ 82E11F8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -4418,7 +4418,7 @@ _082E125C: .4byte 0x68736d53
|
||||
thumb_func_end MPlayPanpotControl
|
||||
|
||||
thumb_func_start MP_clear_modM
|
||||
MP_clear_modM: ; 82E1260
|
||||
MP_clear_modM: @ 82E1260
|
||||
adds r1, r0, 0
|
||||
movs r2, 0
|
||||
movs r0, 0
|
||||
@@ -4439,7 +4439,7 @@ _082E1276:
|
||||
thumb_func_end MP_clear_modM
|
||||
|
||||
thumb_func_start MPlayModDepthSet
|
||||
MPlayModDepthSet: ; 82E1280
|
||||
MPlayModDepthSet: @ 82E1280
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4503,7 +4503,7 @@ _082E12F0: .4byte 0x68736d53
|
||||
thumb_func_end MPlayModDepthSet
|
||||
|
||||
thumb_func_start MPlayLFOSpeedSet
|
||||
MPlayLFOSpeedSet: ; 82E12F4
|
||||
MPlayLFOSpeedSet: @ 82E12F4
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4567,7 +4567,7 @@ _082E1364: .4byte 0x68736d53
|
||||
thumb_func_end MPlayLFOSpeedSet
|
||||
|
||||
thumb_func_start ply_memacc
|
||||
ply_memacc: ; 82E1368
|
||||
ply_memacc: @ 82E1368
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -4746,7 +4746,7 @@ _082E14BA:
|
||||
thumb_func_end ply_memacc
|
||||
|
||||
thumb_func_start ply_xcmd
|
||||
ply_xcmd: ; 82E14C0
|
||||
ply_xcmd: @ 82E14C0
|
||||
push {lr}
|
||||
ldr r2, [r1, 0x40]
|
||||
ldrb r3, [r2]
|
||||
@@ -4764,7 +4764,7 @@ _082E14DC: .4byte gUnknown_08675CCC
|
||||
thumb_func_end ply_xcmd
|
||||
|
||||
thumb_func_start ply_xxx
|
||||
ply_xxx: ; 82E14E0
|
||||
ply_xxx: @ 82E14E0
|
||||
push {lr}
|
||||
ldr r2, _082E14F0
|
||||
ldr r2, [r2]
|
||||
@@ -4776,7 +4776,7 @@ _082E14F0: .4byte 0x03007460
|
||||
thumb_func_end ply_xxx
|
||||
|
||||
thumb_func_start ply_xwave
|
||||
ply_xwave: ; 82E14F4
|
||||
ply_xwave: @ 82E14F4
|
||||
push {r4,lr}
|
||||
ldr r2, [r1, 0x40]
|
||||
ldr r0, _082E152C
|
||||
@@ -4812,7 +4812,7 @@ _082E1538: .4byte 0x00ffffff
|
||||
thumb_func_end ply_xwave
|
||||
|
||||
thumb_func_start ply_xtype
|
||||
ply_xtype: ; 82E153C
|
||||
ply_xtype: @ 82E153C
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r2, [r0]
|
||||
adds r0, r1, 0
|
||||
@@ -4825,7 +4825,7 @@ ply_xtype: ; 82E153C
|
||||
thumb_func_end ply_xtype
|
||||
|
||||
thumb_func_start ply_xatta
|
||||
ply_xatta: ; 82E1550
|
||||
ply_xatta: @ 82E1550
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r2, [r0]
|
||||
adds r0, r1, 0
|
||||
@@ -4838,7 +4838,7 @@ ply_xatta: ; 82E1550
|
||||
thumb_func_end ply_xatta
|
||||
|
||||
thumb_func_start ply_xdeca
|
||||
ply_xdeca: ; 82E1564
|
||||
ply_xdeca: @ 82E1564
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r0, [r0]
|
||||
adds r2, r1, 0
|
||||
@@ -4851,7 +4851,7 @@ ply_xdeca: ; 82E1564
|
||||
thumb_func_end ply_xdeca
|
||||
|
||||
thumb_func_start ply_xsust
|
||||
ply_xsust: ; 82E1578
|
||||
ply_xsust: @ 82E1578
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r0, [r0]
|
||||
adds r2, r1, 0
|
||||
@@ -4864,7 +4864,7 @@ ply_xsust: ; 82E1578
|
||||
thumb_func_end ply_xsust
|
||||
|
||||
thumb_func_start ply_xrele
|
||||
ply_xrele: ; 82E158C
|
||||
ply_xrele: @ 82E158C
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r0, [r0]
|
||||
adds r2, r1, 0
|
||||
@@ -4877,7 +4877,7 @@ ply_xrele: ; 82E158C
|
||||
thumb_func_end ply_xrele
|
||||
|
||||
thumb_func_start ply_xiecv
|
||||
ply_xiecv: ; 82E15A0
|
||||
ply_xiecv: @ 82E15A0
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r2, [r0]
|
||||
strb r2, [r1, 0x1E]
|
||||
@@ -4887,7 +4887,7 @@ ply_xiecv: ; 82E15A0
|
||||
thumb_func_end ply_xiecv
|
||||
|
||||
thumb_func_start ply_xiecl
|
||||
ply_xiecl: ; 82E15AC
|
||||
ply_xiecl: @ 82E15AC
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r2, [r0]
|
||||
strb r2, [r1, 0x1F]
|
||||
@@ -4897,7 +4897,7 @@ ply_xiecl: ; 82E15AC
|
||||
thumb_func_end ply_xiecl
|
||||
|
||||
thumb_func_start ply_xleng
|
||||
ply_xleng: ; 82E15B8
|
||||
ply_xleng: @ 82E15B8
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r0, [r0]
|
||||
adds r2, r1, 0
|
||||
@@ -4910,7 +4910,7 @@ ply_xleng: ; 82E15B8
|
||||
thumb_func_end ply_xleng
|
||||
|
||||
thumb_func_start ply_xswee
|
||||
ply_xswee: ; 82E15CC
|
||||
ply_xswee: @ 82E15CC
|
||||
ldr r0, [r1, 0x40]
|
||||
ldrb r0, [r0]
|
||||
adds r2, r1, 0
|
||||
@@ -4923,7 +4923,7 @@ ply_xswee: ; 82E15CC
|
||||
thumb_func_end ply_xswee
|
||||
|
||||
thumb_func_start ply_xcmd0C
|
||||
ply_xcmd0C: ; 82E15E0
|
||||
ply_xcmd0C: @ 82E15E0
|
||||
push {r4,lr}
|
||||
adds r3, r1, 0
|
||||
ldr r4, [r3, 0x40]
|
||||
@@ -4963,7 +4963,7 @@ _082E1620:
|
||||
thumb_func_end ply_xcmd0C
|
||||
|
||||
thumb_func_start ply_xcmd0D
|
||||
ply_xcmd0D: ; 82E1628
|
||||
ply_xcmd0D: @ 82E1628
|
||||
push {r4,lr}
|
||||
ldr r2, [r1, 0x40]
|
||||
ldr r0, _082E1660
|
||||
@@ -4999,12 +4999,12 @@ _082E166C: .4byte 0x00ffffff
|
||||
thumb_func_end ply_xcmd0D
|
||||
|
||||
thumb_func_start DummyFunc_rev
|
||||
DummyFunc_rev: ; 82E1670
|
||||
DummyFunc_rev: @ 82E1670
|
||||
bx lr
|
||||
thumb_func_end DummyFunc_rev
|
||||
|
||||
thumb_func_start sub_82E1674
|
||||
sub_82E1674: ; 82E1674
|
||||
sub_82E1674: @ 82E1674
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -5109,7 +5109,7 @@ _082E1740: .4byte 0x68736d53
|
||||
thumb_func_end sub_82E1674
|
||||
|
||||
thumb_func_start sub_82E1744
|
||||
sub_82E1744: ; 82E1744
|
||||
sub_82E1744: @ 82E1744
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r2, _082E1754
|
||||
@@ -5122,7 +5122,7 @@ _082E1754: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E1744
|
||||
|
||||
thumb_func_start sub_82E1758
|
||||
sub_82E1758: ; 82E1758
|
||||
sub_82E1758: @ 82E1758
|
||||
ldr r2, _082E176C
|
||||
lsls r0, 24
|
||||
asrs r0, 24
|
||||
@@ -5137,7 +5137,7 @@ _082E176C: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E1758
|
||||
|
||||
thumb_func_start sub_82E1770
|
||||
sub_82E1770: ; 82E1770
|
||||
sub_82E1770: @ 82E1770
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 16
|
||||
ldr r3, _082E17A4
|
||||
@@ -5169,7 +5169,7 @@ _082E17A4: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E1770
|
||||
|
||||
thumb_func_start sub_82E17A8
|
||||
sub_82E17A8: ; 82E17A8
|
||||
sub_82E17A8: @ 82E17A8
|
||||
ldr r1, _082E17B0
|
||||
strh r0, [r1, 0x2E]
|
||||
bx lr
|
||||
@@ -5178,7 +5178,7 @@ _082E17B0: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E17A8
|
||||
|
||||
thumb_func_start sub_82E17B4
|
||||
sub_82E17B4: ; 82E17B4
|
||||
sub_82E17B4: @ 82E17B4
|
||||
ldr r1, _082E17BC
|
||||
adds r1, 0x26
|
||||
strb r0, [r1]
|
||||
@@ -5188,7 +5188,7 @@ _082E17BC: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E17B4
|
||||
|
||||
thumb_func_start sub_82E17C0
|
||||
sub_82E17C0: ; 82E17C0
|
||||
sub_82E17C0: @ 82E17C0
|
||||
ldr r1, _082E17C8
|
||||
str r0, [r1, 0x20]
|
||||
bx lr
|
||||
@@ -5197,7 +5197,7 @@ _082E17C8: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E17C0
|
||||
|
||||
thumb_func_start sub_82E17CC
|
||||
sub_82E17CC: ; 82E17CC
|
||||
sub_82E17CC: @ 82E17CC
|
||||
ldr r1, [r0, 0x2C]
|
||||
ldr r0, [r1, 0x20]
|
||||
cmp r0, 0
|
||||
@@ -5214,7 +5214,7 @@ _082E17E0:
|
||||
thumb_func_end sub_82E17CC
|
||||
|
||||
thumb_func_start sub_82E17E4
|
||||
sub_82E17E4: ; 82E17E4
|
||||
sub_82E17E4: @ 82E17E4
|
||||
lsls r0, 24
|
||||
lsrs r1, r0, 24
|
||||
cmp r0, 0
|
||||
@@ -5241,7 +5241,7 @@ _082E180C: .4byte 0x030077b0
|
||||
thumb_func_end sub_82E17E4
|
||||
|
||||
thumb_func_start sub_82E1810
|
||||
sub_82E1810: ; 82E1810
|
||||
sub_82E1810: @ 82E1810
|
||||
ldr r1, _082E1828
|
||||
ldr r2, [r1]
|
||||
cmp r0, 0
|
||||
@@ -5275,7 +5275,7 @@ _082E184C: .4byte 0x00003302
|
||||
thumb_func_end sub_82E1810
|
||||
|
||||
thumb_func_start sub_82E1850
|
||||
sub_82E1850: ; 82E1850
|
||||
sub_82E1850: @ 82E1850
|
||||
ldr r1, _082E1858
|
||||
strb r0, [r1, 0x2]
|
||||
bx lr
|
||||
|
||||
+151
-151
File diff suppressed because it is too large
Load Diff
+32
-32
@@ -1,6 +1,6 @@
|
||||
thumb_func_start RTC_SetReadWrite
|
||||
; void RTC_SetReadWrite()
|
||||
RTC_SetReadWrite: ; 82E2150
|
||||
@ void RTC_SetReadWrite()
|
||||
RTC_SetReadWrite: @ 82E2150
|
||||
push {r7,lr}
|
||||
mov r7, sp
|
||||
bl RTC_SetReadWriteInternal
|
||||
@@ -14,8 +14,8 @@ RTC_SetReadWrite: ; 82E2150
|
||||
thumb_func_end RTC_SetReadWrite
|
||||
|
||||
thumb_func_start RTC_SetReadOnly
|
||||
; void RTC_SetReadOnly()
|
||||
RTC_SetReadOnly: ; 82E2168
|
||||
@ void RTC_SetReadOnly()
|
||||
RTC_SetReadOnly: @ 82E2168
|
||||
push {r7,lr}
|
||||
mov r7, sp
|
||||
bl RTC_SetReadOnlyInternal
|
||||
@@ -29,8 +29,8 @@ RTC_SetReadOnly: ; 82E2168
|
||||
thumb_func_end RTC_SetReadOnly
|
||||
|
||||
thumb_func_start RTC_Init
|
||||
; u8 RTC_Init()
|
||||
RTC_Init: ; 82E2180
|
||||
@ u8 RTC_Init()
|
||||
RTC_Init: @ 82E2180
|
||||
push {r7,lr}
|
||||
sub sp, 0x10
|
||||
mov r7, sp
|
||||
@@ -144,8 +144,8 @@ _082E224E:
|
||||
thumb_func_end RTC_Init
|
||||
|
||||
thumb_func_start RTC_Reset
|
||||
; u8 RTC_Reset()
|
||||
RTC_Reset: ; 82E2258
|
||||
@ u8 RTC_Reset()
|
||||
RTC_Reset: @ 82E2258
|
||||
push {r7,lr}
|
||||
sub sp, 0x10
|
||||
mov r7, sp
|
||||
@@ -208,8 +208,8 @@ _082E22D4:
|
||||
thumb_func_end RTC_Reset
|
||||
|
||||
thumb_func_start RTC_GetControlReg
|
||||
; u8 RTC_GetControlReg(struct RTCInfo *rtc)
|
||||
RTC_GetControlReg: ; 82E22DC
|
||||
@ u8 RTC_GetControlReg(struct RTCInfo *rtc)
|
||||
RTC_GetControlReg: @ 82E22DC
|
||||
push {r4,r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -309,8 +309,8 @@ _082E23A0:
|
||||
thumb_func_end RTC_GetControlReg
|
||||
|
||||
thumb_func_start RTC_SetControlReg
|
||||
; u8 RTC_SetControlReg(struct RTCInfo *rtc)
|
||||
RTC_SetControlReg: ; 82E23A8
|
||||
@ u8 RTC_SetControlReg(struct RTCInfo *rtc)
|
||||
RTC_SetControlReg: @ 82E23A8
|
||||
push {r4,r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -391,8 +391,8 @@ _082E2448:
|
||||
thumb_func_end RTC_SetControlReg
|
||||
|
||||
thumb_func_start RTC_GetDateTime
|
||||
; u8 RTC_GetDateTime(u8 *rtcDateTime)
|
||||
RTC_GetDateTime: ; 82E2450
|
||||
@ u8 RTC_GetDateTime(u8 *rtcDateTime)
|
||||
RTC_GetDateTime: @ 82E2450
|
||||
push {r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -478,8 +478,8 @@ _082E24F8:
|
||||
thumb_func_end RTC_GetDateTime
|
||||
|
||||
thumb_func_start RTC_SetDateTime
|
||||
; u8 RTC_SetDateTime(u8 *rtcDateTime)
|
||||
RTC_SetDateTime: ; 82E2500
|
||||
@ u8 RTC_SetDateTime(u8 *rtcDateTime)
|
||||
RTC_SetDateTime: @ 82E2500
|
||||
push {r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -553,8 +553,8 @@ _082E2594:
|
||||
thumb_func_end RTC_SetDateTime
|
||||
|
||||
thumb_func_start RTC_GetTime
|
||||
; u8 RTC_GetTime(u8 *rtcTime)
|
||||
RTC_GetTime: ; 82E259C
|
||||
@ u8 RTC_GetTime(u8 *rtcTime)
|
||||
RTC_GetTime: @ 82E259C
|
||||
push {r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -641,8 +641,8 @@ _082E2648:
|
||||
thumb_func_end RTC_GetTime
|
||||
|
||||
thumb_func_start RTC_SetTime
|
||||
; u8 RTC_SetTime(u8 *rtcTime)
|
||||
RTC_SetTime: ; 82E2650
|
||||
@ u8 RTC_SetTime(u8 *rtcTime)
|
||||
RTC_SetTime: @ 82E2650
|
||||
push {r7,lr}
|
||||
sub sp, 0x8
|
||||
mov r7, sp
|
||||
@@ -717,8 +717,8 @@ _082E26E4:
|
||||
thumb_func_end RTC_SetTime
|
||||
|
||||
thumb_func_start RTC_SetUnknownData
|
||||
; u8 RTC_SetUnknownData(struct RTCInfo *rtc)
|
||||
RTC_SetUnknownData: ; 82E26EC
|
||||
@ u8 RTC_SetUnknownData(struct RTCInfo *rtc)
|
||||
RTC_SetUnknownData: @ 82E26EC
|
||||
push {r4,r7,lr}
|
||||
sub sp, 0xC
|
||||
mov r7, sp
|
||||
@@ -871,8 +871,8 @@ _082E2818:
|
||||
thumb_func_end RTC_SetUnknownData
|
||||
|
||||
thumb_func_start RTC_WriteByte
|
||||
; u8 RTC_WriteByte(u8 value)
|
||||
RTC_WriteByte: ; 82E2820
|
||||
@ u8 RTC_WriteByte(u8 value)
|
||||
RTC_WriteByte: @ 82E2820
|
||||
push {r4,r5,r7,lr}
|
||||
sub sp, 0x4
|
||||
mov r7, sp
|
||||
@@ -960,8 +960,8 @@ _082E28BC:
|
||||
thumb_func_end RTC_WriteByte
|
||||
|
||||
thumb_func_start RTC_WriteByteReversed
|
||||
; u8 RTC_WriteByteReversed(u8 value)
|
||||
RTC_WriteByteReversed: ; 82E28C4
|
||||
@ u8 RTC_WriteByteReversed(u8 value)
|
||||
RTC_WriteByteReversed: @ 82E28C4
|
||||
push {r4,r7,lr}
|
||||
sub sp, 0x4
|
||||
mov r7, sp
|
||||
@@ -1047,8 +1047,8 @@ _082E295C:
|
||||
thumb_func_end RTC_WriteByteReversed
|
||||
|
||||
thumb_func_start RTC_ReadByte
|
||||
; u8 RTC_ReadByte()
|
||||
RTC_ReadByte: ; 82E2964
|
||||
@ u8 RTC_ReadByte()
|
||||
RTC_ReadByte: @ 82E2964
|
||||
push {r7,lr}
|
||||
sub sp, 0x4
|
||||
mov r7, sp
|
||||
@@ -1124,8 +1124,8 @@ _082E29E8:
|
||||
thumb_func_end RTC_ReadByte
|
||||
|
||||
thumb_func_start RTC_SetReadWriteInternal
|
||||
; void RTC_SetReadWriteInternal()
|
||||
RTC_SetReadWriteInternal: ; 82E29F0
|
||||
@ void RTC_SetReadWriteInternal()
|
||||
RTC_SetReadWriteInternal: @ 82E29F0
|
||||
push {r7,lr}
|
||||
mov r7, sp
|
||||
ldr r0, =GPIOPortReadWrite
|
||||
@@ -1138,8 +1138,8 @@ RTC_SetReadWriteInternal: ; 82E29F0
|
||||
thumb_func_end RTC_SetReadWriteInternal
|
||||
|
||||
thumb_func_start RTC_SetReadOnlyInternal
|
||||
; void RTC_SetReadOnlyInternal()
|
||||
RTC_SetReadOnlyInternal: ; 82E2A04
|
||||
@ void RTC_SetReadOnlyInternal()
|
||||
RTC_SetReadOnlyInternal: @ 82E2A04
|
||||
push {r7,lr}
|
||||
mov r7, sp
|
||||
ldr r0, =GPIOPortReadWrite
|
||||
|
||||
+12
-12
@@ -23,16 +23,16 @@
|
||||
.macro obj_pal address, tag
|
||||
.4byte \address
|
||||
.2byte \tag
|
||||
.2byte 0; padding
|
||||
.2byte 0@ padding
|
||||
.endm
|
||||
|
||||
.macro zero_fill count
|
||||
.fill \count
|
||||
.endm
|
||||
|
||||
; Berry trees have a table defining the palette slot used for each of their 5
|
||||
; stages. However, the first 2 stages always use the same slots regardless of
|
||||
; the type of tree and the slots of the last 3 stages always equal each other.
|
||||
@ Berry trees have a table defining the palette slot used for each of their 5
|
||||
@ stages. However, the first 2 stages always use the same slots regardless of
|
||||
@ the type of tree and the slots of the last 3 stages always equal each other.
|
||||
.macro berry_tree_palette_slot_table slot
|
||||
.byte 3, 4, \slot, \slot, \slot
|
||||
.endm
|
||||
@@ -46,24 +46,24 @@
|
||||
.macro obj_image_anim_frame pic_id, duration, flags = 0
|
||||
.2byte \pic_id
|
||||
.byte (\flags) | (\duration)
|
||||
.byte 0 ; padding
|
||||
.byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_image_anim_loop count
|
||||
.2byte 0xfffd
|
||||
.byte \count
|
||||
.byte 0 ; padding
|
||||
.byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_image_anim_jump target_index
|
||||
.2byte 0xfffe
|
||||
.byte \target_index
|
||||
.byte 0 ; padding
|
||||
.byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_image_anim_end
|
||||
.2byte 0xffff
|
||||
.2byte 0 ; padding
|
||||
.2byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_rot_scal_anim_frame delta_x_scale, delta_y_scale, delta_angle, duration
|
||||
@@ -71,22 +71,22 @@
|
||||
.2byte \delta_y_scale
|
||||
.byte \delta_angle
|
||||
.byte \duration
|
||||
.2byte 0 ; padding
|
||||
.2byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_rot_scal_anim_loop count
|
||||
.2byte 0x7ffd
|
||||
.2byte \count
|
||||
.4byte 0 ; padding
|
||||
.4byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_rot_scal_anim_jump target_index
|
||||
.2byte 0x7ffe
|
||||
.2byte \target_index
|
||||
.4byte 0 ; padding
|
||||
.4byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro obj_rot_scal_anim_end
|
||||
.2byte 0x7fff
|
||||
.fill 6 ; padding
|
||||
.fill 6 @ padding
|
||||
.endm
|
||||
|
||||
+178
-178
File diff suppressed because it is too large
Load Diff
@@ -1,14 +1,14 @@
|
||||
.macro pokedex_entry category_name, height, width, text_pointer, pokemon_scale, pokemon_offset, trainer_scale, trainer_offset
|
||||
.charmapstr "\category_name", 12
|
||||
.2byte \height ; in decimeters
|
||||
.2byte \width ; in hectograms
|
||||
.2byte \height @ in decimeters
|
||||
.2byte \width @ in hectograms
|
||||
.4byte \text_pointer
|
||||
.2byte 0 ; unused
|
||||
.2byte 0 @ unused
|
||||
.2byte \pokemon_scale
|
||||
.2byte \pokemon_offset
|
||||
.2byte \trainer_scale
|
||||
.2byte \trainer_offset
|
||||
.2byte 0 ; padding
|
||||
.2byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro base_stats hp, attack, defense, speed, sp_attack, sp_defense
|
||||
@@ -32,7 +32,7 @@
|
||||
.2byte \method
|
||||
.2byte \parameter
|
||||
.2byte \target_species
|
||||
.2byte 0 ; padding
|
||||
.2byte 0 @ padding
|
||||
.endm
|
||||
|
||||
.macro empty_evo_entries count
|
||||
@@ -43,7 +43,7 @@
|
||||
.2byte 20000 + \species
|
||||
.endm
|
||||
|
||||
; If the min level equals the max level, only one level argument is needed.
|
||||
@ If the min level equals the max level, only one level argument is needed.
|
||||
.macro wild_mon species, min_level, max_level
|
||||
.byte \min_level
|
||||
|
||||
|
||||
+2
-2
@@ -25,7 +25,7 @@
|
||||
.byte \glyph_height
|
||||
.byte \glyph_spacing
|
||||
.byte \line_spacing
|
||||
.byte \text_color << 4 ; low nybble seems unused
|
||||
.byte \text_color << 4 @ low nybble seems unused
|
||||
.byte (\shadow_color << 4) | \bg_color
|
||||
.2byte 0 ; padding
|
||||
.2byte 0 @ padding
|
||||
.endm
|
||||
|
||||
+51
-51
@@ -105,8 +105,8 @@ _080004B2:
|
||||
thumb_func_end Main
|
||||
|
||||
thumb_func_start HandleLinkConnectionAndCallMainCallbacks
|
||||
; void HandleLinkConnectionAndCallMainCallbacks()
|
||||
HandleLinkConnectionAndCallMainCallbacks: ; 80004C4
|
||||
@ void HandleLinkConnectionAndCallMainCallbacks()
|
||||
HandleLinkConnectionAndCallMainCallbacks: @ 80004C4
|
||||
push {lr}
|
||||
bl HandleLinkConnection
|
||||
lsls r0, 24
|
||||
@@ -119,8 +119,8 @@ _080004D4:
|
||||
thumb_func_end HandleLinkConnectionAndCallMainCallbacks
|
||||
|
||||
thumb_func_start InitVariablesAndSetCopyrightScreenCallback
|
||||
; void InitVariablesAndSetCopyrightScreenCallback()
|
||||
InitVariablesAndSetCopyrightScreenCallback: ; 80004D8
|
||||
@ void InitVariablesAndSetCopyrightScreenCallback()
|
||||
InitVariablesAndSetCopyrightScreenCallback: @ 80004D8
|
||||
push {lr}
|
||||
ldr r2, =0x030022c0
|
||||
movs r0, 0
|
||||
@@ -143,8 +143,8 @@ InitVariablesAndSetCopyrightScreenCallback: ; 80004D8
|
||||
thumb_func_end InitVariablesAndSetCopyrightScreenCallback
|
||||
|
||||
thumb_func_start CallMainCallbacks
|
||||
; void CallMainCallbacks()
|
||||
CallMainCallbacks: ; 800051C
|
||||
@ void CallMainCallbacks()
|
||||
CallMainCallbacks: @ 800051C
|
||||
push {r4,lr}
|
||||
ldr r4, =0x030022c0
|
||||
ldr r0, [r4]
|
||||
@@ -164,8 +164,8 @@ _08000534:
|
||||
thumb_func_end CallMainCallbacks
|
||||
|
||||
thumb_func_start SetMainCallback2
|
||||
; void SetMainCallback2(void ( *func)())
|
||||
SetMainCallback2: ; 8000540
|
||||
@ void SetMainCallback2(void ( *func)())
|
||||
SetMainCallback2: @ 8000540
|
||||
ldr r1, =0x030022c0
|
||||
str r0, [r1, 0x4]
|
||||
movs r0, 0x87
|
||||
@@ -178,8 +178,8 @@ SetMainCallback2: ; 8000540
|
||||
thumb_func_end SetMainCallback2
|
||||
|
||||
thumb_func_start StartTimer1
|
||||
; void StartTimer1()
|
||||
StartTimer1: ; 8000554
|
||||
@ void StartTimer1()
|
||||
StartTimer1: @ 8000554
|
||||
ldr r1, =0x04000106
|
||||
movs r0, 0x80
|
||||
strh r0, [r1]
|
||||
@@ -188,8 +188,8 @@ StartTimer1: ; 8000554
|
||||
thumb_func_end StartTimer1
|
||||
|
||||
thumb_func_start SeedRngAndSetTrainerId
|
||||
; void SeedRngAndSetTrainerId()
|
||||
SeedRngAndSetTrainerId: ; 8000560
|
||||
@ void SeedRngAndSetTrainerId()
|
||||
SeedRngAndSetTrainerId: @ 8000560
|
||||
push {r4,lr}
|
||||
ldr r0, =0x04000104
|
||||
ldrh r4, [r0]
|
||||
@@ -207,8 +207,8 @@ SeedRngAndSetTrainerId: ; 8000560
|
||||
thumb_func_end SeedRngAndSetTrainerId
|
||||
|
||||
thumb_func_start GetTrainerId
|
||||
; u16 GetTrainerId()
|
||||
GetTrainerId: ; 8000588
|
||||
@ u16 GetTrainerId()
|
||||
GetTrainerId: @ 8000588
|
||||
ldr r0, =0x02020000
|
||||
ldrh r0, [r0]
|
||||
bx lr
|
||||
@@ -216,8 +216,8 @@ GetTrainerId: ; 8000588
|
||||
thumb_func_end GetTrainerId
|
||||
|
||||
thumb_func_start EnableVCountIntrAtLine150
|
||||
; void EnableVCountIntrAtLine150()
|
||||
EnableVCountIntrAtLine150: ; 8000594
|
||||
@ void EnableVCountIntrAtLine150()
|
||||
EnableVCountIntrAtLine150: @ 8000594
|
||||
push {lr}
|
||||
movs r0, 0x4
|
||||
bl GetGpuReg
|
||||
@@ -238,8 +238,8 @@ EnableVCountIntrAtLine150: ; 8000594
|
||||
thumb_func_end EnableVCountIntrAtLine150
|
||||
|
||||
thumb_func_start InitKeypadData
|
||||
; void InitKeypadData()
|
||||
InitKeypadData: ; 80005BC
|
||||
@ void InitKeypadData()
|
||||
InitKeypadData: @ 80005BC
|
||||
ldr r1, =0x030026fc
|
||||
movs r0, 0x5
|
||||
strh r0, [r1]
|
||||
@@ -258,8 +258,8 @@ InitKeypadData: ; 80005BC
|
||||
thumb_func_end InitKeypadData
|
||||
|
||||
thumb_func_start ReadKeypad
|
||||
; void ReadKeypad()
|
||||
ReadKeypad: ; 80005E4
|
||||
@ void ReadKeypad()
|
||||
ReadKeypad: @ 80005E4
|
||||
push {lr}
|
||||
ldr r0, =0x04000130
|
||||
ldrh r1, [r0]
|
||||
@@ -337,8 +337,8 @@ _08000676:
|
||||
thumb_func_end ReadKeypad
|
||||
|
||||
thumb_func_start InitIntrHandlers
|
||||
; void InitIntrHandlers()
|
||||
InitIntrHandlers: ; 8000684
|
||||
@ void InitIntrHandlers()
|
||||
InitIntrHandlers: @ 8000684
|
||||
push {r4,r5,lr}
|
||||
ldr r5, =InterruptMain
|
||||
ldr r4, =0x03002750
|
||||
@@ -377,8 +377,8 @@ _08000690:
|
||||
thumb_func_end InitIntrHandlers
|
||||
|
||||
thumb_func_start SetVBlankCallback
|
||||
; void SetVBlankCallback(void ( *func)())
|
||||
SetVBlankCallback: ; 80006F0
|
||||
@ void SetVBlankCallback(void ( *func)())
|
||||
SetVBlankCallback: @ 80006F0
|
||||
ldr r1, =0x030022c0
|
||||
str r0, [r1, 0xC]
|
||||
bx lr
|
||||
@@ -386,8 +386,8 @@ SetVBlankCallback: ; 80006F0
|
||||
thumb_func_end SetVBlankCallback
|
||||
|
||||
thumb_func_start SetHBlankCallback
|
||||
; void SetHBlankCallback(void ( *func)())
|
||||
SetHBlankCallback: ; 80006FC
|
||||
@ void SetHBlankCallback(void ( *func)())
|
||||
SetHBlankCallback: @ 80006FC
|
||||
ldr r1, =0x030022c0
|
||||
str r0, [r1, 0x10]
|
||||
bx lr
|
||||
@@ -395,8 +395,8 @@ SetHBlankCallback: ; 80006FC
|
||||
thumb_func_end SetHBlankCallback
|
||||
|
||||
thumb_func_start SetVCountCallback
|
||||
; void SetVCountCallback(void ( *func)())
|
||||
SetVCountCallback: ; 8000708
|
||||
@ void SetVCountCallback(void ( *func)())
|
||||
SetVCountCallback: @ 8000708
|
||||
ldr r1, =0x030022c0
|
||||
str r0, [r1, 0x14]
|
||||
bx lr
|
||||
@@ -404,8 +404,8 @@ SetVCountCallback: ; 8000708
|
||||
thumb_func_end SetVCountCallback
|
||||
|
||||
thumb_func_start RestoreSerialTimer3IntrHandlers
|
||||
; void RestoreSerialTimer3IntrHandlers()
|
||||
RestoreSerialTimer3IntrHandlers: ; 8000714
|
||||
@ void RestoreSerialTimer3IntrHandlers()
|
||||
RestoreSerialTimer3IntrHandlers: @ 8000714
|
||||
ldr r0, =0x03002710
|
||||
ldr r1, =SerialIntr
|
||||
str r1, [r0, 0x4]
|
||||
@@ -416,8 +416,8 @@ RestoreSerialTimer3IntrHandlers: ; 8000714
|
||||
thumb_func_end RestoreSerialTimer3IntrHandlers
|
||||
|
||||
thumb_func_start SetSerialCallback
|
||||
; void SetSerialCallback(void ( *func)())
|
||||
SetSerialCallback: ; 800072C
|
||||
@ void SetSerialCallback(void ( *func)())
|
||||
SetSerialCallback: @ 800072C
|
||||
ldr r1, =0x030022c0
|
||||
str r0, [r1, 0x18]
|
||||
bx lr
|
||||
@@ -425,8 +425,8 @@ SetSerialCallback: ; 800072C
|
||||
thumb_func_end SetSerialCallback
|
||||
|
||||
thumb_func_start VBlankIntr
|
||||
; void VBlankIntr()
|
||||
VBlankIntr: ; 8000738
|
||||
@ void VBlankIntr()
|
||||
VBlankIntr: @ 8000738
|
||||
push {r4,lr}
|
||||
ldr r0, =0x030030fc
|
||||
ldrb r0, [r0]
|
||||
@@ -509,8 +509,8 @@ _080007BE:
|
||||
thumb_func_end VBlankIntr
|
||||
|
||||
thumb_func_start StartFlashMemoryTimer
|
||||
; void StartFlashMemoryTimer()
|
||||
StartFlashMemoryTimer: ; 8000800
|
||||
@ void StartFlashMemoryTimer()
|
||||
StartFlashMemoryTimer: @ 8000800
|
||||
push {lr}
|
||||
ldr r1, =0x0300272c
|
||||
movs r0, 0x2
|
||||
@@ -521,8 +521,8 @@ StartFlashMemoryTimer: ; 8000800
|
||||
thumb_func_end StartFlashMemoryTimer
|
||||
|
||||
thumb_func_start HBlankIntr
|
||||
; void HBlankIntr()
|
||||
HBlankIntr: ; 8000814
|
||||
@ void HBlankIntr()
|
||||
HBlankIntr: @ 8000814
|
||||
push {r4,lr}
|
||||
ldr r4, =0x030022c0
|
||||
ldr r0, [r4, 0x10]
|
||||
@@ -546,8 +546,8 @@ _08000822:
|
||||
thumb_func_end HBlankIntr
|
||||
|
||||
thumb_func_start VCountIntr
|
||||
; void VCountIntr()
|
||||
VCountIntr: ; 8000844
|
||||
@ void VCountIntr()
|
||||
VCountIntr: @ 8000844
|
||||
push {r4,lr}
|
||||
ldr r4, =0x030022c0
|
||||
ldr r0, [r4, 0x14]
|
||||
@@ -572,8 +572,8 @@ _08000852:
|
||||
thumb_func_end VCountIntr
|
||||
|
||||
thumb_func_start SerialIntr
|
||||
; void SerialIntr()
|
||||
SerialIntr: ; 8000878
|
||||
@ void SerialIntr()
|
||||
SerialIntr: @ 8000878
|
||||
push {r4,lr}
|
||||
ldr r4, =0x030022c0
|
||||
ldr r0, [r4, 0x18]
|
||||
@@ -597,14 +597,14 @@ _08000886:
|
||||
thumb_func_end SerialIntr
|
||||
|
||||
thumb_func_start DummyIntrHandler
|
||||
; void DummyIntrHandler()
|
||||
DummyIntrHandler: ; 80008A8
|
||||
@ void DummyIntrHandler()
|
||||
DummyIntrHandler: @ 80008A8
|
||||
bx lr
|
||||
thumb_func_end DummyIntrHandler
|
||||
|
||||
thumb_func_start WaitForVBlankIntr
|
||||
; void WaitForVBlankIntr()
|
||||
WaitForVBlankIntr: ; 80008AC
|
||||
@ void WaitForVBlankIntr()
|
||||
WaitForVBlankIntr: @ 80008AC
|
||||
push {lr}
|
||||
ldr r2, =0x030022c0
|
||||
ldrh r1, [r2, 0x1C]
|
||||
@@ -631,7 +631,7 @@ _080008D0:
|
||||
thumb_func_end WaitForVBlankIntr
|
||||
|
||||
thumb_func_start sub_80008DC
|
||||
sub_80008DC: ; 80008DC
|
||||
sub_80008DC: @ 80008DC
|
||||
ldr r1, =0x0203cf5c
|
||||
str r0, [r1]
|
||||
bx lr
|
||||
@@ -639,7 +639,7 @@ sub_80008DC: ; 80008DC
|
||||
thumb_func_end sub_80008DC
|
||||
|
||||
thumb_func_start sub_80008E8
|
||||
sub_80008E8: ; 80008E8
|
||||
sub_80008E8: @ 80008E8
|
||||
ldr r1, =0x0203cf5c
|
||||
movs r0, 0
|
||||
str r0, [r1]
|
||||
@@ -648,8 +648,8 @@ sub_80008E8: ; 80008E8
|
||||
thumb_func_end sub_80008E8
|
||||
|
||||
thumb_func_start Reset
|
||||
; void Reset()
|
||||
Reset: ; 80008F4
|
||||
@ void Reset()
|
||||
Reset: @ 80008F4
|
||||
push {r4,lr}
|
||||
ldr r1, =0x04000208
|
||||
movs r0, 0
|
||||
@@ -696,7 +696,7 @@ Reset: ; 80008F4
|
||||
thumb_func_end Reset
|
||||
|
||||
thumb_func_start sub_8000964
|
||||
sub_8000964: ; 8000964
|
||||
sub_8000964: @ 8000964
|
||||
push {lr}
|
||||
sub sp, 0x4
|
||||
mov r1, sp
|
||||
|
||||
+106
-106
@@ -1,6 +1,6 @@
|
||||
thumb_func_start CB2_MainMenu
|
||||
; void CB2_MainMenu()
|
||||
CB2_MainMenu: ; 802F6B0
|
||||
@ void CB2_MainMenu()
|
||||
CB2_MainMenu: @ 802F6B0
|
||||
push {lr}
|
||||
bl RunActiveTasks
|
||||
bl CallObjectCallbacks
|
||||
@@ -11,8 +11,8 @@ CB2_MainMenu: ; 802F6B0
|
||||
thumb_func_end CB2_MainMenu
|
||||
|
||||
thumb_func_start VBlankCB_MainMenu
|
||||
; void VBlankCB_MainMenu()
|
||||
VBlankCB_MainMenu: ; 802F6C8
|
||||
@ void VBlankCB_MainMenu()
|
||||
VBlankCB_MainMenu: @ 802F6C8
|
||||
push {lr}
|
||||
bl LoadOamFromSprites
|
||||
bl ProcessObjectCopyRequests
|
||||
@@ -22,8 +22,8 @@ VBlankCB_MainMenu: ; 802F6C8
|
||||
thumb_func_end VBlankCB_MainMenu
|
||||
|
||||
thumb_func_start CB2_InitMainMenu
|
||||
; void CB2_InitMainMenu()
|
||||
CB2_InitMainMenu: ; 802F6DC
|
||||
@ void CB2_InitMainMenu()
|
||||
CB2_InitMainMenu: @ 802F6DC
|
||||
push {lr}
|
||||
movs r0, 0
|
||||
bl InitMainMenu
|
||||
@@ -32,8 +32,8 @@ CB2_InitMainMenu: ; 802F6DC
|
||||
thumb_func_end CB2_InitMainMenu
|
||||
|
||||
thumb_func_start CB2_ReinitMainMenu
|
||||
; void CB2_ReinitMainMenu()
|
||||
CB2_ReinitMainMenu: ; 802F6E8
|
||||
@ void CB2_ReinitMainMenu()
|
||||
CB2_ReinitMainMenu: @ 802F6E8
|
||||
push {lr}
|
||||
movs r0, 0x1
|
||||
bl InitMainMenu
|
||||
@@ -42,8 +42,8 @@ CB2_ReinitMainMenu: ; 802F6E8
|
||||
thumb_func_end CB2_ReinitMainMenu
|
||||
|
||||
thumb_func_start InitMainMenu
|
||||
; void InitMainMenu(bool8 affects_palette_maybe)
|
||||
InitMainMenu: ; 802F6F4
|
||||
@ void InitMainMenu(bool8 affects_palette_maybe)
|
||||
InitMainMenu: @ 802F6F4
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0xC
|
||||
adds r4, r0, 0
|
||||
@@ -220,8 +220,8 @@ _0802F7FE:
|
||||
thumb_func_end InitMainMenu
|
||||
|
||||
thumb_func_start Task_MainMenuCheckSaveFile
|
||||
; void Task_MainMenuCheckSaveFile(u8 taskId)
|
||||
Task_MainMenuCheckSaveFile: ; 802F8D8
|
||||
@ void Task_MainMenuCheckSaveFile(u8 taskId)
|
||||
Task_MainMenuCheckSaveFile: @ 802F8D8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -403,8 +403,8 @@ _0802FA4E:
|
||||
thumb_func_end Task_MainMenuCheckSaveFile
|
||||
|
||||
thumb_func_start Task_WaitForSaveFileErrorWindow
|
||||
; void Task_WaitForSaveFileErrorWindow(u8 taskId)
|
||||
Task_WaitForSaveFileErrorWindow: ; 802FA5C
|
||||
@ void Task_WaitForSaveFileErrorWindow(u8 taskId)
|
||||
Task_WaitForSaveFileErrorWindow: @ 802FA5C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -439,8 +439,8 @@ _0802FA98:
|
||||
thumb_func_end Task_WaitForSaveFileErrorWindow
|
||||
|
||||
thumb_func_start Task_MainMenuCheckBattery
|
||||
; void Task_MainMenuCheckBattery(u8 taskId)
|
||||
Task_MainMenuCheckBattery: ; 802FAB0
|
||||
@ void Task_MainMenuCheckBattery(u8 taskId)
|
||||
Task_MainMenuCheckBattery: @ 802FAB0
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -505,8 +505,8 @@ _0802FB3C:
|
||||
thumb_func_end Task_MainMenuCheckBattery
|
||||
|
||||
thumb_func_start Task_WaitForBatteryDryErrorWindow
|
||||
; void Task_WaitForBatteryDryErrorWindow(u8 taskId)
|
||||
Task_WaitForBatteryDryErrorWindow: ; 802FB50
|
||||
@ void Task_WaitForBatteryDryErrorWindow(u8 taskId)
|
||||
Task_WaitForBatteryDryErrorWindow: @ 802FB50
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -541,8 +541,8 @@ _0802FB8C:
|
||||
thumb_func_end Task_WaitForBatteryDryErrorWindow
|
||||
|
||||
thumb_func_start Task_DisplayMainMenu
|
||||
; void Task_DisplayMainMenu(u8 taskId)
|
||||
Task_DisplayMainMenu: ; 802FBA4
|
||||
@ void Task_DisplayMainMenu(u8 taskId)
|
||||
Task_DisplayMainMenu: @ 802FBA4
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -1036,8 +1036,8 @@ _0803006C:
|
||||
thumb_func_end Task_DisplayMainMenu
|
||||
|
||||
thumb_func_start Task_HighlightSelectedMainMenuItem
|
||||
; void Task_HighlightSelectedMainMenuItem(u8 taskId)
|
||||
Task_HighlightSelectedMainMenuItem: ; 80300B0
|
||||
@ void Task_HighlightSelectedMainMenuItem(u8 taskId)
|
||||
Task_HighlightSelectedMainMenuItem: @ 80300B0
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1060,8 +1060,8 @@ Task_HighlightSelectedMainMenuItem: ; 80300B0
|
||||
thumb_func_end Task_HighlightSelectedMainMenuItem
|
||||
|
||||
thumb_func_start HandleMainMenuInput
|
||||
; u8 HandleMainMenuInput(u8 taskId)
|
||||
HandleMainMenuInput: ; 80300E0
|
||||
@ u8 HandleMainMenuInput(u8 taskId)
|
||||
HandleMainMenuInput: @ 80300E0
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -1231,8 +1231,8 @@ _08030242:
|
||||
thumb_func_end HandleMainMenuInput
|
||||
|
||||
thumb_func_start Task_HandleMainMenuInput
|
||||
; void Task_HandleMainMenuInput(u8 taskId)
|
||||
Task_HandleMainMenuInput: ; 803024C
|
||||
@ void Task_HandleMainMenuInput(u8 taskId)
|
||||
Task_HandleMainMenuInput: @ 803024C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -1256,8 +1256,8 @@ _0803026C:
|
||||
thumb_func_end Task_HandleMainMenuInput
|
||||
|
||||
thumb_func_start Task_HandleMainMenuAPressed
|
||||
; void Task_HandleMainMenuAPressed(int task_id)
|
||||
Task_HandleMainMenuAPressed: ; 803027C
|
||||
@ void Task_HandleMainMenuAPressed(int task_id)
|
||||
Task_HandleMainMenuAPressed: @ 803027C
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -1570,8 +1570,8 @@ _08030536:
|
||||
thumb_func_end Task_HandleMainMenuAPressed
|
||||
|
||||
thumb_func_start Task_HandleMainMenuBPressed
|
||||
; void Task_HandleMainMenuBPressed(u8 taskId)
|
||||
Task_HandleMainMenuBPressed: ; 8030544
|
||||
@ void Task_HandleMainMenuBPressed(u8 taskId)
|
||||
Task_HandleMainMenuBPressed: @ 8030544
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -1613,8 +1613,8 @@ _0803058C:
|
||||
thumb_func_end Task_HandleMainMenuBPressed
|
||||
|
||||
thumb_func_start Task_DisplayMainMenuInvalidActionError
|
||||
; void Task_DisplayMainMenuInvalidActionError(u8 taskId)
|
||||
Task_DisplayMainMenuInvalidActionError: ; 80305A4
|
||||
@ void Task_DisplayMainMenuInvalidActionError(u8 taskId)
|
||||
Task_DisplayMainMenuInvalidActionError: @ 80305A4
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x8
|
||||
lsls r0, 24
|
||||
@@ -1732,8 +1732,8 @@ _08030688:
|
||||
thumb_func_end Task_DisplayMainMenuInvalidActionError
|
||||
|
||||
thumb_func_start HighlightSelectedMainMenuItem
|
||||
; void HighlightSelectedMainMenuItem(u8 a1, u8 selectedMenuItem, u16 a3)
|
||||
HighlightSelectedMainMenuItem: ; 8030698
|
||||
@ void HighlightSelectedMainMenuItem(u8 a1, u8 selectedMenuItem, u16 a3)
|
||||
HighlightSelectedMainMenuItem: @ 8030698
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
@@ -1870,8 +1870,8 @@ _080307A4:
|
||||
thumb_func_end HighlightSelectedMainMenuItem
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_1
|
||||
; void task_new_game_prof_birch_speech_1(int task_id)
|
||||
task_new_game_prof_birch_speech_1: ; 80307B0
|
||||
@ void task_new_game_prof_birch_speech_1(int task_id)
|
||||
task_new_game_prof_birch_speech_1: @ 80307B0
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x4
|
||||
adds r4, r0, 0
|
||||
@@ -1964,7 +1964,7 @@ task_new_game_prof_birch_speech_1: ; 80307B0
|
||||
thumb_func_end task_new_game_prof_birch_speech_1
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_2
|
||||
task_new_game_prof_birch_speech_2: ; 80308B0
|
||||
task_new_game_prof_birch_speech_2: @ 80308B0
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
@@ -2024,8 +2024,8 @@ _0803091A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_2
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_3
|
||||
; int task_new_game_prof_birch_speech_3()
|
||||
task_new_game_prof_birch_speech_3: ; 8030928
|
||||
@ int task_new_game_prof_birch_speech_3()
|
||||
task_new_game_prof_birch_speech_3: @ 8030928
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2094,7 +2094,7 @@ _080309B6:
|
||||
thumb_func_end task_new_game_prof_birch_speech_3
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_4
|
||||
task_new_game_prof_birch_speech_4: ; 80309CC
|
||||
task_new_game_prof_birch_speech_4: @ 80309CC
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2131,7 +2131,7 @@ _08030A0A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_4
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_5
|
||||
task_new_game_prof_birch_speech_5: ; 8030A2C
|
||||
task_new_game_prof_birch_speech_5: @ 8030A2C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2159,7 +2159,7 @@ _08030A58:
|
||||
thumb_func_end task_new_game_prof_birch_speech_5
|
||||
|
||||
thumb_func_start sub_8030A70
|
||||
sub_8030A70: ; 8030A70
|
||||
sub_8030A70: @ 8030A70
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
@@ -2232,7 +2232,7 @@ sub_8030A70: ; 8030A70
|
||||
thumb_func_end sub_8030A70
|
||||
|
||||
thumb_func_start sub_8030B14
|
||||
sub_8030B14: ; 8030B14
|
||||
sub_8030B14: @ 8030B14
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -2323,7 +2323,7 @@ _08030BBA:
|
||||
thumb_func_end sub_8030B14
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_6
|
||||
task_new_game_prof_birch_speech_6: ; 8030BCC
|
||||
task_new_game_prof_birch_speech_6: @ 8030BCC
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2354,7 +2354,7 @@ _08030BFE:
|
||||
thumb_func_end task_new_game_prof_birch_speech_6
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_7
|
||||
task_new_game_prof_birch_speech_7: ; 8030C18
|
||||
task_new_game_prof_birch_speech_7: @ 8030C18
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r6, r0, 24
|
||||
@@ -2410,7 +2410,7 @@ _08030C7C:
|
||||
thumb_func_end task_new_game_prof_birch_speech_7
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_8
|
||||
task_new_game_prof_birch_speech_8: ; 8030C90
|
||||
task_new_game_prof_birch_speech_8: @ 8030C90
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2445,7 +2445,7 @@ _08030CC8:
|
||||
thumb_func_end task_new_game_prof_birch_speech_8
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_9
|
||||
task_new_game_prof_birch_speech_9: ; 8030CD4
|
||||
task_new_game_prof_birch_speech_9: @ 8030CD4
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2532,7 +2532,7 @@ _08030D7A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_9
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_10
|
||||
task_new_game_prof_birch_speech_10: ; 8030D84
|
||||
task_new_game_prof_birch_speech_10: @ 8030D84
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2566,7 +2566,7 @@ _08030DB8:
|
||||
thumb_func_end task_new_game_prof_birch_speech_10
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_11
|
||||
task_new_game_prof_birch_speech_11: ; 8030DC8
|
||||
task_new_game_prof_birch_speech_11: @ 8030DC8
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
lsls r4, 24
|
||||
@@ -2592,7 +2592,7 @@ task_new_game_prof_birch_speech_11: ; 8030DC8
|
||||
thumb_func_end task_new_game_prof_birch_speech_11
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_12
|
||||
task_new_game_prof_birch_speech_12: ; 8030E08
|
||||
task_new_game_prof_birch_speech_12: @ 8030E08
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2616,7 +2616,7 @@ _08030E2A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_12
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_13
|
||||
task_new_game_prof_birch_speech_13: ; 8030E38
|
||||
task_new_game_prof_birch_speech_13: @ 8030E38
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
@@ -2686,7 +2686,7 @@ _08030EB8:
|
||||
thumb_func_end task_new_game_prof_birch_speech_13
|
||||
|
||||
thumb_func_start sub_8030ED4
|
||||
sub_8030ED4: ; 8030ED4
|
||||
sub_8030ED4: @ 8030ED4
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r6, r0, 24
|
||||
@@ -2771,7 +2771,7 @@ _08030F72:
|
||||
thumb_func_end sub_8030ED4
|
||||
|
||||
thumb_func_start sub_8030F7C
|
||||
sub_8030F7C: ; 8030F7C
|
||||
sub_8030F7C: @ 8030F7C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2817,7 +2817,7 @@ _08030FCA:
|
||||
thumb_func_end sub_8030F7C
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_14
|
||||
task_new_game_prof_birch_speech_14: ; 8030FD4
|
||||
task_new_game_prof_birch_speech_14: @ 8030FD4
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
lsls r4, 24
|
||||
@@ -2843,7 +2843,7 @@ task_new_game_prof_birch_speech_14: ; 8030FD4
|
||||
thumb_func_end task_new_game_prof_birch_speech_14
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_15
|
||||
task_new_game_prof_birch_speech_15: ; 8031014
|
||||
task_new_game_prof_birch_speech_15: @ 8031014
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2866,7 +2866,7 @@ _08031032:
|
||||
thumb_func_end task_new_game_prof_birch_speech_15
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_16
|
||||
task_new_game_prof_birch_speech_16: ; 8031040
|
||||
task_new_game_prof_birch_speech_16: @ 8031040
|
||||
push {r4,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -2905,7 +2905,7 @@ _0803107A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_16
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_17
|
||||
task_new_game_prof_birch_speech_17: ; 8031090
|
||||
task_new_game_prof_birch_speech_17: @ 8031090
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x8
|
||||
lsls r0, 24
|
||||
@@ -2954,7 +2954,7 @@ _080310EC:
|
||||
thumb_func_end task_new_game_prof_birch_speech_17
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_2
|
||||
task_new_game_prof_birch_speech_part2_2: ; 8031104
|
||||
task_new_game_prof_birch_speech_part2_2: @ 8031104
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
lsls r4, 24
|
||||
@@ -2980,7 +2980,7 @@ task_new_game_prof_birch_speech_part2_2: ; 8031104
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_2
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_3
|
||||
task_new_game_prof_birch_speech_part2_3: ; 8031144
|
||||
task_new_game_prof_birch_speech_part2_3: @ 8031144
|
||||
push {r4,lr}
|
||||
sub sp, 0x8
|
||||
lsls r0, 24
|
||||
@@ -3014,7 +3014,7 @@ _08031178:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_3
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_4
|
||||
task_new_game_prof_birch_speech_part2_4: ; 8031188
|
||||
task_new_game_prof_birch_speech_part2_4: @ 8031188
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
@@ -3084,7 +3084,7 @@ _08031210:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_4
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_5
|
||||
task_new_game_prof_birch_speech_part2_5: ; 8031220
|
||||
task_new_game_prof_birch_speech_part2_5: @ 8031220
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3115,7 +3115,7 @@ _08031250:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_5
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_6
|
||||
task_new_game_prof_birch_speech_part2_6: ; 8031258
|
||||
task_new_game_prof_birch_speech_part2_6: @ 8031258
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r6, r0, 24
|
||||
@@ -3219,7 +3219,7 @@ _08031320:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_6
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_7
|
||||
task_new_game_prof_birch_speech_part2_7: ; 803133C
|
||||
task_new_game_prof_birch_speech_part2_7: @ 803133C
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r5, r0, 24
|
||||
@@ -3300,7 +3300,7 @@ _080313D2:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_7
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_8
|
||||
task_new_game_prof_birch_speech_part2_8: ; 80313E4
|
||||
task_new_game_prof_birch_speech_part2_8: @ 80313E4
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r6, r0, 24
|
||||
@@ -3404,7 +3404,7 @@ _080314B0:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_8
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_9
|
||||
task_new_game_prof_birch_speech_part2_9: ; 80314C4
|
||||
task_new_game_prof_birch_speech_part2_9: @ 80314C4
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -3487,7 +3487,7 @@ _0803155C:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_9
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_10
|
||||
task_new_game_prof_birch_speech_part2_10: ; 8031580
|
||||
task_new_game_prof_birch_speech_part2_10: @ 8031580
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -3516,7 +3516,7 @@ _080315AA:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_10
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_11
|
||||
task_new_game_prof_birch_speech_part2_11: ; 80315BC
|
||||
task_new_game_prof_birch_speech_part2_11: @ 80315BC
|
||||
push {r4,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -3563,7 +3563,7 @@ _0803160A:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_11
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_12
|
||||
task_new_game_prof_birch_speech_part2_12: ; 8031630
|
||||
task_new_game_prof_birch_speech_part2_12: @ 8031630
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -3594,7 +3594,7 @@ _08031666:
|
||||
thumb_func_end task_new_game_prof_birch_speech_part2_12
|
||||
|
||||
thumb_func_start new_game_prof_birch_speech_part2_start
|
||||
new_game_prof_birch_speech_part2_start: ; 8031678
|
||||
new_game_prof_birch_speech_part2_start: @ 8031678
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0xC
|
||||
movs r0, 0
|
||||
@@ -3812,12 +3812,12 @@ _080317E0:
|
||||
thumb_func_end new_game_prof_birch_speech_part2_start
|
||||
|
||||
thumb_func_start nullsub_11
|
||||
nullsub_11: ; 80318D4
|
||||
nullsub_11: @ 80318D4
|
||||
bx lr
|
||||
thumb_func_end nullsub_11
|
||||
|
||||
thumb_func_start sub_80318D8
|
||||
sub_80318D8: ; 80318D8
|
||||
sub_80318D8: @ 80318D8
|
||||
movs r2, 0x22
|
||||
ldrsh r1, [r0, r2]
|
||||
lsls r1, 16
|
||||
@@ -3834,7 +3834,7 @@ sub_80318D8: ; 80318D8
|
||||
thumb_func_end sub_80318D8
|
||||
|
||||
thumb_func_start sub_80318F4
|
||||
sub_80318F4: ; 80318F4
|
||||
sub_80318F4: @ 80318F4
|
||||
push {lr}
|
||||
sub sp, 0x10
|
||||
lsls r0, 24
|
||||
@@ -3862,8 +3862,8 @@ sub_80318F4: ; 80318F4
|
||||
thumb_func_end sub_80318F4
|
||||
|
||||
thumb_func_start AddBirchSpeechObjects
|
||||
; void AddBirchSpeechObjects(u8 taskId)
|
||||
AddBirchSpeechObjects: ; 803192C
|
||||
@ void AddBirchSpeechObjects(u8 taskId)
|
||||
AddBirchSpeechObjects: @ 803192C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4006,7 +4006,7 @@ AddBirchSpeechObjects: ; 803192C
|
||||
thumb_func_end AddBirchSpeechObjects
|
||||
|
||||
thumb_func_start sub_8031A5C
|
||||
sub_8031A5C: ; 8031A5C
|
||||
sub_8031A5C: @ 8031A5C
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r3, r0, 24
|
||||
@@ -4064,7 +4064,7 @@ _08031AC4:
|
||||
thumb_func_end sub_8031A5C
|
||||
|
||||
thumb_func_start sub_8031ACC
|
||||
sub_8031ACC: ; 8031ACC
|
||||
sub_8031ACC: @ 8031ACC
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
@@ -4116,7 +4116,7 @@ sub_8031ACC: ; 8031ACC
|
||||
thumb_func_end sub_8031ACC
|
||||
|
||||
thumb_func_start sub_8031B3C
|
||||
sub_8031B3C: ; 8031B3C
|
||||
sub_8031B3C: @ 8031B3C
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r3, r0, 24
|
||||
@@ -4174,7 +4174,7 @@ _08031BA4:
|
||||
thumb_func_end sub_8031B3C
|
||||
|
||||
thumb_func_start sub_8031BAC
|
||||
sub_8031BAC: ; 8031BAC
|
||||
sub_8031BAC: @ 8031BAC
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
@@ -4227,7 +4227,7 @@ sub_8031BAC: ; 8031BAC
|
||||
thumb_func_end sub_8031BAC
|
||||
|
||||
thumb_func_start sub_8031C1C
|
||||
sub_8031C1C: ; 8031C1C
|
||||
sub_8031C1C: @ 8031C1C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -4284,7 +4284,7 @@ _08031C7C:
|
||||
thumb_func_end sub_8031C1C
|
||||
|
||||
thumb_func_start sub_8031C88
|
||||
sub_8031C88: ; 8031C88
|
||||
sub_8031C88: @ 8031C88
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -4316,7 +4316,7 @@ sub_8031C88: ; 8031C88
|
||||
thumb_func_end sub_8031C88
|
||||
|
||||
thumb_func_start sub_8031CC8
|
||||
sub_8031CC8: ; 8031CC8
|
||||
sub_8031CC8: @ 8031CC8
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -4373,7 +4373,7 @@ _08031D28:
|
||||
thumb_func_end sub_8031CC8
|
||||
|
||||
thumb_func_start sub_8031D34
|
||||
sub_8031D34: ; 8031D34
|
||||
sub_8031D34: @ 8031D34
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -4404,7 +4404,7 @@ sub_8031D34: ; 8031D34
|
||||
thumb_func_end sub_8031D34
|
||||
|
||||
thumb_func_start sub_8031D74
|
||||
sub_8031D74: ; 8031D74
|
||||
sub_8031D74: @ 8031D74
|
||||
push {lr}
|
||||
ldr r0, =gUnknown_082FF088
|
||||
movs r1, 0xF3
|
||||
@@ -4431,7 +4431,7 @@ sub_8031D74: ; 8031D74
|
||||
thumb_func_end sub_8031D74
|
||||
|
||||
thumb_func_start sub_8031DB4
|
||||
sub_8031DB4: ; 8031DB4
|
||||
sub_8031DB4: @ 8031DB4
|
||||
push {lr}
|
||||
bl ProcessMenuInputNoWrapAround
|
||||
lsls r0, 24
|
||||
@@ -4441,8 +4441,8 @@ sub_8031DB4: ; 8031DB4
|
||||
thumb_func_end sub_8031DB4
|
||||
|
||||
thumb_func_start set_default_player_name
|
||||
; void set_default_player_name(int name_id)
|
||||
set_default_player_name: ; 8031DC4
|
||||
@ void set_default_player_name(int name_id)
|
||||
set_default_player_name: @ 8031DC4
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -4484,8 +4484,8 @@ _08031DF0:
|
||||
thumb_func_end set_default_player_name
|
||||
|
||||
thumb_func_start CreateMainMenuErrorWindow
|
||||
; void CreateMainMenuErrorWindow(u8 *str)
|
||||
CreateMainMenuErrorWindow: ; 8031E18
|
||||
@ void CreateMainMenuErrorWindow(u8 *str)
|
||||
CreateMainMenuErrorWindow: @ 8031E18
|
||||
push {r4,lr}
|
||||
sub sp, 0xC
|
||||
adds r4, r0, 0
|
||||
@@ -4525,7 +4525,7 @@ CreateMainMenuErrorWindow: ; 8031E18
|
||||
thumb_func_end CreateMainMenuErrorWindow
|
||||
|
||||
thumb_func_start fmt_savegame
|
||||
fmt_savegame: ; 8031E7C
|
||||
fmt_savegame: @ 8031E7C
|
||||
push {lr}
|
||||
bl fmt_time
|
||||
bl fmt_pokedex
|
||||
@@ -4536,7 +4536,7 @@ fmt_savegame: ; 8031E7C
|
||||
thumb_func_end fmt_savegame
|
||||
|
||||
thumb_func_start fmt_time
|
||||
fmt_time: ; 8031E94
|
||||
fmt_time: @ 8031E94
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0xC
|
||||
ldr r4, =0x02021fc4
|
||||
@@ -4578,7 +4578,7 @@ fmt_time: ; 8031E94
|
||||
thumb_func_end fmt_time
|
||||
|
||||
thumb_func_start fmt_player
|
||||
fmt_player: ; 8031EF8
|
||||
fmt_player: @ 8031EF8
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x2C
|
||||
ldr r4, =0x02021fc4
|
||||
@@ -4634,7 +4634,7 @@ fmt_player: ; 8031EF8
|
||||
thumb_func_end fmt_player
|
||||
|
||||
thumb_func_start fmt_pokedex
|
||||
fmt_pokedex: ; 8031F7C
|
||||
fmt_pokedex: @ 8031F7C
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x2C
|
||||
ldr r0, =0x00000861
|
||||
@@ -4700,7 +4700,7 @@ _08031FFE:
|
||||
thumb_func_end fmt_pokedex
|
||||
|
||||
thumb_func_start fmt_badges
|
||||
fmt_badges: ; 8032014
|
||||
fmt_badges: @ 8032014
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x2C
|
||||
movs r7, 0
|
||||
@@ -4763,8 +4763,8 @@ _08032030:
|
||||
thumb_func_end fmt_badges
|
||||
|
||||
thumb_func_start LoadMainMenuWindowFrameTiles
|
||||
; void LoadMainMenuWindowFrameTiles(u8 bgId, u16 tileOffset)
|
||||
LoadMainMenuWindowFrameTiles: ; 80320A4
|
||||
@ void LoadMainMenuWindowFrameTiles(u8 bgId, u16 tileOffset)
|
||||
LoadMainMenuWindowFrameTiles: @ 80320A4
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -4798,8 +4798,8 @@ LoadMainMenuWindowFrameTiles: ; 80320A4
|
||||
thumb_func_end LoadMainMenuWindowFrameTiles
|
||||
|
||||
thumb_func_start DrawMainMenuWindowBorder
|
||||
; void DrawMainMenuWindowBorder(struct WindowTemplate *template, u16 baseTileNum)
|
||||
DrawMainMenuWindowBorder: ; 80320EC
|
||||
@ void DrawMainMenuWindowBorder(struct WindowTemplate *template, u16 baseTileNum)
|
||||
DrawMainMenuWindowBorder: @ 80320EC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -4972,7 +4972,7 @@ DrawMainMenuWindowBorder: ; 80320EC
|
||||
thumb_func_end DrawMainMenuWindowBorder
|
||||
|
||||
thumb_func_start sub_8032250
|
||||
sub_8032250: ; 8032250
|
||||
sub_8032250: @ 8032250
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0xC
|
||||
adds r6, r0, 0
|
||||
@@ -5010,7 +5010,7 @@ sub_8032250: ; 8032250
|
||||
thumb_func_end sub_8032250
|
||||
|
||||
thumb_func_start sub_8032298
|
||||
sub_8032298: ; 8032298
|
||||
sub_8032298: @ 8032298
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0xC
|
||||
adds r4, r1, 0
|
||||
@@ -5049,7 +5049,7 @@ sub_8032298: ; 8032298
|
||||
thumb_func_end sub_8032298
|
||||
|
||||
thumb_func_start sub_80322E0
|
||||
sub_80322E0: ; 80322E0
|
||||
sub_80322E0: @ 80322E0
|
||||
push {r4,r5,lr}
|
||||
adds r4, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -5077,7 +5077,7 @@ _0803230E:
|
||||
thumb_func_end sub_80322E0
|
||||
|
||||
thumb_func_start sub_8032318
|
||||
sub_8032318: ; 8032318
|
||||
sub_8032318: @ 8032318
|
||||
push {r4-r6,lr}
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
@@ -5142,7 +5142,7 @@ sub_8032318: ; 8032318
|
||||
thumb_func_end sub_8032318
|
||||
|
||||
thumb_func_start sub_80323A0
|
||||
sub_80323A0: ; 80323A0
|
||||
sub_80323A0: @ 80323A0
|
||||
push {lr}
|
||||
ldr r0, [r0]
|
||||
subs r0, 0x2
|
||||
@@ -5165,7 +5165,7 @@ _080323C0:
|
||||
thumb_func_end sub_80323A0
|
||||
|
||||
thumb_func_start sub_80323CC
|
||||
sub_80323CC: ; 80323CC
|
||||
sub_80323CC: @ 80323CC
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
@@ -5222,7 +5222,7 @@ sub_80323CC: ; 80323CC
|
||||
thumb_func_end sub_80323CC
|
||||
|
||||
thumb_func_start unknown_rbox_to_vram
|
||||
unknown_rbox_to_vram: ; 803243C
|
||||
unknown_rbox_to_vram: @ 803243C
|
||||
push {r4,r5,lr}
|
||||
adds r4, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -5250,7 +5250,7 @@ _0803246A:
|
||||
thumb_func_end unknown_rbox_to_vram
|
||||
|
||||
thumb_func_start sub_8032474
|
||||
sub_8032474: ; 8032474
|
||||
sub_8032474: @ 8032474
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -5440,7 +5440,7 @@ sub_8032474: ; 8032474
|
||||
thumb_func_end sub_8032474
|
||||
|
||||
thumb_func_start task_new_game_prof_birch_speech_part2_1
|
||||
task_new_game_prof_birch_speech_part2_1: ; 803261C
|
||||
task_new_game_prof_birch_speech_part2_1: @ 803261C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
|
||||
+24
-24
@@ -1,6 +1,6 @@
|
||||
thumb_func_start PutMemBlockHeader
|
||||
; void PutMemBlockHeader(void *block, struct MemBlock *prev, struct MemBlock *next, u32 size)
|
||||
PutMemBlockHeader: ; 8000988
|
||||
@ void PutMemBlockHeader(void *block, struct MemBlock *prev, struct MemBlock *next, u32 size)
|
||||
PutMemBlockHeader: @ 8000988
|
||||
push {r4,lr}
|
||||
movs r4, 0
|
||||
strh r4, [r0]
|
||||
@@ -16,8 +16,8 @@ PutMemBlockHeader: ; 8000988
|
||||
thumb_func_end PutMemBlockHeader
|
||||
|
||||
thumb_func_start PutFirstMemBlockHeader
|
||||
; void PutFirstMemBlockHeader(void *block, u32 size)
|
||||
PutFirstMemBlockHeader: ; 80009A4
|
||||
@ void PutFirstMemBlockHeader(void *block, u32 size)
|
||||
PutFirstMemBlockHeader: @ 80009A4
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r1, 0
|
||||
@@ -29,8 +29,8 @@ PutFirstMemBlockHeader: ; 80009A4
|
||||
thumb_func_end PutFirstMemBlockHeader
|
||||
|
||||
thumb_func_start AllocInternal
|
||||
; void *AllocInternal(struct MemBlock *head, u32 size)
|
||||
AllocInternal: ; 80009B8
|
||||
@ void *AllocInternal(struct MemBlock *head, u32 size)
|
||||
AllocInternal: @ 80009B8
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r6, r4, 0
|
||||
@@ -91,8 +91,8 @@ _08000A18:
|
||||
thumb_func_end AllocInternal
|
||||
|
||||
thumb_func_start FreeInternal
|
||||
; void FreeInternal(void *heapStart, void *pointer)
|
||||
FreeInternal: ; 8000A20
|
||||
@ void FreeInternal(void *heapStart, void *pointer)
|
||||
FreeInternal: @ 8000A20
|
||||
push {r4,r5,lr}
|
||||
cmp r1, 0
|
||||
beq _08000A7C
|
||||
@@ -148,8 +148,8 @@ _08000A7C:
|
||||
thumb_func_end FreeInternal
|
||||
|
||||
thumb_func_start AllocZeroedInternal
|
||||
; void *AllocZeroedInternal(void *heapStart, u32 size)
|
||||
AllocZeroedInternal: ; 8000A84
|
||||
@ void *AllocZeroedInternal(void *heapStart, u32 size)
|
||||
AllocZeroedInternal: @ 8000A84
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x4
|
||||
adds r4, r1, 0
|
||||
@@ -184,8 +184,8 @@ _08000AB8:
|
||||
thumb_func_end AllocZeroedInternal
|
||||
|
||||
thumb_func_start CheckMemBlockInternal
|
||||
; bool8 CheckMemBlockInternal(struct MemBlock *head, struct MemBlock *node)
|
||||
CheckMemBlockInternal: ; 8000AC4
|
||||
@ bool8 CheckMemBlockInternal(struct MemBlock *head, struct MemBlock *node)
|
||||
CheckMemBlockInternal: @ 8000AC4
|
||||
push {r4,r5,lr}
|
||||
adds r5, r0, 0
|
||||
adds r3, r1, 0
|
||||
@@ -236,8 +236,8 @@ _08000B16:
|
||||
thumb_func_end CheckMemBlockInternal
|
||||
|
||||
thumb_func_start InitHeap
|
||||
; void InitHeap(void *heapStart, u32 heapSize)
|
||||
InitHeap: ; 8000B1C
|
||||
@ void InitHeap(void *heapStart, u32 heapSize)
|
||||
InitHeap: @ 8000B1C
|
||||
push {lr}
|
||||
ldr r2, =0x03000004
|
||||
str r0, [r2]
|
||||
@@ -250,8 +250,8 @@ InitHeap: ; 8000B1C
|
||||
thumb_func_end InitHeap
|
||||
|
||||
thumb_func_start Alloc
|
||||
; void *Alloc(u32 size)
|
||||
Alloc: ; 8000B38
|
||||
@ void *Alloc(u32 size)
|
||||
Alloc: @ 8000B38
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldr r0, =0x03000004
|
||||
@@ -263,8 +263,8 @@ Alloc: ; 8000B38
|
||||
thumb_func_end Alloc
|
||||
|
||||
thumb_func_start AllocZeroed
|
||||
; void *AllocZeroed(u32 size)
|
||||
AllocZeroed: ; 8000B4C
|
||||
@ void *AllocZeroed(u32 size)
|
||||
AllocZeroed: @ 8000B4C
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldr r0, =0x03000004
|
||||
@@ -276,8 +276,8 @@ AllocZeroed: ; 8000B4C
|
||||
thumb_func_end AllocZeroed
|
||||
|
||||
thumb_func_start Free
|
||||
; void Free(void *pointer)
|
||||
Free: ; 8000B60
|
||||
@ void Free(void *pointer)
|
||||
Free: @ 8000B60
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldr r0, =0x03000004
|
||||
@@ -289,8 +289,8 @@ Free: ; 8000B60
|
||||
thumb_func_end Free
|
||||
|
||||
thumb_func_start CheckMemBlock
|
||||
; bool8 CheckMemBlock(void *pointer)
|
||||
CheckMemBlock: ; 8000B74
|
||||
@ bool8 CheckMemBlock(void *pointer)
|
||||
CheckMemBlock: @ 8000B74
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldr r0, =0x03000004
|
||||
@@ -302,8 +302,8 @@ CheckMemBlock: ; 8000B74
|
||||
thumb_func_end CheckMemBlock
|
||||
|
||||
thumb_func_start CheckHeap
|
||||
; bool8 CheckHeap()
|
||||
CheckHeap: ; 8000B88
|
||||
@ bool8 CheckHeap()
|
||||
CheckHeap: @ 8000B88
|
||||
push {r4,r5,lr}
|
||||
ldr r0, =0x03000004
|
||||
ldr r4, [r0]
|
||||
|
||||
+18
-18
@@ -1,6 +1,6 @@
|
||||
thumb_func_start MultiBootInit
|
||||
; void MultiBootInit(MultiBootParam *mp)
|
||||
MultiBootInit: ; 81BA6D0
|
||||
@ void MultiBootInit(MultiBootParam *mp)
|
||||
MultiBootInit: @ 81BA6D0
|
||||
adds r2, r0, 0
|
||||
movs r1, 0
|
||||
strb r1, [r2, 0x1E]
|
||||
@@ -27,8 +27,8 @@ MultiBootInit: ; 81BA6D0
|
||||
thumb_func_end MultiBootInit
|
||||
|
||||
thumb_func_start MultiBootMain
|
||||
; int MultiBootMain(MultiBootParam *mp)
|
||||
MultiBootMain: ; 81BA70C
|
||||
@ int MultiBootMain(MultiBootParam *mp)
|
||||
MultiBootMain: @ 81BA70C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -544,8 +544,8 @@ _081BAAEC:
|
||||
thumb_func_end MultiBootMain
|
||||
|
||||
thumb_func_start MultiBootSend
|
||||
; int MultiBootSend(MultiBootParam *mp, u16 data)
|
||||
MultiBootSend: ; 81BAAFC
|
||||
@ int MultiBootSend(MultiBootParam *mp, u16 data)
|
||||
MultiBootSend: @ 81BAAFC
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
lsls r1, 16
|
||||
@@ -581,8 +581,8 @@ _081BAB40:
|
||||
thumb_func_end MultiBootSend
|
||||
|
||||
thumb_func_start MultiBootStartProbe
|
||||
; void MultiBootStartProbe(MultiBootParam *mp)
|
||||
MultiBootStartProbe: ; 81BAB48
|
||||
@ void MultiBootStartProbe(MultiBootParam *mp)
|
||||
MultiBootStartProbe: @ 81BAB48
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
ldrb r0, [r1, 0x18]
|
||||
@@ -604,8 +604,8 @@ _081BAB66:
|
||||
thumb_func_end MultiBootStartProbe
|
||||
|
||||
thumb_func_start MultiBootStartMaster
|
||||
; void MultiBootStartMaster(MultiBootParam *mp, u8 *srcp, int length, u8 palette_color, s8 palette_speed)
|
||||
MultiBootStartMaster: ; 81BAB6C
|
||||
@ void MultiBootStartMaster(MultiBootParam *mp, u8 *srcp, int length, u8 palette_color, s8 palette_speed)
|
||||
MultiBootStartMaster: @ 81BAB6C
|
||||
push {r4-r7,lr}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -703,8 +703,8 @@ _081BAC28:
|
||||
thumb_func_end MultiBootStartMaster
|
||||
|
||||
thumb_func_start MultiBootCheckComplete
|
||||
; s32 MultiBootCheckComplete(MultiBootParam *mp)
|
||||
MultiBootCheckComplete: ; 81BAC30
|
||||
@ s32 MultiBootCheckComplete(MultiBootParam *mp)
|
||||
MultiBootCheckComplete: @ 81BAC30
|
||||
push {lr}
|
||||
ldrb r0, [r0, 0x18]
|
||||
cmp r0, 0xE9
|
||||
@@ -719,8 +719,8 @@ _081BAC3E:
|
||||
thumb_func_end MultiBootCheckComplete
|
||||
|
||||
thumb_func_start MultiBootHandShake
|
||||
; int MultiBootHandShake(MultiBootParam *mp)
|
||||
MultiBootHandShake: ; 81BAC44
|
||||
@ int MultiBootHandShake(MultiBootParam *mp)
|
||||
MultiBootHandShake: @ 81BAC44
|
||||
push {r4-r6,lr}
|
||||
adds r3, r0, 0
|
||||
ldrb r0, [r3, 0x18]
|
||||
@@ -847,8 +847,8 @@ _081BAD28:
|
||||
thumb_func_end MultiBootHandShake
|
||||
|
||||
thumb_func_start MultiBootWaitCycles
|
||||
; void MultiBootWaitCycles(u32 cycles)
|
||||
MultiBootWaitCycles: ; 81BAD30
|
||||
@ void MultiBootWaitCycles(u32 cycles)
|
||||
MultiBootWaitCycles: @ 81BAD30
|
||||
mov r2, pc
|
||||
lsrs r2, 24
|
||||
movs r1, 0xC
|
||||
@@ -865,8 +865,8 @@ _081BAD42:
|
||||
thumb_func_end MultiBootWaitCycles
|
||||
|
||||
thumb_func_start MultiBootWaitSendDone
|
||||
; void MultiBootWaitSendDone(void)
|
||||
MultiBootWaitSendDone: ; 81BAD48
|
||||
@ void MultiBootWaitSendDone(void)
|
||||
MultiBootWaitSendDone: @ 81BAD48
|
||||
push {r4,r5,lr}
|
||||
movs r2, 0
|
||||
ldr r3, =0x04000128
|
||||
|
||||
+10
-10
@@ -1,6 +1,6 @@
|
||||
thumb_func_start BlitBitmapRect4BitWithoutColorKey
|
||||
; void BlitBitmapRect4BitWithoutColorKey(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height)
|
||||
BlitBitmapRect4BitWithoutColorKey: ; 8002BDC
|
||||
@ void BlitBitmapRect4BitWithoutColorKey(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height)
|
||||
BlitBitmapRect4BitWithoutColorKey: @ 8002BDC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -37,8 +37,8 @@ BlitBitmapRect4BitWithoutColorKey: ; 8002BDC
|
||||
thumb_func_end BlitBitmapRect4BitWithoutColorKey
|
||||
|
||||
thumb_func_start BlitBitmapRect4Bit
|
||||
; void BlitBitmapRect4Bit(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height, u8 colorKey)
|
||||
BlitBitmapRect4Bit: ; 8002C20
|
||||
@ void BlitBitmapRect4Bit(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height, u8 colorKey)
|
||||
BlitBitmapRect4Bit: @ 8002C20
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -292,8 +292,8 @@ _08002DEE:
|
||||
thumb_func_end BlitBitmapRect4Bit
|
||||
|
||||
thumb_func_start FillBitmapRect4Bit
|
||||
; void FillBitmapRect4Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue)
|
||||
FillBitmapRect4Bit: ; 8002E00
|
||||
@ void FillBitmapRect4Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue)
|
||||
FillBitmapRect4Bit: @ 8002E00
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -404,8 +404,8 @@ _08002EB6:
|
||||
thumb_func_end FillBitmapRect4Bit
|
||||
|
||||
thumb_func_start BlitBitmapRect4BitTo8Bit
|
||||
; void BlitBitmapRect4BitTo8Bit(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height, u8 colorKey, u8 paletteOffset)
|
||||
BlitBitmapRect4BitTo8Bit: ; 8002EC8
|
||||
@ void BlitBitmapRect4BitTo8Bit(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height, u8 colorKey, u8 paletteOffset)
|
||||
BlitBitmapRect4BitTo8Bit: @ 8002EC8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -721,8 +721,8 @@ _08003106:
|
||||
thumb_func_end BlitBitmapRect4BitTo8Bit
|
||||
|
||||
thumb_func_start FillBitmapRect8Bit
|
||||
; void FillBitmapRect8Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue)
|
||||
FillBitmapRect8Bit: ; 8003118
|
||||
@ void FillBitmapRect8Bit(struct Bitmap *surface, u16 x, u16 y, u16 width, u16 height, u8 fillValue)
|
||||
FillBitmapRect8Bit: @ 8003118
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
thumb_func_start GameFreakRTC_ClearIME
|
||||
; void GameFreakRTC_ClearIME()
|
||||
GameFreakRTC_ClearIME: ; 802F0CC
|
||||
@ void GameFreakRTC_ClearIME()
|
||||
GameFreakRTC_ClearIME: @ 802F0CC
|
||||
ldr r2, =0x03000dce
|
||||
ldr r1, =0x04000208
|
||||
ldrh r0, [r1]
|
||||
@@ -12,8 +12,8 @@ GameFreakRTC_ClearIME: ; 802F0CC
|
||||
thumb_func_end GameFreakRTC_ClearIME
|
||||
|
||||
thumb_func_start GameFreakRTC_RestoreIME
|
||||
; void GameFreakRTC_RestoreIME()
|
||||
GameFreakRTC_RestoreIME: ; 802F0E4
|
||||
@ void GameFreakRTC_RestoreIME()
|
||||
GameFreakRTC_RestoreIME: @ 802F0E4
|
||||
ldr r0, =0x04000208
|
||||
ldr r1, =0x03000dce
|
||||
ldrh r1, [r1]
|
||||
@@ -23,8 +23,8 @@ GameFreakRTC_RestoreIME: ; 802F0E4
|
||||
thumb_func_end GameFreakRTC_RestoreIME
|
||||
|
||||
thumb_func_start GameFreakRTC_ConvertFromBCD
|
||||
; u8 GameFreakRTC_ConvertFromBCD(u8 bcdByte)
|
||||
GameFreakRTC_ConvertFromBCD: ; 802F0F8
|
||||
@ u8 GameFreakRTC_ConvertFromBCD(u8 bcdByte)
|
||||
GameFreakRTC_ConvertFromBCD: @ 802F0F8
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -51,8 +51,8 @@ _0802F11C:
|
||||
thumb_func_end GameFreakRTC_ConvertFromBCD
|
||||
|
||||
thumb_func_start GameFreakRTC_IsLeapYear
|
||||
; bool8 GameFreakRTC_IsLeapYear(u32 year)
|
||||
GameFreakRTC_IsLeapYear: ; 802F120
|
||||
@ bool8 GameFreakRTC_IsLeapYear(u32 year)
|
||||
GameFreakRTC_IsLeapYear: @ 802F120
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
movs r0, 0x3
|
||||
@@ -83,8 +83,8 @@ _0802F14C:
|
||||
thumb_func_end GameFreakRTC_IsLeapYear
|
||||
|
||||
thumb_func_start GameFreakRTC_ConvertYearMonthDayToNumDays
|
||||
; u16 GameFreakRTC_ConvertYearMonthDayToNumDays(u8 year, u8 month, u8 dayOfMonth)
|
||||
GameFreakRTC_ConvertYearMonthDayToNumDays: ; 802F154
|
||||
@ u16 GameFreakRTC_ConvertYearMonthDayToNumDays(u8 year, u8 month, u8 dayOfMonth)
|
||||
GameFreakRTC_ConvertYearMonthDayToNumDays: @ 802F154
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -158,8 +158,8 @@ _0802F1C2:
|
||||
thumb_func_end GameFreakRTC_ConvertYearMonthDayToNumDays
|
||||
|
||||
thumb_func_start GameFreakRTC_GetNumDaysInternal
|
||||
; u16 GameFreakRTC_GetNumDaysInternal(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetNumDaysInternal: ; 802F1E0
|
||||
@ u16 GameFreakRTC_GetNumDaysInternal(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetNumDaysInternal: @ 802F1E0
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
ldrb r0, [r6]
|
||||
@@ -188,8 +188,8 @@ GameFreakRTC_GetNumDaysInternal: ; 802F1E0
|
||||
thumb_func_end GameFreakRTC_GetNumDaysInternal
|
||||
|
||||
thumb_func_start GameFreakRTC_Init
|
||||
; void GameFreakRTC_Init()
|
||||
GameFreakRTC_Init: ; 802F21C
|
||||
@ void GameFreakRTC_Init()
|
||||
GameFreakRTC_Init: @ 802F21C
|
||||
push {r4,r5,lr}
|
||||
ldr r5, =0x03000db8
|
||||
movs r0, 0
|
||||
@@ -232,8 +232,8 @@ _0802F26E:
|
||||
thumb_func_end GameFreakRTC_Init
|
||||
|
||||
thumb_func_start GameFreakRTC_GetErrorFlags
|
||||
; u16 GameFreakRTC_GetErrorFlags()
|
||||
GameFreakRTC_GetErrorFlags: ; 802F27C
|
||||
@ u16 GameFreakRTC_GetErrorFlags()
|
||||
GameFreakRTC_GetErrorFlags: @ 802F27C
|
||||
ldr r0, =0x03000db8
|
||||
ldrh r0, [r0]
|
||||
bx lr
|
||||
@@ -241,8 +241,8 @@ GameFreakRTC_GetErrorFlags: ; 802F27C
|
||||
thumb_func_end GameFreakRTC_GetErrorFlags
|
||||
|
||||
thumb_func_start GameFreakRTC_GetRTCDateTime
|
||||
; void GameFreakRTC_GetRTCDateTime(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetRTCDateTime: ; 802F288
|
||||
@ void GameFreakRTC_GetRTCDateTime(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetRTCDateTime: @ 802F288
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
ldr r0, =0x03000db8
|
||||
@@ -268,8 +268,8 @@ _0802F2B2:
|
||||
thumb_func_end GameFreakRTC_GetRTCDateTime
|
||||
|
||||
thumb_func_start GameFreakRTC_GetRTCDateTimeInternal
|
||||
; void GameFreakRTC_GetRTCDateTimeInternal(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetRTCDateTimeInternal: ; 802F2B8
|
||||
@ void GameFreakRTC_GetRTCDateTimeInternal(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetRTCDateTimeInternal: @ 802F2B8
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
bl GameFreakRTC_ClearIME
|
||||
@@ -282,8 +282,8 @@ GameFreakRTC_GetRTCDateTimeInternal: ; 802F2B8
|
||||
thumb_func_end GameFreakRTC_GetRTCDateTimeInternal
|
||||
|
||||
thumb_func_start GameFreakRTC_GetControlReg
|
||||
; void GameFreakRTC_GetControlReg(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetControlReg: ; 802F2D0
|
||||
@ void GameFreakRTC_GetControlReg(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetControlReg: @ 802F2D0
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
bl GameFreakRTC_ClearIME
|
||||
@@ -296,8 +296,8 @@ GameFreakRTC_GetControlReg: ; 802F2D0
|
||||
thumb_func_end GameFreakRTC_GetControlReg
|
||||
|
||||
thumb_func_start GameFreakRTC_GetControlRegAndRTCDateTime
|
||||
; void GameFreakRTC_GetControlRegAndRTCDateTime(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetControlRegAndRTCDateTime: ; 802F2E8
|
||||
@ void GameFreakRTC_GetControlRegAndRTCDateTime(struct RTCInfo *rtc)
|
||||
GameFreakRTC_GetControlRegAndRTCDateTime: @ 802F2E8
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
bl GameFreakRTC_GetControlReg
|
||||
@@ -309,8 +309,8 @@ GameFreakRTC_GetControlRegAndRTCDateTime: ; 802F2E8
|
||||
thumb_func_end GameFreakRTC_GetControlRegAndRTCDateTime
|
||||
|
||||
thumb_func_start GameFreakRTC_TestForErrors
|
||||
; u16 GameFreakRTC_TestForErrors(struct RTCInfo *rtc)
|
||||
GameFreakRTC_TestForErrors: ; 802F2FC
|
||||
@ u16 GameFreakRTC_TestForErrors(struct RTCInfo *rtc)
|
||||
GameFreakRTC_TestForErrors: @ 802F2FC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -441,8 +441,8 @@ _0802F3E6:
|
||||
thumb_func_end GameFreakRTC_TestForErrors
|
||||
|
||||
thumb_func_start GameFreakRTC_Reset
|
||||
; void GameFreakRTC_Reset()
|
||||
GameFreakRTC_Reset: ; 802F3F8
|
||||
@ void GameFreakRTC_Reset()
|
||||
GameFreakRTC_Reset: @ 802F3F8
|
||||
push {lr}
|
||||
bl GameFreakRTC_ClearIME
|
||||
bl RTC_Reset
|
||||
@@ -452,8 +452,8 @@ GameFreakRTC_Reset: ; 802F3F8
|
||||
thumb_func_end GameFreakRTC_Reset
|
||||
|
||||
thumb_func_start GameFreakRTC_FormatDecimalTimeString
|
||||
; void GameFreakRTC_FormatDecimalTimeString(u8 *dest, s32 hour, s32 minute, s32 second)
|
||||
GameFreakRTC_FormatDecimalTimeString: ; 802F40C
|
||||
@ void GameFreakRTC_FormatDecimalTimeString(u8 *dest, s32 hour, s32 minute, s32 second)
|
||||
GameFreakRTC_FormatDecimalTimeString: @ 802F40C
|
||||
push {r4-r6,lr}
|
||||
adds r5, r2, 0
|
||||
adds r6, r3, 0
|
||||
@@ -481,8 +481,8 @@ GameFreakRTC_FormatDecimalTimeString: ; 802F40C
|
||||
thumb_func_end GameFreakRTC_FormatDecimalTimeString
|
||||
|
||||
thumb_func_start GameFreakRTC_FormatHexTimeString
|
||||
; void GameFreakRTC_FormatHexTimeString(u8 *dest, s32 hour, s32 minute, s32 second)
|
||||
GameFreakRTC_FormatHexTimeString: ; 802F444
|
||||
@ void GameFreakRTC_FormatHexTimeString(u8 *dest, s32 hour, s32 minute, s32 second)
|
||||
GameFreakRTC_FormatHexTimeString: @ 802F444
|
||||
push {r4-r6,lr}
|
||||
adds r5, r2, 0
|
||||
adds r6, r3, 0
|
||||
@@ -510,8 +510,8 @@ GameFreakRTC_FormatHexTimeString: ; 802F444
|
||||
thumb_func_end GameFreakRTC_FormatHexTimeString
|
||||
|
||||
thumb_func_start GameFreakRTC_FormatHexTimeStringFromRTCInfo
|
||||
; void GameFreakRTC_FormatHexTimeStringFromRTCInfo()
|
||||
GameFreakRTC_FormatHexTimeStringFromRTCInfo: ; 802F47C
|
||||
@ void GameFreakRTC_FormatHexTimeStringFromRTCInfo()
|
||||
GameFreakRTC_FormatHexTimeStringFromRTCInfo: @ 802F47C
|
||||
push {lr}
|
||||
ldr r3, =0x03000dc0
|
||||
ldrb r1, [r3, 0x4]
|
||||
@@ -524,8 +524,8 @@ GameFreakRTC_FormatHexTimeStringFromRTCInfo: ; 802F47C
|
||||
thumb_func_end GameFreakRTC_FormatHexTimeStringFromRTCInfo
|
||||
|
||||
thumb_func_start GameFreakRTC_FormatDecimalYearMonthDayString
|
||||
; void GameFreakRTC_FormatDecimalYearMonthDayString(u8 *dest, s32 year, s32 month, s32 dayOfMonth)
|
||||
GameFreakRTC_FormatDecimalYearMonthDayString: ; 802F494
|
||||
@ void GameFreakRTC_FormatDecimalYearMonthDayString(u8 *dest, s32 year, s32 month, s32 dayOfMonth)
|
||||
GameFreakRTC_FormatDecimalYearMonthDayString: @ 802F494
|
||||
push {r4-r6,lr}
|
||||
adds r5, r2, 0
|
||||
adds r6, r3, 0
|
||||
@@ -553,8 +553,8 @@ GameFreakRTC_FormatDecimalYearMonthDayString: ; 802F494
|
||||
thumb_func_end GameFreakRTC_FormatDecimalYearMonthDayString
|
||||
|
||||
thumb_func_start GameFreakRTC_FormatHexYearMonthDayString
|
||||
; void GameFreakRTC_FormatHexYearMonthDayString(u8 *dest, s32 year, s32 month, s32 dayOfMonth)
|
||||
GameFreakRTC_FormatHexYearMonthDayString: ; 802F4CC
|
||||
@ void GameFreakRTC_FormatHexYearMonthDayString(u8 *dest, s32 year, s32 month, s32 dayOfMonth)
|
||||
GameFreakRTC_FormatHexYearMonthDayString: @ 802F4CC
|
||||
push {r4-r6,lr}
|
||||
adds r5, r2, 0
|
||||
adds r6, r3, 0
|
||||
@@ -582,8 +582,8 @@ GameFreakRTC_FormatHexYearMonthDayString: ; 802F4CC
|
||||
thumb_func_end GameFreakRTC_FormatHexYearMonthDayString
|
||||
|
||||
thumb_func_start GameFreakRTC_GetRTCDelta
|
||||
; void GameFreakRTC_GetRTCDelta(RTCInfo *rtc, GameDateTime *delta, GameDateTime *dateTime)
|
||||
GameFreakRTC_GetRTCDelta: ; 802F504
|
||||
@ void GameFreakRTC_GetRTCDelta(RTCInfo *rtc, GameDateTime *delta, GameDateTime *dateTime)
|
||||
GameFreakRTC_GetRTCDelta: @ 802F504
|
||||
push {r4-r7,lr}
|
||||
adds r5, r0, 0
|
||||
adds r7, r1, 0
|
||||
@@ -652,8 +652,8 @@ _0802F582:
|
||||
thumb_func_end GameFreakRTC_GetRTCDelta
|
||||
|
||||
thumb_func_start GameFreakRTC_CalcLocalDateTime
|
||||
; void GameFreakRTC_CalcLocalDateTime()
|
||||
GameFreakRTC_CalcLocalDateTime: ; 802F588
|
||||
@ void GameFreakRTC_CalcLocalDateTime()
|
||||
GameFreakRTC_CalcLocalDateTime: @ 802F588
|
||||
push {r4,lr}
|
||||
ldr r4, =0x03000dc0
|
||||
adds r0, r4, 0
|
||||
@@ -671,8 +671,8 @@ GameFreakRTC_CalcLocalDateTime: ; 802F588
|
||||
thumb_func_end GameFreakRTC_CalcLocalDateTime
|
||||
|
||||
thumb_func_start GameFreakRTC_CalcRTCToLocalDelta_DayZero
|
||||
; void GameFreakRTC_CalcRTCToLocalDelta_DayZero(u8 hour, u8 minute)
|
||||
GameFreakRTC_CalcRTCToLocalDelta_DayZero: ; 802F5B4
|
||||
@ void GameFreakRTC_CalcRTCToLocalDelta_DayZero(u8 hour, u8 minute)
|
||||
GameFreakRTC_CalcRTCToLocalDelta_DayZero: @ 802F5B4
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
adds r2, r1, 0
|
||||
@@ -685,8 +685,8 @@ GameFreakRTC_CalcRTCToLocalDelta_DayZero: ; 802F5B4
|
||||
thumb_func_end GameFreakRTC_CalcRTCToLocalDelta_DayZero
|
||||
|
||||
thumb_func_start GameFreakRTC_CalcRTCToLocalDelta
|
||||
; void GameFreakRTC_CalcRTCToLocalDelta(u16 numDays, u8 hour, u8 minute, u8 second)
|
||||
GameFreakRTC_CalcRTCToLocalDelta: ; 802F5C8
|
||||
@ void GameFreakRTC_CalcRTCToLocalDelta(u16 numDays, u8 hour, u8 minute, u8 second)
|
||||
GameFreakRTC_CalcRTCToLocalDelta: @ 802F5C8
|
||||
push {r4,r5,lr}
|
||||
ldr r4, =0x03005cf8
|
||||
strh r0, [r4]
|
||||
@@ -709,8 +709,8 @@ GameFreakRTC_CalcRTCToLocalDelta: ; 802F5C8
|
||||
thumb_func_end GameFreakRTC_CalcRTCToLocalDelta
|
||||
|
||||
thumb_func_start GameFreakRTC_GetDelta
|
||||
; void GameFreakRTC_GetDelta(GameDateTime *delta, GameDateTime *dateTime1, GameDateTime *dateTime2)
|
||||
GameFreakRTC_GetDelta: ; 802F5FC
|
||||
@ void GameFreakRTC_GetDelta(GameDateTime *delta, GameDateTime *dateTime1, GameDateTime *dateTime2)
|
||||
GameFreakRTC_GetDelta: @ 802F5FC
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
ldrb r3, [r2, 0x4]
|
||||
@@ -768,8 +768,8 @@ _0802F65C:
|
||||
thumb_func_end GameFreakRTC_GetDelta
|
||||
|
||||
thumb_func_start GameFreakRTC_GetNumMinutes
|
||||
; u16 GameFreakRTC_GetNumMinutes()
|
||||
GameFreakRTC_GetNumMinutes: ; 802F664
|
||||
@ u16 GameFreakRTC_GetNumMinutes()
|
||||
GameFreakRTC_GetNumMinutes: @ 802F664
|
||||
push {r4,lr}
|
||||
ldr r4, =0x03000dc0
|
||||
adds r0, r4, 0
|
||||
@@ -797,8 +797,8 @@ GameFreakRTC_GetNumMinutes: ; 802F664
|
||||
thumb_func_end GameFreakRTC_GetNumMinutes
|
||||
|
||||
thumb_func_start GameFreakRTC_GetNumDays
|
||||
; u16 GameFreakRTC_GetNumDays()
|
||||
GameFreakRTC_GetNumDays: ; 802F69C
|
||||
@ u16 GameFreakRTC_GetNumDays()
|
||||
GameFreakRTC_GetNumDays: @ 802F69C
|
||||
push {lr}
|
||||
ldr r0, =0x03000dc0
|
||||
bl GameFreakRTC_GetNumDaysInternal
|
||||
|
||||
+88
-88
@@ -1,6 +1,6 @@
|
||||
thumb_func_start CopyString_Limit10
|
||||
; u8 *CopyString_Limit10(u8 *dest, u8 *src)
|
||||
CopyString_Limit10: ; 8008B10
|
||||
@ u8 *CopyString_Limit10(u8 *dest, u8 *src)
|
||||
CopyString_Limit10: @ 8008B10
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
movs r5, 0xA
|
||||
@@ -32,8 +32,8 @@ _08008B3C:
|
||||
thumb_func_end CopyString_Limit10
|
||||
|
||||
thumb_func_start GetStringEnd_Limit7
|
||||
; u8 *GetStringEnd_Limit7(u8 *s)
|
||||
GetStringEnd_Limit7: ; 8008B44
|
||||
@ u8 *GetStringEnd_Limit7(u8 *s)
|
||||
GetStringEnd_Limit7: @ 8008B44
|
||||
push {r4,lr}
|
||||
adds r3, r0, 0
|
||||
movs r4, 0xA
|
||||
@@ -61,8 +61,8 @@ _08008B68:
|
||||
thumb_func_end GetStringEnd_Limit7
|
||||
|
||||
thumb_func_start CopyString_Limit7
|
||||
; u8 *CopyString_Limit7(u8 *dest, u8 *src)
|
||||
CopyString_Limit7: ; 8008B70
|
||||
@ u8 *CopyString_Limit7(u8 *dest, u8 *src)
|
||||
CopyString_Limit7: @ 8008B70
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
movs r5, 0x7
|
||||
@@ -92,8 +92,8 @@ _08008B98:
|
||||
thumb_func_end CopyString_Limit7
|
||||
|
||||
thumb_func_start CopyString
|
||||
; u8 *CopyString(u8 *dest, u8 *src)
|
||||
CopyString: ; 8008BA0
|
||||
@ u8 *CopyString(u8 *dest, u8 *src)
|
||||
CopyString: @ 8008BA0
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
b _08008BAC
|
||||
@@ -114,8 +114,8 @@ _08008BAC:
|
||||
thumb_func_end CopyString
|
||||
|
||||
thumb_func_start AppendString
|
||||
; u8 *AppendString(u8 *dest, u8 *src)
|
||||
AppendString: ; 8008BC0
|
||||
@ u8 *AppendString(u8 *dest, u8 *src)
|
||||
AppendString: @ 8008BC0
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
b _08008BC8
|
||||
@@ -132,8 +132,8 @@ _08008BC8:
|
||||
thumb_func_end AppendString
|
||||
|
||||
thumb_func_start CopyString_LimitN
|
||||
; u8 *CopyString_LimitN(u8 *dest, u8 *src, u8 n)
|
||||
CopyString_LimitN: ; 8008BD8
|
||||
@ u8 *CopyString_LimitN(u8 *dest, u8 *src, u8 n)
|
||||
CopyString_LimitN: @ 8008BD8
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r6, r1, 0
|
||||
@@ -162,8 +162,8 @@ _08008BFE:
|
||||
thumb_func_end CopyString_LimitN
|
||||
|
||||
thumb_func_start AppendString_LimitN
|
||||
; u8 *AppendString_LimitN(u8 *dest, u8 *src, u8 n)
|
||||
AppendString_LimitN: ; 8008C08
|
||||
@ u8 *AppendString_LimitN(u8 *dest, u8 *src, u8 n)
|
||||
AppendString_LimitN: @ 8008C08
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
lsls r2, 24
|
||||
@@ -182,8 +182,8 @@ _08008C14:
|
||||
thumb_func_end AppendString_LimitN
|
||||
|
||||
thumb_func_start GetStringLength
|
||||
; u16 GetStringLength(u8 *s)
|
||||
GetStringLength: ; 8008C24
|
||||
@ u16 GetStringLength(u8 *s)
|
||||
GetStringLength: @ 8008C24
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
movs r1, 0
|
||||
@@ -205,8 +205,8 @@ _08008C3E:
|
||||
thumb_func_end GetStringLength
|
||||
|
||||
thumb_func_start CompareString
|
||||
; u8 CompareString(u8 *s1, u8 *s2)
|
||||
CompareString: ; 8008C44
|
||||
@ u8 CompareString(u8 *s1, u8 *s2)
|
||||
CompareString: @ 8008C44
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
b _08008C56
|
||||
@@ -232,8 +232,8 @@ _08008C64:
|
||||
thumb_func_end CompareString
|
||||
|
||||
thumb_func_start CompareString_LimitN
|
||||
; u8 CompareString_LimitN(u8 *s1, u8 *s2, u32 n)
|
||||
CompareString_LimitN: ; 8008C68
|
||||
@ u8 CompareString_LimitN(u8 *s1, u8 *s2, u32 n)
|
||||
CompareString_LimitN: @ 8008C68
|
||||
push {r4,lr}
|
||||
adds r3, r0, 0
|
||||
b _08008C80
|
||||
@@ -263,8 +263,8 @@ _08008C8E:
|
||||
thumb_func_end CompareString_LimitN
|
||||
|
||||
thumb_func_start IsStringLengthLessThanN
|
||||
; bool8 IsStringLengthLessThanN(u8 *s, s32 n)
|
||||
IsStringLengthLessThanN: ; 8008C94
|
||||
@ bool8 IsStringLengthLessThanN(u8 *s, s32 n)
|
||||
IsStringLengthLessThanN: @ 8008C94
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
movs r2, 0
|
||||
@@ -293,8 +293,8 @@ _08008CBA:
|
||||
thumb_func_end IsStringLengthLessThanN
|
||||
|
||||
thumb_func_start ConvertIntToDecimalString
|
||||
; u8 *ConvertIntToDecimalString(u8 *dest, s32 value, u8 mode, u8 numDigits)
|
||||
ConvertIntToDecimalString: ; 8008CC0
|
||||
@ u8 *ConvertIntToDecimalString(u8 *dest, s32 value, u8 mode, u8 numDigits)
|
||||
ConvertIntToDecimalString: @ 8008CC0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -392,8 +392,8 @@ _08008D60:
|
||||
thumb_func_end ConvertIntToDecimalString
|
||||
|
||||
thumb_func_start ConvertUnsignedIntToDecimalString
|
||||
; u8 *ConvertUnsignedIntToDecimalString(u8 *dest, u32 value, u8 mode, u8 numDigits)
|
||||
ConvertUnsignedIntToDecimalString: ; 8008D70
|
||||
@ u8 *ConvertUnsignedIntToDecimalString(u8 *dest, u32 value, u8 mode, u8 numDigits)
|
||||
ConvertUnsignedIntToDecimalString: @ 8008D70
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -491,8 +491,8 @@ _08008E10:
|
||||
thumb_func_end ConvertUnsignedIntToDecimalString
|
||||
|
||||
thumb_func_start ConvertIntToHexString
|
||||
; u8 *ConvertIntToHexString(u8 *dest, s32 value, u8 mode, u8 numDigits)
|
||||
ConvertIntToHexString: ; 8008E20
|
||||
@ u8 *ConvertIntToHexString(u8 *dest, s32 value, u8 mode, u8 numDigits)
|
||||
ConvertIntToHexString: @ 8008E20
|
||||
push {r4-r7,lr}
|
||||
mov r7, r9
|
||||
mov r6, r8
|
||||
@@ -601,8 +601,8 @@ _08008ECA:
|
||||
thumb_func_end ConvertIntToHexString
|
||||
|
||||
thumb_func_start ExpandStringRefs
|
||||
; u8 *ExpandStringRefs(u8 *dest, u8 *src)
|
||||
ExpandStringRefs: ; 8008EE0
|
||||
@ u8 *ExpandStringRefs(u8 *dest, u8 *src)
|
||||
ExpandStringRefs: @ 8008EE0
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -705,8 +705,8 @@ _08008FC0:
|
||||
thumb_func_end ExpandStringRefs
|
||||
|
||||
thumb_func_start sub_8008FCC
|
||||
; u8 *sub_8008FCC(u8 *dest, u8 *src)
|
||||
sub_8008FCC: ; 8008FCC
|
||||
@ u8 *sub_8008FCC(u8 *dest, u8 *src)
|
||||
sub_8008FCC: @ 8008FCC
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0xC
|
||||
adds r5, r0, 0
|
||||
@@ -755,16 +755,16 @@ _0800901E:
|
||||
thumb_func_end sub_8008FCC
|
||||
|
||||
thumb_func_start StringRef_GetPossiblyUnusedStringVar
|
||||
; u8 *StringRef_GetPossiblyUnusedStringVar()
|
||||
StringRef_GetPossiblyUnusedStringVar: ; 800902C
|
||||
@ u8 *StringRef_GetPossiblyUnusedStringVar()
|
||||
StringRef_GetPossiblyUnusedStringVar: @ 800902C
|
||||
ldr r0, =0x020223ac
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetPossiblyUnusedStringVar
|
||||
|
||||
thumb_func_start StringRef_GetPlayerName
|
||||
; u8 *StringRef_GetPlayerName()
|
||||
StringRef_GetPlayerName: ; 8009034
|
||||
@ u8 *StringRef_GetPlayerName()
|
||||
StringRef_GetPlayerName: @ 8009034
|
||||
ldr r0, =0x03005d90
|
||||
ldr r0, [r0]
|
||||
bx lr
|
||||
@@ -772,32 +772,32 @@ StringRef_GetPlayerName: ; 8009034
|
||||
thumb_func_end StringRef_GetPlayerName
|
||||
|
||||
thumb_func_start StringRef_GetStringVar1
|
||||
; u8 *StringRef_GetStringVar1()
|
||||
StringRef_GetStringVar1: ; 8009040
|
||||
@ u8 *StringRef_GetStringVar1()
|
||||
StringRef_GetStringVar1: @ 8009040
|
||||
ldr r0, =0x02021cc4
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetStringVar1
|
||||
|
||||
thumb_func_start StringRef_GetStringVar2
|
||||
; u8 *StringRef_GetStringVar2()
|
||||
StringRef_GetStringVar2: ; 8009048
|
||||
@ u8 *StringRef_GetStringVar2()
|
||||
StringRef_GetStringVar2: @ 8009048
|
||||
ldr r0, =0x02021dc4
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetStringVar2
|
||||
|
||||
thumb_func_start StringRef_GetStringVar3
|
||||
; u8 *StringRef_GetStringVar3()
|
||||
StringRef_GetStringVar3: ; 8009050
|
||||
@ u8 *StringRef_GetStringVar3()
|
||||
StringRef_GetStringVar3: @ 8009050
|
||||
ldr r0, =0x02021ec4
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetStringVar3
|
||||
|
||||
thumb_func_start StringRef_GetDummiedOutGenderDependentString
|
||||
; u8 *StringRef_GetDummiedOutGenderDependentString()
|
||||
StringRef_GetDummiedOutGenderDependentString: ; 8009058
|
||||
@ u8 *StringRef_GetDummiedOutGenderDependentString()
|
||||
StringRef_GetDummiedOutGenderDependentString: @ 8009058
|
||||
push {lr}
|
||||
ldr r0, =0x03005d90
|
||||
ldr r0, [r0]
|
||||
@@ -816,8 +816,8 @@ _08009072:
|
||||
thumb_func_end StringRef_GetDummiedOutGenderDependentString
|
||||
|
||||
thumb_func_start StringRef_GetRivalName
|
||||
; u8 *StringRef_GetRivalName()
|
||||
StringRef_GetRivalName: ; 800907C
|
||||
@ u8 *StringRef_GetRivalName()
|
||||
StringRef_GetRivalName: @ 800907C
|
||||
push {lr}
|
||||
ldr r0, =0x03005d90
|
||||
ldr r0, [r0]
|
||||
@@ -836,64 +836,64 @@ _08009096:
|
||||
thumb_func_end StringRef_GetRivalName
|
||||
|
||||
thumb_func_start StringRef_GetEmeraldString
|
||||
; u8 *StringRef_GetEmeraldString()
|
||||
StringRef_GetEmeraldString: ; 80090A0
|
||||
@ u8 *StringRef_GetEmeraldString()
|
||||
StringRef_GetEmeraldString: @ 80090A0
|
||||
ldr r0, =gUnknown_085E8229
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetEmeraldString
|
||||
|
||||
thumb_func_start StringRef_GetAquaString
|
||||
; u8 *StringRef_GetAquaString()
|
||||
StringRef_GetAquaString: ; 80090A8
|
||||
@ u8 *StringRef_GetAquaString()
|
||||
StringRef_GetAquaString: @ 80090A8
|
||||
ldr r0, =gUnknown_085E8231
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetAquaString
|
||||
|
||||
thumb_func_start StringRef_GetMagmaString
|
||||
; u8 *StringRef_GetMagmaString()
|
||||
StringRef_GetMagmaString: ; 80090B0
|
||||
@ u8 *StringRef_GetMagmaString()
|
||||
StringRef_GetMagmaString: @ 80090B0
|
||||
ldr r0, =gUnknown_085E8236
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetMagmaString
|
||||
|
||||
thumb_func_start StringRef_GetArchieString
|
||||
; u8 *StringRef_GetArchieString()
|
||||
StringRef_GetArchieString: ; 80090B8
|
||||
@ u8 *StringRef_GetArchieString()
|
||||
StringRef_GetArchieString: @ 80090B8
|
||||
ldr r0, =gUnknown_085E823C
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetArchieString
|
||||
|
||||
thumb_func_start StringRef_GetMaxieString
|
||||
; u8 *StringRef_GetMaxieString()
|
||||
StringRef_GetMaxieString: ; 80090C0
|
||||
@ u8 *StringRef_GetMaxieString()
|
||||
StringRef_GetMaxieString: @ 80090C0
|
||||
ldr r0, =gUnknown_085E8243
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetMaxieString
|
||||
|
||||
thumb_func_start StringRef_GetKyogreString
|
||||
; u8 *StringRef_GetKyogreString()
|
||||
StringRef_GetKyogreString: ; 80090C8
|
||||
@ u8 *StringRef_GetKyogreString()
|
||||
StringRef_GetKyogreString: @ 80090C8
|
||||
ldr r0, =gUnknown_085E8249
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetKyogreString
|
||||
|
||||
thumb_func_start StringRef_GetGroudonString
|
||||
; u8 *StringRef_GetGroudonString()
|
||||
StringRef_GetGroudonString: ; 80090D0
|
||||
@ u8 *StringRef_GetGroudonString()
|
||||
StringRef_GetGroudonString: @ 80090D0
|
||||
ldr r0, =gUnknown_085E8250
|
||||
bx lr
|
||||
.pool
|
||||
thumb_func_end StringRef_GetGroudonString
|
||||
|
||||
thumb_func_start GetExpandedStringRef
|
||||
; u8 *GetExpandedStringRef(u8 code)
|
||||
GetExpandedStringRef: ; 80090D8
|
||||
@ u8 *GetExpandedStringRef(u8 code)
|
||||
GetExpandedStringRef: @ 80090D8
|
||||
push {lr}
|
||||
cmp r0, 0xD
|
||||
bhi _080090F0
|
||||
@@ -913,8 +913,8 @@ _080090F2:
|
||||
thumb_func_end GetExpandedStringRef
|
||||
|
||||
thumb_func_start RepeatChar
|
||||
; u8 *RepeatChar(u8 *dest, u8 c, u16 n)
|
||||
RepeatChar: ; 80090FC
|
||||
@ u8 *RepeatChar(u8 *dest, u8 c, u16 n)
|
||||
RepeatChar: @ 80090FC
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
lsls r1, 24
|
||||
@@ -941,8 +941,8 @@ _0800911C:
|
||||
thumb_func_end RepeatChar
|
||||
|
||||
thumb_func_start CopyStringPadded
|
||||
; u8 *CopyStringPadded(u8 *dest, u8 *src, u8 c, u16 n)
|
||||
CopyStringPadded: ; 8009128
|
||||
@ u8 *CopyStringPadded(u8 *dest, u8 *src, u8 c, u16 n)
|
||||
CopyStringPadded: @ 8009128
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -991,8 +991,8 @@ _0800916C:
|
||||
thumb_func_end CopyStringPadded
|
||||
|
||||
thumb_func_start RepeatStringTerminator
|
||||
; u8 *RepeatStringTerminator(u8 *dest, u16 n)
|
||||
RepeatStringTerminator: ; 800917C
|
||||
@ u8 *RepeatStringTerminator(u8 *dest, u16 n)
|
||||
RepeatStringTerminator: @ 800917C
|
||||
push {lr}
|
||||
lsls r2, r1, 16
|
||||
lsrs r2, 16
|
||||
@@ -1003,8 +1003,8 @@ RepeatStringTerminator: ; 800917C
|
||||
thumb_func_end RepeatStringTerminator
|
||||
|
||||
thumb_func_start CopyString_LimitN_Multibyte
|
||||
; u8 *CopyString_LimitN_Multibyte(u8 *dest, u8 *src, u32 n)
|
||||
CopyString_LimitN_Multibyte: ; 800918C
|
||||
@ u8 *CopyString_LimitN_Multibyte(u8 *dest, u8 *src, u32 n)
|
||||
CopyString_LimitN_Multibyte: @ 800918C
|
||||
push {r4,r5,lr}
|
||||
adds r4, r0, 0
|
||||
adds r3, r1, 0
|
||||
@@ -1043,8 +1043,8 @@ _080091BE:
|
||||
thumb_func_end CopyString_LimitN_Multibyte
|
||||
|
||||
thumb_func_start GetStringLength_Multibyte
|
||||
; u32 GetStringLength_Multibyte(u8 *s)
|
||||
GetStringLength_Multibyte: ; 80091CC
|
||||
@ u32 GetStringLength_Multibyte(u8 *s)
|
||||
GetStringLength_Multibyte: @ 80091CC
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
movs r3, 0
|
||||
@@ -1067,8 +1067,8 @@ _080091DE:
|
||||
thumb_func_end GetStringLength_Multibyte
|
||||
|
||||
thumb_func_start WriteColorChangeControlCode
|
||||
; u8 *WriteColorChangeControlCode(u8 *dest, u8 colorType, u8 color)
|
||||
WriteColorChangeControlCode: ; 80091EC
|
||||
@ u8 *WriteColorChangeControlCode(u8 *dest, u8 colorType, u8 color)
|
||||
WriteColorChangeControlCode: @ 80091EC
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
lsls r2, 24
|
||||
@@ -1106,8 +1106,8 @@ _08009218:
|
||||
thumb_func_end WriteColorChangeControlCode
|
||||
|
||||
thumb_func_start sub_8009228
|
||||
; bool8 sub_8009228(u8 *s)
|
||||
sub_8009228: ; 8009228
|
||||
@ bool8 sub_8009228(u8 *s)
|
||||
sub_8009228: @ 8009228
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
b _0800923E
|
||||
@@ -1133,8 +1133,8 @@ _08009248:
|
||||
thumb_func_end sub_8009228
|
||||
|
||||
thumb_func_start sub_800924C
|
||||
; bool8 sub_800924C(u8 *s, u32 n)
|
||||
sub_800924C: ; 800924C
|
||||
@ bool8 sub_800924C(u8 *s, u32 n)
|
||||
sub_800924C: @ 800924C
|
||||
push {r4,lr}
|
||||
adds r3, r0, 0
|
||||
adds r4, r1, 0
|
||||
@@ -1167,8 +1167,8 @@ _08009276:
|
||||
thumb_func_end sub_800924C
|
||||
|
||||
thumb_func_start GetExtendedControlCodeLength
|
||||
; u8 GetExtendedControlCodeLength(u8 code)
|
||||
GetExtendedControlCodeLength: ; 800927C
|
||||
@ u8 GetExtendedControlCodeLength(u8 code)
|
||||
GetExtendedControlCodeLength: @ 800927C
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r1, r0, 24
|
||||
@@ -1185,8 +1185,8 @@ _0800928E:
|
||||
thumb_func_end GetExtendedControlCodeLength
|
||||
|
||||
thumb_func_start SkipExtendedControlCode
|
||||
; u8 *SkipExtendedControlCode(u8 *s)
|
||||
SkipExtendedControlCode: ; 8009298
|
||||
@ u8 *SkipExtendedControlCode(u8 *s)
|
||||
SkipExtendedControlCode: @ 8009298
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
b _080092AC
|
||||
@@ -1208,8 +1208,8 @@ _080092AC:
|
||||
thumb_func_end SkipExtendedControlCode
|
||||
|
||||
thumb_func_start CompareStringWithoutExtendedControlCodes
|
||||
; u8 CompareStringWithoutExtendedControlCodes(u8 *s1, u8 *s2)
|
||||
CompareStringWithoutExtendedControlCodes: ; 80092BC
|
||||
@ u8 CompareStringWithoutExtendedControlCodes(u8 *s1, u8 *s2)
|
||||
CompareStringWithoutExtendedControlCodes: @ 80092BC
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -1252,8 +1252,8 @@ _080092FE:
|
||||
thumb_func_end CompareStringWithoutExtendedControlCodes
|
||||
|
||||
thumb_func_start StopMusicWhileStringIsPrinted
|
||||
; void StopMusicWhileStringIsPrinted(u8 *s, bool8 stopMusic)
|
||||
StopMusicWhileStringIsPrinted: ; 8009308
|
||||
@ void StopMusicWhileStringIsPrinted(u8 *s, bool8 stopMusic)
|
||||
StopMusicWhileStringIsPrinted: @ 8009308
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
lsls r1, 24
|
||||
@@ -1309,8 +1309,8 @@ _08009368:
|
||||
thumb_func_end StopMusicWhileStringIsPrinted
|
||||
|
||||
thumb_func_start StripExtendedControlCodes
|
||||
; void StripExtendedControlCodes(u8 *s)
|
||||
StripExtendedControlCodes: ; 8009370
|
||||
@ void StripExtendedControlCodes(u8 *s)
|
||||
StripExtendedControlCodes: @ 8009370
|
||||
push {r4-r6,lr}
|
||||
adds r5, r0, 0
|
||||
movs r4, 0
|
||||
|
||||
+22
-22
@@ -1,6 +1,6 @@
|
||||
thumb_func_start clear_tasks
|
||||
; void clear_tasks()
|
||||
clear_tasks: ; 80A8F50
|
||||
@ void clear_tasks()
|
||||
clear_tasks: @ 80A8F50
|
||||
push {r4-r7,lr}
|
||||
movs r4, 0
|
||||
ldr r6, =0x03005e00
|
||||
@@ -46,8 +46,8 @@ _080A8F5A:
|
||||
thumb_func_end clear_tasks
|
||||
|
||||
thumb_func_start AddTask
|
||||
; int AddTask(void ( *func)(int task_id), u8 priority)
|
||||
AddTask: ; 80A8FB0
|
||||
@ int AddTask(void ( *func)(int task_id), u8 priority)
|
||||
AddTask: @ 80A8FB0
|
||||
push {r4-r7,lr}
|
||||
adds r2, r0, 0
|
||||
lsls r1, 24
|
||||
@@ -91,8 +91,8 @@ _080A8FFC:
|
||||
thumb_func_end AddTask
|
||||
|
||||
thumb_func_start insert_task_in_order_by_priority
|
||||
; void insert_task_in_order_by_priority(int task_id)
|
||||
insert_task_in_order_by_priority: ; 80A9004
|
||||
@ void insert_task_in_order_by_priority(int task_id)
|
||||
insert_task_in_order_by_priority: @ 80A9004
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -173,8 +173,8 @@ _080A9090:
|
||||
thumb_func_end insert_task_in_order_by_priority
|
||||
|
||||
thumb_func_start remove_task
|
||||
; void remove_task(int task_id)
|
||||
remove_task: ; 80A909C
|
||||
@ void remove_task(int task_id)
|
||||
remove_task: @ 80A909C
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -236,8 +236,8 @@ _080A9106:
|
||||
thumb_func_end remove_task
|
||||
|
||||
thumb_func_start RunActiveTasks
|
||||
; void RunActiveTasks()
|
||||
RunActiveTasks: ; 80A910C
|
||||
@ void RunActiveTasks()
|
||||
RunActiveTasks: @ 80A910C
|
||||
push {r4,r5,lr}
|
||||
bl get_first_active_task
|
||||
lsls r0, 24
|
||||
@@ -263,8 +263,8 @@ _080A9130:
|
||||
thumb_func_end RunActiveTasks
|
||||
|
||||
thumb_func_start get_first_active_task
|
||||
; int get_first_active_task()
|
||||
get_first_active_task: ; 80A913C
|
||||
@ int get_first_active_task()
|
||||
get_first_active_task: @ 80A913C
|
||||
push {lr}
|
||||
movs r2, 0
|
||||
ldr r0, =0x03005e00
|
||||
@@ -299,12 +299,12 @@ _080A916E:
|
||||
thumb_func_end get_first_active_task
|
||||
|
||||
thumb_func_start nullsub_4
|
||||
nullsub_4: ; 80A9178
|
||||
nullsub_4: @ 80A9178
|
||||
bx lr
|
||||
thumb_func_end nullsub_4
|
||||
|
||||
thumb_func_start set_task_function_and_args_14_15
|
||||
set_task_function_and_args_14_15: ; 80A917C
|
||||
set_task_function_and_args_14_15: @ 80A917C
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -332,7 +332,7 @@ set_task_function_and_args_14_15: ; 80A917C
|
||||
thumb_func_end set_task_function_and_args_14_15
|
||||
|
||||
thumb_func_start set_task_function_to_args_14_15
|
||||
set_task_function_to_args_14_15: ; 80A91B0
|
||||
set_task_function_to_args_14_15: @ 80A91B0
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -360,8 +360,8 @@ set_task_function_to_args_14_15: ; 80A91B0
|
||||
thumb_func_end set_task_function_to_args_14_15
|
||||
|
||||
thumb_func_start is_function_an_active_task
|
||||
; int is_function_an_active_task(void ( *func)(int task_id))
|
||||
is_function_an_active_task: ; 80A91E4
|
||||
@ int is_function_an_active_task(void ( *func)(int task_id))
|
||||
is_function_an_active_task: @ 80A91E4
|
||||
push {r4,lr}
|
||||
adds r3, r0, 0
|
||||
movs r2, 0
|
||||
@@ -394,8 +394,8 @@ _080A9214:
|
||||
thumb_func_end is_function_an_active_task
|
||||
|
||||
thumb_func_start get_task_id_by_function
|
||||
; int get_task_id_by_function(void ( *func)(int task_id))
|
||||
get_task_id_by_function: ; 80A921C
|
||||
@ int get_task_id_by_function(void ( *func)(int task_id))
|
||||
get_task_id_by_function: @ 80A921C
|
||||
push {lr}
|
||||
adds r3, r0, 0
|
||||
movs r2, 0
|
||||
@@ -423,7 +423,7 @@ _080A9246:
|
||||
thumb_func_end get_task_id_by_function
|
||||
|
||||
thumb_func_start sub_80A924C
|
||||
sub_80A924C: ; 80A924C
|
||||
sub_80A924C: @ 80A924C
|
||||
push {lr}
|
||||
movs r2, 0
|
||||
movs r1, 0
|
||||
@@ -452,7 +452,7 @@ _080A9268:
|
||||
thumb_func_end sub_80A924C
|
||||
|
||||
thumb_func_start set_word_task_arg
|
||||
set_word_task_arg: ; 80A927C
|
||||
set_word_task_arg: @ 80A927C
|
||||
push {r4,r5,lr}
|
||||
adds r5, r2, 0
|
||||
lsls r0, 24
|
||||
@@ -484,7 +484,7 @@ _080A92AA:
|
||||
thumb_func_end set_word_task_arg
|
||||
|
||||
thumb_func_start get_word_task_arg
|
||||
get_word_task_arg: ; 80A92B4
|
||||
get_word_task_arg: @ 80A92B4
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
|
||||
+104
-104
@@ -1,6 +1,6 @@
|
||||
thumb_func_start SetFontsPointer
|
||||
; void SetFontsPointer(struct FontInfo *fonts)
|
||||
SetFontsPointer: ; 80045A4
|
||||
@ void SetFontsPointer(struct FontInfo *fonts)
|
||||
SetFontsPointer: @ 80045A4
|
||||
ldr r1, =0x03002f80
|
||||
str r0, [r1]
|
||||
bx lr
|
||||
@@ -8,8 +8,8 @@ SetFontsPointer: ; 80045A4
|
||||
thumb_func_end SetFontsPointer
|
||||
|
||||
thumb_func_start DeactivateAllTextPrinters
|
||||
; void DeactivateAllTextPrinters()
|
||||
DeactivateAllTextPrinters: ; 80045B0
|
||||
@ void DeactivateAllTextPrinters()
|
||||
DeactivateAllTextPrinters: @ 80045B0
|
||||
push {lr}
|
||||
ldr r1, =0x020201b0
|
||||
movs r2, 0
|
||||
@@ -26,8 +26,8 @@ _080045BA:
|
||||
thumb_func_end DeactivateAllTextPrinters
|
||||
|
||||
thumb_func_start Print
|
||||
; u16 Print(u8 windowId, u8 fontId, u8 *str, u8 x, u8 y, u8 speed, void ( *callback)(u16, struct TextPrinter *))
|
||||
Print: ; 80045D0
|
||||
@ u16 Print(u8 windowId, u8 fontId, u8 *str, u8 x, u8 y, u8 speed, void ( *callback)(u16, struct TextPrinter *))
|
||||
Print: @ 80045D0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -115,8 +115,8 @@ Print: ; 80045D0
|
||||
thumb_func_end Print
|
||||
|
||||
thumb_func_start AddTextPrinter
|
||||
; u16 AddTextPrinter(struct TextPrinter *textPrinter, u8 speed, void ( *callback)(u16, struct TextPrinter *))
|
||||
AddTextPrinter: ; 800467C
|
||||
@ u16 AddTextPrinter(struct TextPrinter *textPrinter, u8 speed, void ( *callback)(u16, struct TextPrinter *))
|
||||
AddTextPrinter: @ 800467C
|
||||
push {r4-r7,lr}
|
||||
adds r6, r0, 0
|
||||
mov r12, r2
|
||||
@@ -238,8 +238,8 @@ _08004766:
|
||||
thumb_func_end AddTextPrinter
|
||||
|
||||
thumb_func_start RunTextPrinters
|
||||
; void RunTextPrinters()
|
||||
RunTextPrinters: ; 8004778
|
||||
@ void RunTextPrinters()
|
||||
RunTextPrinters: @ 8004778
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -309,8 +309,8 @@ _080047F6:
|
||||
thumb_func_end RunTextPrinters
|
||||
|
||||
thumb_func_start IsTextPrinterActive
|
||||
; bool8 IsTextPrinterActive(u8 id)
|
||||
IsTextPrinterActive: ; 8004800
|
||||
@ bool8 IsTextPrinterActive(u8 id)
|
||||
IsTextPrinterActive: @ 8004800
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
ldr r2, =0x020201b0
|
||||
@@ -324,8 +324,8 @@ IsTextPrinterActive: ; 8004800
|
||||
thumb_func_end IsTextPrinterActive
|
||||
|
||||
thumb_func_start RenderFont
|
||||
; u16 RenderFont(struct TextPrinter *textPrinter)
|
||||
RenderFont: ; 8004818
|
||||
@ u16 RenderFont(struct TextPrinter *textPrinter)
|
||||
RenderFont: @ 8004818
|
||||
push {r4,lr}
|
||||
adds r4, r0, 0
|
||||
_0800481C:
|
||||
@@ -350,8 +350,8 @@ _0800481C:
|
||||
thumb_func_end RenderFont
|
||||
|
||||
thumb_func_start GenerateFontHalfRowLookupTable
|
||||
; void GenerateFontHalfRowLookupTable(u8 fgColor, u8 bgColor, u8 shadowColor)
|
||||
GenerateFontHalfRowLookupTable: ; 8004844
|
||||
@ void GenerateFontHalfRowLookupTable(u8 fgColor, u8 bgColor, u8 shadowColor)
|
||||
GenerateFontHalfRowLookupTable: @ 8004844
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -810,8 +810,8 @@ GenerateFontHalfRowLookupTable: ; 8004844
|
||||
thumb_func_end GenerateFontHalfRowLookupTable
|
||||
|
||||
thumb_func_start SaveTextColors
|
||||
; void SaveTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor)
|
||||
SaveTextColors: ; 8004BE0
|
||||
@ void SaveTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor)
|
||||
SaveTextColors: @ 8004BE0
|
||||
ldr r3, =0x030009ea
|
||||
ldrh r3, [r3]
|
||||
strb r3, [r1]
|
||||
@@ -826,8 +826,8 @@ SaveTextColors: ; 8004BE0
|
||||
thumb_func_end SaveTextColors
|
||||
|
||||
thumb_func_start RestoreTextColors
|
||||
; void RestoreTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor)
|
||||
RestoreTextColors: ; 8004C00
|
||||
@ void RestoreTextColors(u8 *fgColor, u8 *bgColor, u8 *shadowColor)
|
||||
RestoreTextColors: @ 8004C00
|
||||
push {lr}
|
||||
ldrb r0, [r0]
|
||||
ldrb r1, [r1]
|
||||
@@ -838,8 +838,8 @@ RestoreTextColors: ; 8004C00
|
||||
thumb_func_end RestoreTextColors
|
||||
|
||||
thumb_func_start DecompressGlyphTile
|
||||
; void DecompressGlyphTile(u16 *src, u32 *dest)
|
||||
DecompressGlyphTile: ; 8004C10
|
||||
@ void DecompressGlyphTile(u16 *src, u32 *dest)
|
||||
DecompressGlyphTile: @ 8004C10
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -1003,8 +1003,8 @@ DecompressGlyphTile: ; 8004C10
|
||||
thumb_func_end DecompressGlyphTile
|
||||
|
||||
thumb_func_start GetLastTextColor
|
||||
; u8 GetLastTextColor(u8 colorType)
|
||||
GetLastTextColor: ; 8004D58
|
||||
@ u8 GetLastTextColor(u8 colorType)
|
||||
GetLastTextColor: @ 8004D58
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -1043,8 +1043,8 @@ _08004D9A:
|
||||
thumb_func_end GetLastTextColor
|
||||
|
||||
thumb_func_start CopyGlyphToWindow
|
||||
; int CopyGlyphToWindow(struct TextPrinter *x)
|
||||
CopyGlyphToWindow: ; 8004DA0
|
||||
@ int CopyGlyphToWindow(struct TextPrinter *x)
|
||||
CopyGlyphToWindow: @ 8004DA0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1746,8 +1746,8 @@ _080052AA:
|
||||
thumb_func_end CopyGlyphToWindow
|
||||
|
||||
thumb_func_start ClearTextSpan
|
||||
; void ClearTextSpan(TextPrinter *textPrinter, u32 width)
|
||||
ClearTextSpan: ; 80052C8
|
||||
@ void ClearTextSpan(TextPrinter *textPrinter, u32 width)
|
||||
ClearTextSpan: @ 80052C8
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0x10
|
||||
adds r4, r0, 0
|
||||
@@ -1799,8 +1799,8 @@ _0800531E:
|
||||
thumb_func_end ClearTextSpan
|
||||
|
||||
thumb_func_start Font0Func
|
||||
; int Font0Func(struct TextPrinter *x)
|
||||
Font0Func: ; 800533C
|
||||
@ int Font0Func(struct TextPrinter *x)
|
||||
Font0Func: @ 800533C
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1829,8 +1829,8 @@ _08005360:
|
||||
thumb_func_end Font0Func
|
||||
|
||||
thumb_func_start Font1Func
|
||||
; int Font1Func(struct TextPrinter *x)
|
||||
Font1Func: ; 8005370
|
||||
@ int Font1Func(struct TextPrinter *x)
|
||||
Font1Func: @ 8005370
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1861,8 +1861,8 @@ _08005398:
|
||||
thumb_func_end Font1Func
|
||||
|
||||
thumb_func_start Font2Func
|
||||
; int Font2Func(struct TextPrinter *x)
|
||||
Font2Func: ; 80053A8
|
||||
@ int Font2Func(struct TextPrinter *x)
|
||||
Font2Func: @ 80053A8
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1893,8 +1893,8 @@ _080053D0:
|
||||
thumb_func_end Font2Func
|
||||
|
||||
thumb_func_start Font3Func
|
||||
; int Font3Func(struct TextPrinter *x)
|
||||
Font3Func: ; 80053E0
|
||||
@ int Font3Func(struct TextPrinter *x)
|
||||
Font3Func: @ 80053E0
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1925,8 +1925,8 @@ _08005408:
|
||||
thumb_func_end Font3Func
|
||||
|
||||
thumb_func_start Font4Func
|
||||
; int Font4Func(struct TextPrinter *x)
|
||||
Font4Func: ; 8005418
|
||||
@ int Font4Func(struct TextPrinter *x)
|
||||
Font4Func: @ 8005418
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1957,8 +1957,8 @@ _08005440:
|
||||
thumb_func_end Font4Func
|
||||
|
||||
thumb_func_start Font5Func
|
||||
; int Font5Func(struct TextPrinter *x)
|
||||
Font5Func: ; 8005450
|
||||
@ int Font5Func(struct TextPrinter *x)
|
||||
Font5Func: @ 8005450
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -1989,8 +1989,8 @@ _08005478:
|
||||
thumb_func_end Font5Func
|
||||
|
||||
thumb_func_start Font7Func
|
||||
; int Font7Func(struct TextPrinter *x)
|
||||
Font7Func: ; 8005488
|
||||
@ int Font7Func(struct TextPrinter *x)
|
||||
Font7Func: @ 8005488
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -2021,8 +2021,8 @@ _080054B0:
|
||||
thumb_func_end Font7Func
|
||||
|
||||
thumb_func_start Font8Func
|
||||
; int Font8Func(struct TextPrinter *x)
|
||||
Font8Func: ; 80054C0
|
||||
@ int Font8Func(struct TextPrinter *x)
|
||||
Font8Func: @ 80054C0
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r3, r2, 0
|
||||
@@ -2053,8 +2053,8 @@ _080054E8:
|
||||
thumb_func_end Font8Func
|
||||
|
||||
thumb_func_start TextPrinterInitDownArrowCounters
|
||||
; void TextPrinterInitDownArrowCounters(struct TextPrinter *textPrinter)
|
||||
TextPrinterInitDownArrowCounters: ; 80054F8
|
||||
@ void TextPrinterInitDownArrowCounters(struct TextPrinter *textPrinter)
|
||||
TextPrinterInitDownArrowCounters: @ 80054F8
|
||||
push {lr}
|
||||
adds r2, r0, 0
|
||||
adds r2, 0x14
|
||||
@@ -2083,8 +2083,8 @@ _08005524:
|
||||
thumb_func_end TextPrinterInitDownArrowCounters
|
||||
|
||||
thumb_func_start TextPrinterDrawDownArrow
|
||||
; void TextPrinterDrawDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterDrawDownArrow: ; 8005528
|
||||
@ void TextPrinterDrawDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterDrawDownArrow: @ 8005528
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0x18
|
||||
adds r5, r0, 0
|
||||
@@ -2191,8 +2191,8 @@ _080055EE:
|
||||
thumb_func_end TextPrinterDrawDownArrow
|
||||
|
||||
thumb_func_start TextPrinterClearDownArrow
|
||||
; void TextPrinterClearDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterClearDownArrow: ; 8005600
|
||||
@ void TextPrinterClearDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterClearDownArrow: @ 8005600
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x8
|
||||
adds r5, r0, 0
|
||||
@@ -2219,8 +2219,8 @@ TextPrinterClearDownArrow: ; 8005600
|
||||
thumb_func_end TextPrinterClearDownArrow
|
||||
|
||||
thumb_func_start TextPrinterWaitAutoMode
|
||||
; bool8 TextPrinterWaitAutoMode(struct TextPrinter *textPrinter)
|
||||
TextPrinterWaitAutoMode: ; 8005634
|
||||
@ bool8 TextPrinterWaitAutoMode(struct TextPrinter *textPrinter)
|
||||
TextPrinterWaitAutoMode: @ 8005634
|
||||
push {lr}
|
||||
adds r1, r0, 0
|
||||
adds r1, 0x14
|
||||
@@ -2239,8 +2239,8 @@ _0800564A:
|
||||
thumb_func_end TextPrinterWaitAutoMode
|
||||
|
||||
thumb_func_start TextPrinterWaitWithDownArrow
|
||||
; bool8 TextPrinterWaitWithDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterWaitWithDownArrow: ; 8005650
|
||||
@ bool8 TextPrinterWaitWithDownArrow(struct TextPrinter *textPrinter)
|
||||
TextPrinterWaitWithDownArrow: @ 8005650
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
movs r4, 0
|
||||
@@ -2277,8 +2277,8 @@ _0800568E:
|
||||
thumb_func_end TextPrinterWaitWithDownArrow
|
||||
|
||||
thumb_func_start TextPrinterWait
|
||||
; bool8 TextPrinterWait(struct TextPrinter *textPrinter)
|
||||
TextPrinterWait: ; 800569C
|
||||
@ bool8 TextPrinterWait(struct TextPrinter *textPrinter)
|
||||
TextPrinterWait: @ 800569C
|
||||
push {r4,lr}
|
||||
adds r2, r0, 0
|
||||
movs r4, 0
|
||||
@@ -2313,8 +2313,8 @@ _080056D4:
|
||||
thumb_func_end TextPrinterWait
|
||||
|
||||
thumb_func_start DrawDownArrow
|
||||
; void DrawDownArrow(u8 windowId, u16 x, u16 y, u8 bgColor, bool8 drawArrow, u8 *counter, u8 *yCoordIndex)
|
||||
DrawDownArrow: ; 80056E0
|
||||
@ void DrawDownArrow(u8 windowId, u16 x, u16 y, u8 bgColor, bool8 drawArrow, u8 *counter, u8 *yCoordIndex)
|
||||
DrawDownArrow: @ 80056E0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2419,8 +2419,8 @@ _0800579A:
|
||||
thumb_func_end DrawDownArrow
|
||||
|
||||
thumb_func_start RenderText
|
||||
; u16 RenderText(struct TextPrinter *textPrinter)
|
||||
RenderText: ; 80057B4
|
||||
@ u16 RenderText(struct TextPrinter *textPrinter)
|
||||
RenderText: @ 80057B4
|
||||
push {r4-r6,lr}
|
||||
adds r6, r0, 0
|
||||
adds r4, r6, 0
|
||||
@@ -3146,8 +3146,8 @@ _08005D6E:
|
||||
thumb_func_end RenderText
|
||||
|
||||
thumb_func_start GetStringWidthFixedWidthFont
|
||||
; u32 GetStringWidthFixedWidthFont(u8 *str, u8 fontId, u8 letterSpacing)
|
||||
GetStringWidthFixedWidthFont: ; 8005D74
|
||||
@ u32 GetStringWidthFixedWidthFont(u8 *str, u8 fontId, u8 letterSpacing)
|
||||
GetStringWidthFixedWidthFont: @ 8005D74
|
||||
push {r4-r7,lr}
|
||||
mov r7, r8
|
||||
push {r7}
|
||||
@@ -3285,8 +3285,8 @@ _08005E84:
|
||||
thumb_func_end GetStringWidthFixedWidthFont
|
||||
|
||||
thumb_func_start GetFontWidthFunc
|
||||
; u8 GetFontWidthFunc(u16 glyphId)
|
||||
GetFontWidthFunc: ; 8005EA8
|
||||
@ u8 GetFontWidthFunc(u16 glyphId)
|
||||
GetFontWidthFunc: @ 8005EA8
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -3315,8 +3315,8 @@ _08005ED0:
|
||||
thumb_func_end GetFontWidthFunc
|
||||
|
||||
thumb_func_start GetStringWidth
|
||||
; s32 GetStringWidth(u8 fontId, u8 *str, u16 letterSpacing)
|
||||
GetStringWidth: ; 8005ED8
|
||||
@ s32 GetStringWidth(u8 fontId, u8 *str, u16 letterSpacing)
|
||||
GetStringWidth: @ 8005ED8
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -3628,8 +3628,8 @@ _0800612E:
|
||||
thumb_func_end GetStringWidth
|
||||
|
||||
thumb_func_start RenderTextFont9
|
||||
; u8 RenderTextFont9(u8 *pixels, u8 fontId, u8 *str)
|
||||
RenderTextFont9: ; 8006140
|
||||
@ u8 RenderTextFont9(u8 *pixels, u8 fontId, u8 *str)
|
||||
RenderTextFont9: @ 8006140
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -3819,8 +3819,8 @@ _080062C0:
|
||||
thumb_func_end RenderTextFont9
|
||||
|
||||
thumb_func_start DrawKeypadIcon
|
||||
; u8 DrawKeypadIcon(u8 windowId, u8 keypadIconId, u16 x, u16 y)
|
||||
DrawKeypadIcon: ; 80062E8
|
||||
@ u8 DrawKeypadIcon(u8 windowId, u8 keypadIconId, u16 x, u16 y)
|
||||
DrawKeypadIcon: @ 80062E8
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x18
|
||||
lsls r0, 24
|
||||
@@ -3859,8 +3859,8 @@ DrawKeypadIcon: ; 80062E8
|
||||
thumb_func_end DrawKeypadIcon
|
||||
|
||||
thumb_func_start GetKeypadIconTileOffset
|
||||
; u8 GetKeypadIconTileOffset(u8 keypadIconId)
|
||||
GetKeypadIconTileOffset: ; 8006338
|
||||
@ u8 GetKeypadIconTileOffset(u8 keypadIconId)
|
||||
GetKeypadIconTileOffset: @ 8006338
|
||||
lsls r0, 24
|
||||
ldr r1, =gKeypadIcons
|
||||
lsrs r0, 22
|
||||
@@ -3871,8 +3871,8 @@ GetKeypadIconTileOffset: ; 8006338
|
||||
thumb_func_end GetKeypadIconTileOffset
|
||||
|
||||
thumb_func_start GetKeypadIconWidth
|
||||
; u8 GetKeypadIconWidth(u8 keypadIconId)
|
||||
GetKeypadIconWidth: ; 8006348
|
||||
@ u8 GetKeypadIconWidth(u8 keypadIconId)
|
||||
GetKeypadIconWidth: @ 8006348
|
||||
lsls r0, 24
|
||||
ldr r1, =gKeypadIcons
|
||||
lsrs r0, 22
|
||||
@@ -3883,8 +3883,8 @@ GetKeypadIconWidth: ; 8006348
|
||||
thumb_func_end GetKeypadIconWidth
|
||||
|
||||
thumb_func_start GetKeypadIconHeight
|
||||
; u8 GetKeypadIconHeight(u8 keypadIconId)
|
||||
GetKeypadIconHeight: ; 8006358
|
||||
@ u8 GetKeypadIconHeight(u8 keypadIconId)
|
||||
GetKeypadIconHeight: @ 8006358
|
||||
lsls r0, 24
|
||||
ldr r1, =gKeypadIcons
|
||||
lsrs r0, 22
|
||||
@@ -3895,8 +3895,8 @@ GetKeypadIconHeight: ; 8006358
|
||||
thumb_func_end GetKeypadIconHeight
|
||||
|
||||
thumb_func_start SetDefaultFontsPointer
|
||||
; void SetDefaultFontsPointer()
|
||||
SetDefaultFontsPointer: ; 8006368
|
||||
@ void SetDefaultFontsPointer()
|
||||
SetDefaultFontsPointer: @ 8006368
|
||||
push {lr}
|
||||
ldr r0, =gFontInfos
|
||||
bl SetFontsPointer
|
||||
@@ -3906,8 +3906,8 @@ SetDefaultFontsPointer: ; 8006368
|
||||
thumb_func_end SetDefaultFontsPointer
|
||||
|
||||
thumb_func_start GetFontAttribute
|
||||
; u8 GetFontAttribute(u8 fontId, u8 attributeId)
|
||||
GetFontAttribute: ; 8006378
|
||||
@ u8 GetFontAttribute(u8 fontId, u8 attributeId)
|
||||
GetFontAttribute: @ 8006378
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -4014,8 +4014,8 @@ _08006456:
|
||||
thumb_func_end GetFontAttribute
|
||||
|
||||
thumb_func_start GetMenuCursorDimensionByFont
|
||||
; u8 GetMenuCursorDimensionByFont(u8 fontId, u8 whichDimension)
|
||||
GetMenuCursorDimensionByFont: ; 8006460
|
||||
@ u8 GetMenuCursorDimensionByFont(u8 fontId, u8 whichDimension)
|
||||
GetMenuCursorDimensionByFont: @ 8006460
|
||||
lsls r0, 24
|
||||
lsls r1, 24
|
||||
lsrs r1, 24
|
||||
@@ -4029,8 +4029,8 @@ GetMenuCursorDimensionByFont: ; 8006460
|
||||
thumb_func_end GetMenuCursorDimensionByFont
|
||||
|
||||
thumb_func_start DecompressGlyphFont0
|
||||
; void DecompressGlyphFont0(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont0: ; 8006478
|
||||
@ void DecompressGlyphFont0(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont0: @ 8006478
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 16
|
||||
lsrs r3, r0, 16
|
||||
@@ -4118,8 +4118,8 @@ _08006534:
|
||||
thumb_func_end DecompressGlyphFont0
|
||||
|
||||
thumb_func_start GetGlyphWidthFont0
|
||||
; u8 GetGlyphWidthFont0(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont0: ; 8006540
|
||||
@ u8 GetGlyphWidthFont0(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont0: @ 8006540
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r2, r0, 16
|
||||
@@ -4138,8 +4138,8 @@ _0800655A:
|
||||
thumb_func_end GetGlyphWidthFont0
|
||||
|
||||
thumb_func_start DecompressGlyphFont7
|
||||
; void DecompressGlyphFont7(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont7: ; 8006560
|
||||
@ void DecompressGlyphFont7(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont7: @ 8006560
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 16
|
||||
lsrs r3, r0, 16
|
||||
@@ -4227,8 +4227,8 @@ _0800661C:
|
||||
thumb_func_end DecompressGlyphFont7
|
||||
|
||||
thumb_func_start GetGlyphWidthFont7
|
||||
; u8 GetGlyphWidthFont7(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont7: ; 8006628
|
||||
@ u8 GetGlyphWidthFont7(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont7: @ 8006628
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r2, r0, 16
|
||||
@@ -4247,8 +4247,8 @@ _08006642:
|
||||
thumb_func_end GetGlyphWidthFont7
|
||||
|
||||
thumb_func_start DecompressGlyphFont8
|
||||
; void DecompressGlyphFont8(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont8: ; 8006648
|
||||
@ void DecompressGlyphFont8(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont8: @ 8006648
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 16
|
||||
lsrs r3, r0, 16
|
||||
@@ -4336,8 +4336,8 @@ _08006704:
|
||||
thumb_func_end DecompressGlyphFont8
|
||||
|
||||
thumb_func_start GetGlyphWidthFont8
|
||||
; u8 GetGlyphWidthFont8(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont8: ; 8006710
|
||||
@ u8 GetGlyphWidthFont8(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont8: @ 8006710
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r2, r0, 16
|
||||
@@ -4356,8 +4356,8 @@ _0800672A:
|
||||
thumb_func_end GetGlyphWidthFont8
|
||||
|
||||
thumb_func_start DecompressGlyphFont2
|
||||
; void DecompressGlyphFont2(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont2: ; 8006730
|
||||
@ void DecompressGlyphFont2(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont2: @ 8006730
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 16
|
||||
lsrs r6, r0, 16
|
||||
@@ -4459,8 +4459,8 @@ _08006810:
|
||||
thumb_func_end DecompressGlyphFont2
|
||||
|
||||
thumb_func_start GetGlyphWidthFont2
|
||||
; u8 GetGlyphWidthFont2(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont2: ; 800681C
|
||||
@ u8 GetGlyphWidthFont2(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont2: @ 800681C
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r2, r0, 16
|
||||
@@ -4480,8 +4480,8 @@ _08006832:
|
||||
thumb_func_end GetGlyphWidthFont2
|
||||
|
||||
thumb_func_start DecompressGlyphFont1
|
||||
; void DecompressGlyphFont1(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont1: ; 8006840
|
||||
@ void DecompressGlyphFont1(u16 glyphId, bool8 isJapanese)
|
||||
DecompressGlyphFont1: @ 8006840
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 16
|
||||
lsrs r3, r0, 16
|
||||
@@ -4569,8 +4569,8 @@ _080068FC:
|
||||
thumb_func_end DecompressGlyphFont1
|
||||
|
||||
thumb_func_start GetGlyphWidthFont1
|
||||
; u8 GetGlyphWidthFont1(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont1: ; 8006908
|
||||
@ u8 GetGlyphWidthFont1(u16 glyphId, bool8 isJapanese)
|
||||
GetGlyphWidthFont1: @ 8006908
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r2, r0, 16
|
||||
@@ -4589,8 +4589,8 @@ _08006922:
|
||||
thumb_func_end GetGlyphWidthFont1
|
||||
|
||||
thumb_func_start DecompressGlyphFont9
|
||||
; void DecompressGlyphFont9(u16 glyphId)
|
||||
DecompressGlyphFont9: ; 8006928
|
||||
@ void DecompressGlyphFont9(u16 glyphId)
|
||||
DecompressGlyphFont9: @ 8006928
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 16
|
||||
lsrs r4, r0, 20
|
||||
|
||||
+85
-85
@@ -1,6 +1,6 @@
|
||||
thumb_func_start sub_80A0954
|
||||
; void sub_80A0954()
|
||||
sub_80A0954: ; 80A0954
|
||||
@ void sub_80A0954()
|
||||
sub_80A0954: @ 80A0954
|
||||
push {lr}
|
||||
sub sp, 0x4
|
||||
ldr r1, =0x03000f34
|
||||
@@ -19,7 +19,7 @@ sub_80A0954: ; 80A0954
|
||||
thumb_func_end sub_80A0954
|
||||
|
||||
thumb_func_start sub_80A0980
|
||||
sub_80A0980: ; 80A0980
|
||||
sub_80A0980: @ 80A0980
|
||||
push {r4-r6,lr}
|
||||
adds r4, r0, 0
|
||||
adds r5, r1, 0
|
||||
@@ -60,7 +60,7 @@ _080A09C0:
|
||||
thumb_func_end sub_80A0980
|
||||
|
||||
thumb_func_start sub_80A09D0
|
||||
sub_80A09D0: ; 80A09D0
|
||||
sub_80A09D0: @ 80A09D0
|
||||
push {r4-r6,lr}
|
||||
movs r3, 0
|
||||
ldr r4, =0x03000f34
|
||||
@@ -97,7 +97,7 @@ _080A0A02:
|
||||
thumb_func_end sub_80A09D0
|
||||
|
||||
thumb_func_start cur_mapheader_run_tileset_funcs_after_some_cpuset
|
||||
cur_mapheader_run_tileset_funcs_after_some_cpuset: ; 80A0A18
|
||||
cur_mapheader_run_tileset_funcs_after_some_cpuset: @ 80A0A18
|
||||
push {lr}
|
||||
bl sub_80A0954
|
||||
bl cur_mapheader_run_tileset1_func
|
||||
@@ -107,7 +107,7 @@ cur_mapheader_run_tileset_funcs_after_some_cpuset: ; 80A0A18
|
||||
thumb_func_end cur_mapheader_run_tileset_funcs_after_some_cpuset
|
||||
|
||||
thumb_func_start sub_80A0A2C
|
||||
sub_80A0A2C: ; 80A0A2C
|
||||
sub_80A0A2C: @ 80A0A2C
|
||||
push {lr}
|
||||
bl cur_mapheader_run_tileset2_func
|
||||
pop {r0}
|
||||
@@ -115,7 +115,7 @@ sub_80A0A2C: ; 80A0A2C
|
||||
thumb_func_end sub_80A0A2C
|
||||
|
||||
thumb_func_start sub_80A0A38
|
||||
sub_80A0A38: ; 80A0A38
|
||||
sub_80A0A38: @ 80A0A38
|
||||
push {r4,lr}
|
||||
bl sub_80A0954
|
||||
ldr r2, =0x03000f36
|
||||
@@ -165,7 +165,7 @@ _080A0A8A:
|
||||
thumb_func_end sub_80A0A38
|
||||
|
||||
thumb_func_start cur_mapheader_run_tileset1_func
|
||||
cur_mapheader_run_tileset1_func: ; 80A0AA8
|
||||
cur_mapheader_run_tileset1_func: @ 80A0AA8
|
||||
push {lr}
|
||||
ldr r0, =0x03000f36
|
||||
movs r1, 0
|
||||
@@ -191,7 +191,7 @@ _080A0ACE:
|
||||
thumb_func_end cur_mapheader_run_tileset1_func
|
||||
|
||||
thumb_func_start cur_mapheader_run_tileset2_func
|
||||
cur_mapheader_run_tileset2_func: ; 80A0AE4
|
||||
cur_mapheader_run_tileset2_func: @ 80A0AE4
|
||||
push {lr}
|
||||
ldr r0, =0x03000f3a
|
||||
movs r1, 0
|
||||
@@ -217,7 +217,7 @@ _080A0B0A:
|
||||
thumb_func_end cur_mapheader_run_tileset2_func
|
||||
|
||||
thumb_func_start TilesetCb_General
|
||||
TilesetCb_General: ; 80A0B20
|
||||
TilesetCb_General: @ 80A0B20
|
||||
ldr r1, =0x03000f36
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -234,7 +234,7 @@ TilesetCb_General: ; 80A0B20
|
||||
thumb_func_end TilesetCb_General
|
||||
|
||||
thumb_func_start TilesetCb_InsideBuilding
|
||||
TilesetCb_InsideBuilding: ; 80A0B48
|
||||
TilesetCb_InsideBuilding: @ 80A0B48
|
||||
ldr r1, =0x03000f36
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -251,7 +251,7 @@ TilesetCb_InsideBuilding: ; 80A0B48
|
||||
thumb_func_end TilesetCb_InsideBuilding
|
||||
|
||||
thumb_func_start sub_80A0B70
|
||||
sub_80A0B70: ; 80A0B70
|
||||
sub_80A0B70: @ 80A0B70
|
||||
push {r4,r5,lr}
|
||||
lsls r5, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -289,7 +289,7 @@ _080A0BAE:
|
||||
thumb_func_end sub_80A0B70
|
||||
|
||||
thumb_func_start sub_80A0BB4
|
||||
sub_80A0BB4: ; 80A0BB4
|
||||
sub_80A0BB4: @ 80A0BB4
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -305,7 +305,7 @@ _080A0BC8:
|
||||
thumb_func_end sub_80A0BB4
|
||||
|
||||
thumb_func_start sub_80A0BCC
|
||||
sub_80A0BCC: ; 80A0BCC
|
||||
sub_80A0BCC: @ 80A0BCC
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -324,7 +324,7 @@ sub_80A0BCC: ; 80A0BCC
|
||||
thumb_func_end sub_80A0BCC
|
||||
|
||||
thumb_func_start sub_80A0BF4
|
||||
sub_80A0BF4: ; 80A0BF4
|
||||
sub_80A0BF4: @ 80A0BF4
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -344,7 +344,7 @@ sub_80A0BF4: ; 80A0BF4
|
||||
thumb_func_end sub_80A0BF4
|
||||
|
||||
thumb_func_start sub_80A0C1C
|
||||
sub_80A0C1C: ; 80A0C1C
|
||||
sub_80A0C1C: @ 80A0C1C
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xE0
|
||||
@@ -364,7 +364,7 @@ sub_80A0C1C: ; 80A0C1C
|
||||
thumb_func_end sub_80A0C1C
|
||||
|
||||
thumb_func_start sub_80A0C44
|
||||
sub_80A0C44: ; 80A0C44
|
||||
sub_80A0C44: @ 80A0C44
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -383,7 +383,7 @@ sub_80A0C44: ; 80A0C44
|
||||
thumb_func_end sub_80A0C44
|
||||
|
||||
thumb_func_start TilesetCb_Petalburg
|
||||
TilesetCb_Petalburg: ; 80A0C6C
|
||||
TilesetCb_Petalburg: @ 80A0C6C
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -399,7 +399,7 @@ TilesetCb_Petalburg: ; 80A0C6C
|
||||
thumb_func_end TilesetCb_Petalburg
|
||||
|
||||
thumb_func_start TilesetCb_Rustboro
|
||||
TilesetCb_Rustboro: ; 80A0C94
|
||||
TilesetCb_Rustboro: @ 80A0C94
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -415,7 +415,7 @@ TilesetCb_Rustboro: ; 80A0C94
|
||||
thumb_func_end TilesetCb_Rustboro
|
||||
|
||||
thumb_func_start TilesetCb_Dewford
|
||||
TilesetCb_Dewford: ; 80A0CC0
|
||||
TilesetCb_Dewford: @ 80A0CC0
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -431,7 +431,7 @@ TilesetCb_Dewford: ; 80A0CC0
|
||||
thumb_func_end TilesetCb_Dewford
|
||||
|
||||
thumb_func_start TilesetCb_Slateport
|
||||
TilesetCb_Slateport: ; 80A0CEC
|
||||
TilesetCb_Slateport: @ 80A0CEC
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -447,7 +447,7 @@ TilesetCb_Slateport: ; 80A0CEC
|
||||
thumb_func_end TilesetCb_Slateport
|
||||
|
||||
thumb_func_start TilesetCb_Mauville
|
||||
TilesetCb_Mauville: ; 80A0D18
|
||||
TilesetCb_Mauville: @ 80A0D18
|
||||
ldr r1, =0x03000f3a
|
||||
ldr r0, =0x03000f36
|
||||
ldrh r0, [r0]
|
||||
@@ -464,7 +464,7 @@ TilesetCb_Mauville: ; 80A0D18
|
||||
thumb_func_end TilesetCb_Mauville
|
||||
|
||||
thumb_func_start TilesetCb_Lavaridge
|
||||
TilesetCb_Lavaridge: ; 80A0D48
|
||||
TilesetCb_Lavaridge: @ 80A0D48
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -480,7 +480,7 @@ TilesetCb_Lavaridge: ; 80A0D48
|
||||
thumb_func_end TilesetCb_Lavaridge
|
||||
|
||||
thumb_func_start TilesetCb_Fallarbor
|
||||
TilesetCb_Fallarbor: ; 80A0D74
|
||||
TilesetCb_Fallarbor: @ 80A0D74
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -496,7 +496,7 @@ TilesetCb_Fallarbor: ; 80A0D74
|
||||
thumb_func_end TilesetCb_Fallarbor
|
||||
|
||||
thumb_func_start TilesetCb_Fortree
|
||||
TilesetCb_Fortree: ; 80A0D9C
|
||||
TilesetCb_Fortree: @ 80A0D9C
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -512,7 +512,7 @@ TilesetCb_Fortree: ; 80A0D9C
|
||||
thumb_func_end TilesetCb_Fortree
|
||||
|
||||
thumb_func_start TilesetCb_Lilycove
|
||||
TilesetCb_Lilycove: ; 80A0DC4
|
||||
TilesetCb_Lilycove: @ 80A0DC4
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -528,7 +528,7 @@ TilesetCb_Lilycove: ; 80A0DC4
|
||||
thumb_func_end TilesetCb_Lilycove
|
||||
|
||||
thumb_func_start TilesetCb_Mossdeep
|
||||
TilesetCb_Mossdeep: ; 80A0DEC
|
||||
TilesetCb_Mossdeep: @ 80A0DEC
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -544,7 +544,7 @@ TilesetCb_Mossdeep: ; 80A0DEC
|
||||
thumb_func_end TilesetCb_Mossdeep
|
||||
|
||||
thumb_func_start TilesetCb_EverGrande
|
||||
TilesetCb_EverGrande: ; 80A0E14
|
||||
TilesetCb_EverGrande: @ 80A0E14
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -560,7 +560,7 @@ TilesetCb_EverGrande: ; 80A0E14
|
||||
thumb_func_end TilesetCb_EverGrande
|
||||
|
||||
thumb_func_start TilesetCb_Pacifidlog
|
||||
TilesetCb_Pacifidlog: ; 80A0E40
|
||||
TilesetCb_Pacifidlog: @ 80A0E40
|
||||
ldr r1, =0x03000f3a
|
||||
ldr r0, =0x03000f36
|
||||
ldrh r0, [r0]
|
||||
@@ -577,7 +577,7 @@ TilesetCb_Pacifidlog: ; 80A0E40
|
||||
thumb_func_end TilesetCb_Pacifidlog
|
||||
|
||||
thumb_func_start TilesetCb_Sootopolis
|
||||
TilesetCb_Sootopolis: ; 80A0E70
|
||||
TilesetCb_Sootopolis: @ 80A0E70
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -593,7 +593,7 @@ TilesetCb_Sootopolis: ; 80A0E70
|
||||
thumb_func_end TilesetCb_Sootopolis
|
||||
|
||||
thumb_func_start TilesetCb_BattleFrontierOutsideWest
|
||||
TilesetCb_BattleFrontierOutsideWest: ; 80A0E9C
|
||||
TilesetCb_BattleFrontierOutsideWest: @ 80A0E9C
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -609,7 +609,7 @@ TilesetCb_BattleFrontierOutsideWest: ; 80A0E9C
|
||||
thumb_func_end TilesetCb_BattleFrontierOutsideWest
|
||||
|
||||
thumb_func_start TilesetCb_BattleFrontierOutsideEast
|
||||
TilesetCb_BattleFrontierOutsideEast: ; 80A0EC8
|
||||
TilesetCb_BattleFrontierOutsideEast: @ 80A0EC8
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -625,7 +625,7 @@ TilesetCb_BattleFrontierOutsideEast: ; 80A0EC8
|
||||
thumb_func_end TilesetCb_BattleFrontierOutsideEast
|
||||
|
||||
thumb_func_start TilesetCb_Underwater
|
||||
TilesetCb_Underwater: ; 80A0EF4
|
||||
TilesetCb_Underwater: @ 80A0EF4
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -640,7 +640,7 @@ TilesetCb_Underwater: ; 80A0EF4
|
||||
thumb_func_end TilesetCb_Underwater
|
||||
|
||||
thumb_func_start TilesetCb_SootopolisGym
|
||||
TilesetCb_SootopolisGym: ; 80A0F18
|
||||
TilesetCb_SootopolisGym: @ 80A0F18
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -655,7 +655,7 @@ TilesetCb_SootopolisGym: ; 80A0F18
|
||||
thumb_func_end TilesetCb_SootopolisGym
|
||||
|
||||
thumb_func_start TilesetCb_Cave
|
||||
TilesetCb_Cave: ; 80A0F3C
|
||||
TilesetCb_Cave: @ 80A0F3C
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -671,7 +671,7 @@ TilesetCb_Cave: ; 80A0F3C
|
||||
thumb_func_end TilesetCb_Cave
|
||||
|
||||
thumb_func_start TilesetCb_EliteFour
|
||||
TilesetCb_EliteFour: ; 80A0F68
|
||||
TilesetCb_EliteFour: @ 80A0F68
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -686,7 +686,7 @@ TilesetCb_EliteFour: ; 80A0F68
|
||||
thumb_func_end TilesetCb_EliteFour
|
||||
|
||||
thumb_func_start TilesetCb_MauvilleGym
|
||||
TilesetCb_MauvilleGym: ; 80A0F8C
|
||||
TilesetCb_MauvilleGym: @ 80A0F8C
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -702,7 +702,7 @@ TilesetCb_MauvilleGym: ; 80A0F8C
|
||||
thumb_func_end TilesetCb_MauvilleGym
|
||||
|
||||
thumb_func_start TilesetCb_BikeShop
|
||||
TilesetCb_BikeShop: ; 80A0FB8
|
||||
TilesetCb_BikeShop: @ 80A0FB8
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -718,7 +718,7 @@ TilesetCb_BikeShop: ; 80A0FB8
|
||||
thumb_func_end TilesetCb_BikeShop
|
||||
|
||||
thumb_func_start TilesetCb_BattlePyramid
|
||||
TilesetCb_BattlePyramid: ; 80A0FE4
|
||||
TilesetCb_BattlePyramid: @ 80A0FE4
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -734,7 +734,7 @@ TilesetCb_BattlePyramid: ; 80A0FE4
|
||||
thumb_func_end TilesetCb_BattlePyramid
|
||||
|
||||
thumb_func_start TilesetCb_BattleDome
|
||||
TilesetCb_BattleDome: ; 80A1010
|
||||
TilesetCb_BattleDome: @ 80A1010
|
||||
ldr r1, =0x03000f3a
|
||||
movs r0, 0
|
||||
strh r0, [r1]
|
||||
@@ -750,7 +750,7 @@ TilesetCb_BattleDome: ; 80A1010
|
||||
thumb_func_end TilesetCb_BattleDome
|
||||
|
||||
thumb_func_start sub_80A103C
|
||||
sub_80A103C: ; 80A103C
|
||||
sub_80A103C: @ 80A103C
|
||||
push {r4-r6,lr}
|
||||
lsls r5, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -814,7 +814,7 @@ _080A10B0:
|
||||
thumb_func_end sub_80A103C
|
||||
|
||||
thumb_func_start sub_80A10B8
|
||||
sub_80A10B8: ; 80A10B8
|
||||
sub_80A10B8: @ 80A10B8
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -830,7 +830,7 @@ _080A10CC:
|
||||
thumb_func_end sub_80A10B8
|
||||
|
||||
thumb_func_start sub_80A10D0
|
||||
sub_80A10D0: ; 80A10D0
|
||||
sub_80A10D0: @ 80A10D0
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -846,7 +846,7 @@ _080A10E4:
|
||||
thumb_func_end sub_80A10D0
|
||||
|
||||
thumb_func_start sub_80A10E8
|
||||
sub_80A10E8: ; 80A10E8
|
||||
sub_80A10E8: @ 80A10E8
|
||||
push {r4,r5,lr}
|
||||
lsls r4, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -907,7 +907,7 @@ _080A1154:
|
||||
thumb_func_end sub_80A10E8
|
||||
|
||||
thumb_func_start sub_80A115C
|
||||
sub_80A115C: ; 80A115C
|
||||
sub_80A115C: @ 80A115C
|
||||
push {r4,r5,lr}
|
||||
lsls r4, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -932,7 +932,7 @@ _080A1180:
|
||||
thumb_func_end sub_80A115C
|
||||
|
||||
thumb_func_start sub_80A1188
|
||||
sub_80A1188: ; 80A1188
|
||||
sub_80A1188: @ 80A1188
|
||||
push {r4,r5,lr}
|
||||
lsls r4, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -993,7 +993,7 @@ _080A11F4:
|
||||
thumb_func_end sub_80A1188
|
||||
|
||||
thumb_func_start sub_80A11FC
|
||||
sub_80A11FC: ; 80A11FC
|
||||
sub_80A11FC: @ 80A11FC
|
||||
push {r4,r5,lr}
|
||||
lsls r4, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -1020,7 +1020,7 @@ _080A1224:
|
||||
thumb_func_end sub_80A11FC
|
||||
|
||||
thumb_func_start sub_80A122C
|
||||
sub_80A122C: ; 80A122C
|
||||
sub_80A122C: @ 80A122C
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -1036,7 +1036,7 @@ _080A1240:
|
||||
thumb_func_end sub_80A122C
|
||||
|
||||
thumb_func_start sub_80A1244
|
||||
sub_80A1244: ; 80A1244
|
||||
sub_80A1244: @ 80A1244
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -1054,7 +1054,7 @@ _080A125C:
|
||||
thumb_func_end sub_80A1244
|
||||
|
||||
thumb_func_start sub_80A1260
|
||||
sub_80A1260: ; 80A1260
|
||||
sub_80A1260: @ 80A1260
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xF0
|
||||
@@ -1071,7 +1071,7 @@ _080A1276:
|
||||
thumb_func_end sub_80A1260
|
||||
|
||||
thumb_func_start sub_80A127C
|
||||
sub_80A127C: ; 80A127C
|
||||
sub_80A127C: @ 80A127C
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -1087,7 +1087,7 @@ _080A1290:
|
||||
thumb_func_end sub_80A127C
|
||||
|
||||
thumb_func_start sub_80A1294
|
||||
sub_80A1294: ; 80A1294
|
||||
sub_80A1294: @ 80A1294
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -1103,7 +1103,7 @@ _080A12A8:
|
||||
thumb_func_end sub_80A1294
|
||||
|
||||
thumb_func_start sub_80A12AC
|
||||
sub_80A12AC: ; 80A12AC
|
||||
sub_80A12AC: @ 80A12AC
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1123,7 +1123,7 @@ sub_80A12AC: ; 80A12AC
|
||||
thumb_func_end sub_80A12AC
|
||||
|
||||
thumb_func_start sub_80A12D4
|
||||
sub_80A12D4: ; 80A12D4
|
||||
sub_80A12D4: @ 80A12D4
|
||||
push {r4,r5,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -1155,7 +1155,7 @@ sub_80A12D4: ; 80A12D4
|
||||
thumb_func_end sub_80A12D4
|
||||
|
||||
thumb_func_start sub_80A131C
|
||||
sub_80A131C: ; 80A131C
|
||||
sub_80A131C: @ 80A131C
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
movs r1, 0xC0
|
||||
@@ -1175,7 +1175,7 @@ sub_80A131C: ; 80A131C
|
||||
thumb_func_end sub_80A131C
|
||||
|
||||
thumb_func_start sub_80A1344
|
||||
sub_80A1344: ; 80A1344
|
||||
sub_80A1344: @ 80A1344
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
movs r1, 0xC0
|
||||
@@ -1194,7 +1194,7 @@ sub_80A1344: ; 80A1344
|
||||
thumb_func_end sub_80A1344
|
||||
|
||||
thumb_func_start sub_80A136C
|
||||
sub_80A136C: ; 80A136C
|
||||
sub_80A136C: @ 80A136C
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
movs r1, 0xE0
|
||||
@@ -1214,7 +1214,7 @@ sub_80A136C: ; 80A136C
|
||||
thumb_func_end sub_80A136C
|
||||
|
||||
thumb_func_start sub_80A1394
|
||||
sub_80A1394: ; 80A1394
|
||||
sub_80A1394: @ 80A1394
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 16
|
||||
lsrs r5, r0, 16
|
||||
@@ -1279,7 +1279,7 @@ _080A141C:
|
||||
thumb_func_end sub_80A1394
|
||||
|
||||
thumb_func_start sub_80A1434
|
||||
sub_80A1434: ; 80A1434
|
||||
sub_80A1434: @ 80A1434
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1310,7 +1310,7 @@ _080A1464:
|
||||
thumb_func_end sub_80A1434
|
||||
|
||||
thumb_func_start sub_80A1470
|
||||
sub_80A1470: ; 80A1470
|
||||
sub_80A1470: @ 80A1470
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1329,7 +1329,7 @@ sub_80A1470: ; 80A1470
|
||||
thumb_func_end sub_80A1470
|
||||
|
||||
thumb_func_start sub_80A1498
|
||||
sub_80A1498: ; 80A1498
|
||||
sub_80A1498: @ 80A1498
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1348,7 +1348,7 @@ sub_80A1498: ; 80A1498
|
||||
thumb_func_end sub_80A1498
|
||||
|
||||
thumb_func_start sub_80A14C0
|
||||
sub_80A14C0: ; 80A14C0
|
||||
sub_80A14C0: @ 80A14C0
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1375,7 +1375,7 @@ sub_80A14C0: ; 80A14C0
|
||||
thumb_func_end sub_80A14C0
|
||||
|
||||
thumb_func_start sub_80A14F8
|
||||
sub_80A14F8: ; 80A14F8
|
||||
sub_80A14F8: @ 80A14F8
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1394,7 +1394,7 @@ sub_80A14F8: ; 80A14F8
|
||||
thumb_func_end sub_80A14F8
|
||||
|
||||
thumb_func_start sub_80A1520
|
||||
sub_80A1520: ; 80A1520
|
||||
sub_80A1520: @ 80A1520
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1413,7 +1413,7 @@ sub_80A1520: ; 80A1520
|
||||
thumb_func_end sub_80A1520
|
||||
|
||||
thumb_func_start sub_80A1548
|
||||
sub_80A1548: ; 80A1548
|
||||
sub_80A1548: @ 80A1548
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1432,7 +1432,7 @@ sub_80A1548: ; 80A1548
|
||||
thumb_func_end sub_80A1548
|
||||
|
||||
thumb_func_start sub_80A1570
|
||||
sub_80A1570: ; 80A1570
|
||||
sub_80A1570: @ 80A1570
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1451,7 +1451,7 @@ sub_80A1570: ; 80A1570
|
||||
thumb_func_end sub_80A1570
|
||||
|
||||
thumb_func_start sub_80A1598
|
||||
sub_80A1598: ; 80A1598
|
||||
sub_80A1598: @ 80A1598
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1470,7 +1470,7 @@ sub_80A1598: ; 80A1598
|
||||
thumb_func_end sub_80A1598
|
||||
|
||||
thumb_func_start sub_80A15C0
|
||||
sub_80A15C0: ; 80A15C0
|
||||
sub_80A15C0: @ 80A15C0
|
||||
push {lr}
|
||||
lsls r2, r0, 16
|
||||
lsrs r0, r2, 16
|
||||
@@ -1486,7 +1486,7 @@ _080A15D4:
|
||||
thumb_func_end sub_80A15C0
|
||||
|
||||
thumb_func_start sub_80A15D8
|
||||
sub_80A15D8: ; 80A15D8
|
||||
sub_80A15D8: @ 80A15D8
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -1502,7 +1502,7 @@ _080A15EC:
|
||||
thumb_func_end sub_80A15D8
|
||||
|
||||
thumb_func_start sub_80A15F0
|
||||
sub_80A15F0: ; 80A15F0
|
||||
sub_80A15F0: @ 80A15F0
|
||||
push {r4,r5,lr}
|
||||
lsls r4, r0, 16
|
||||
lsrs r0, r4, 16
|
||||
@@ -1527,7 +1527,7 @@ _080A1614:
|
||||
thumb_func_end sub_80A15F0
|
||||
|
||||
thumb_func_start sub_80A161C
|
||||
sub_80A161C: ; 80A161C
|
||||
sub_80A161C: @ 80A161C
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xC0
|
||||
@@ -1543,7 +1543,7 @@ _080A1630:
|
||||
thumb_func_end sub_80A161C
|
||||
|
||||
thumb_func_start sub_80A1634
|
||||
sub_80A1634: ; 80A1634
|
||||
sub_80A1634: @ 80A1634
|
||||
push {r4,lr}
|
||||
lsls r4, r0, 16
|
||||
movs r0, 0xE0
|
||||
@@ -1563,7 +1563,7 @@ _080A1650:
|
||||
thumb_func_end sub_80A1634
|
||||
|
||||
thumb_func_start sub_80A1658
|
||||
sub_80A1658: ; 80A1658
|
||||
sub_80A1658: @ 80A1658
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xC0
|
||||
@@ -1579,7 +1579,7 @@ _080A166C:
|
||||
thumb_func_end sub_80A1658
|
||||
|
||||
thumb_func_start sub_80A1670
|
||||
sub_80A1670: ; 80A1670
|
||||
sub_80A1670: @ 80A1670
|
||||
push {lr}
|
||||
lsls r1, r0, 16
|
||||
movs r0, 0xC0
|
||||
@@ -1595,7 +1595,7 @@ _080A1684:
|
||||
thumb_func_end sub_80A1670
|
||||
|
||||
thumb_func_start sub_80A1688
|
||||
sub_80A1688: ; 80A1688
|
||||
sub_80A1688: @ 80A1688
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1614,7 +1614,7 @@ sub_80A1688: ; 80A1688
|
||||
thumb_func_end sub_80A1688
|
||||
|
||||
thumb_func_start sub_80A16B0
|
||||
sub_80A16B0: ; 80A16B0
|
||||
sub_80A16B0: @ 80A16B0
|
||||
push {r4,lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1644,7 +1644,7 @@ sub_80A16B0: ; 80A16B0
|
||||
thumb_func_end sub_80A16B0
|
||||
|
||||
thumb_func_start sub_80A16F8
|
||||
sub_80A16F8: ; 80A16F8
|
||||
sub_80A16F8: @ 80A16F8
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xC0
|
||||
@@ -1663,7 +1663,7 @@ sub_80A16F8: ; 80A16F8
|
||||
thumb_func_end sub_80A16F8
|
||||
|
||||
thumb_func_start sub_80A1720
|
||||
sub_80A1720: ; 80A1720
|
||||
sub_80A1720: @ 80A1720
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1682,7 +1682,7 @@ sub_80A1720: ; 80A1720
|
||||
thumb_func_end sub_80A1720
|
||||
|
||||
thumb_func_start sub_80A1748
|
||||
sub_80A1748: ; 80A1748
|
||||
sub_80A1748: @ 80A1748
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1702,7 +1702,7 @@ sub_80A1748: ; 80A1748
|
||||
thumb_func_end sub_80A1748
|
||||
|
||||
thumb_func_start sub_80A1770
|
||||
sub_80A1770: ; 80A1770
|
||||
sub_80A1770: @ 80A1770
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1722,7 +1722,7 @@ sub_80A1770: ; 80A1770
|
||||
thumb_func_end sub_80A1770
|
||||
|
||||
thumb_func_start sub_80A1798
|
||||
sub_80A1798: ; 80A1798
|
||||
sub_80A1798: @ 80A1798
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
movs r1, 0xE0
|
||||
@@ -1742,7 +1742,7 @@ sub_80A1798: ; 80A1798
|
||||
thumb_func_end sub_80A1798
|
||||
|
||||
thumb_func_start sub_80A17C0
|
||||
sub_80A17C0: ; 80A17C0
|
||||
sub_80A17C0: @ 80A17C0
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1763,7 +1763,7 @@ sub_80A17C0: ; 80A17C0
|
||||
thumb_func_end sub_80A17C0
|
||||
|
||||
thumb_func_start sub_80A17EC
|
||||
sub_80A17EC: ; 80A17EC
|
||||
sub_80A17EC: @ 80A17EC
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
lsrs r0, 16
|
||||
@@ -1784,7 +1784,7 @@ sub_80A17EC: ; 80A17EC
|
||||
thumb_func_end sub_80A17EC
|
||||
|
||||
thumb_func_start sub_80A1818
|
||||
sub_80A1818: ; 80A1818
|
||||
sub_80A1818: @ 80A1818
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, =gUnknown_0852487C
|
||||
@@ -1826,7 +1826,7 @@ _080A1862:
|
||||
thumb_func_end sub_80A1818
|
||||
|
||||
thumb_func_start sub_80A1884
|
||||
sub_80A1884: ; 80A1884
|
||||
sub_80A1884: @ 80A1884
|
||||
push {lr}
|
||||
lsls r0, 16
|
||||
ldr r2, =gUnknown_0852487C
|
||||
|
||||
+58
-58
@@ -1,11 +1,11 @@
|
||||
thumb_func_start nullsub_8
|
||||
nullsub_8: ; 80031BC
|
||||
nullsub_8: @ 80031BC
|
||||
bx lr
|
||||
thumb_func_end nullsub_8
|
||||
|
||||
thumb_func_start InitWindows
|
||||
; bool16 InitWindows(struct WindowTemplate *templates)
|
||||
InitWindows: ; 80031C0
|
||||
@ bool16 InitWindows(struct WindowTemplate *templates)
|
||||
InitWindows: @ 80031C0
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -216,8 +216,8 @@ _08003364:
|
||||
thumb_func_end InitWindows
|
||||
|
||||
thumb_func_start AddWindow
|
||||
; u8 AddWindow(struct WindowTemplate *template)
|
||||
AddWindow: ; 8003380
|
||||
@ u8 AddWindow(struct WindowTemplate *template)
|
||||
AddWindow: @ 8003380
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -382,8 +382,8 @@ _080034C0:
|
||||
thumb_func_end AddWindow
|
||||
|
||||
thumb_func_start AddWindowWithoutTileMap
|
||||
; int AddWindowWithoutTileMap(struct WindowTemplate *template)
|
||||
AddWindowWithoutTileMap: ; 80034D8
|
||||
@ int AddWindowWithoutTileMap(struct WindowTemplate *template)
|
||||
AddWindowWithoutTileMap: @ 80034D8
|
||||
push {r4-r6,lr}
|
||||
adds r5, r0, 0
|
||||
movs r4, 0
|
||||
@@ -462,8 +462,8 @@ _08003564:
|
||||
thumb_func_end AddWindowWithoutTileMap
|
||||
|
||||
thumb_func_start RemoveWindow
|
||||
; void RemoveWindow(u8 windowId)
|
||||
RemoveWindow: ; 8003574
|
||||
@ void RemoveWindow(u8 windowId)
|
||||
RemoveWindow: @ 8003574
|
||||
push {r4-r7,lr}
|
||||
lsls r0, 24
|
||||
lsrs r6, r0, 24
|
||||
@@ -528,8 +528,8 @@ _080035E8:
|
||||
thumb_func_end RemoveWindow
|
||||
|
||||
thumb_func_start FreeAllWindowBuffers
|
||||
; void FreeAllWindowBuffers()
|
||||
FreeAllWindowBuffers: ; 8003604
|
||||
@ void FreeAllWindowBuffers()
|
||||
FreeAllWindowBuffers: @ 8003604
|
||||
push {r4-r6,lr}
|
||||
ldr r4, =0x03002f70
|
||||
movs r5, 0x3
|
||||
@@ -572,8 +572,8 @@ _0800363E:
|
||||
thumb_func_end FreeAllWindowBuffers
|
||||
|
||||
thumb_func_start CopyWindowToVram
|
||||
; void CopyWindowToVram(u8 windowId, u8 mode)
|
||||
CopyWindowToVram: ; 8003658
|
||||
@ void CopyWindowToVram(u8 windowId, u8 mode)
|
||||
CopyWindowToVram: @ 8003658
|
||||
push {r4-r6,lr}
|
||||
sub sp, 0xC
|
||||
lsls r0, 24
|
||||
@@ -640,8 +640,8 @@ _080036CE:
|
||||
thumb_func_end CopyWindowToVram
|
||||
|
||||
thumb_func_start CopyWindowRectToVram
|
||||
; void CopyWindowRectToVram(int rbox_id, int mode, int x, int y, int w, int h)
|
||||
CopyWindowRectToVram: ; 80036D8
|
||||
@ void CopyWindowRectToVram(int rbox_id, int mode, int x, int y, int w, int h)
|
||||
CopyWindowRectToVram: @ 80036D8
|
||||
push {r4-r7,lr}
|
||||
sub sp, 0xC
|
||||
adds r6, r0, 0
|
||||
@@ -734,8 +734,8 @@ _08003782:
|
||||
thumb_func_end CopyWindowRectToVram
|
||||
|
||||
thumb_func_start PutWindowTilemap
|
||||
; void PutWindowTilemap(u8 windowId)
|
||||
PutWindowTilemap: ; 800378C
|
||||
@ void PutWindowTilemap(u8 windowId)
|
||||
PutWindowTilemap: @ 800378C
|
||||
push {r4,lr}
|
||||
sub sp, 0x1C
|
||||
lsls r0, 24
|
||||
@@ -784,8 +784,8 @@ PutWindowTilemap: ; 800378C
|
||||
thumb_func_end PutWindowTilemap
|
||||
|
||||
thumb_func_start PutWindowRectTilemapOverridePalette
|
||||
; void PutWindowRectTilemapOverridePalette(u8 windowId, u8 x, u8 y, u8 width, u8 height, u8 palette)
|
||||
PutWindowRectTilemapOverridePalette: ; 80037EC
|
||||
@ void PutWindowRectTilemapOverridePalette(u8 windowId, u8 x, u8 y, u8 width, u8 height, u8 palette)
|
||||
PutWindowRectTilemapOverridePalette: @ 80037EC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -879,8 +879,8 @@ _0800388E:
|
||||
thumb_func_end PutWindowRectTilemapOverridePalette
|
||||
|
||||
thumb_func_start ClearWindowTilemap
|
||||
; void ClearWindowTilemap(u8 windowId)
|
||||
ClearWindowTilemap: ; 80038A4
|
||||
@ void ClearWindowTilemap(u8 windowId)
|
||||
ClearWindowTilemap: @ 80038A4
|
||||
push {r4,lr}
|
||||
sub sp, 0x18
|
||||
lsls r0, 24
|
||||
@@ -919,8 +919,8 @@ ClearWindowTilemap: ; 80038A4
|
||||
thumb_func_end ClearWindowTilemap
|
||||
|
||||
thumb_func_start PutWindowRectTilemap
|
||||
; void PutWindowRectTilemap(u8 windowId, u8 x, u8 y, u8 width, u8 height)
|
||||
PutWindowRectTilemap: ; 80038F4
|
||||
@ void PutWindowRectTilemap(u8 windowId, u8 x, u8 y, u8 width, u8 height)
|
||||
PutWindowRectTilemap: @ 80038F4
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1010,8 +1010,8 @@ _0800398E:
|
||||
thumb_func_end PutWindowRectTilemap
|
||||
|
||||
thumb_func_start BlitBitmapToWindow
|
||||
; void BlitBitmapToWindow(u8 windowId, u8 *pixels, u16 x, u16 y, u16 width, u16 height)
|
||||
BlitBitmapToWindow: ; 80039A4
|
||||
@ void BlitBitmapToWindow(u8 windowId, u8 *pixels, u16 x, u16 y, u16 width, u16 height)
|
||||
BlitBitmapToWindow: @ 80039A4
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x18
|
||||
ldr r4, [sp, 0x24]
|
||||
@@ -1042,8 +1042,8 @@ BlitBitmapToWindow: ; 80039A4
|
||||
thumb_func_end BlitBitmapToWindow
|
||||
|
||||
thumb_func_start BlitBitmapRectToWindow
|
||||
; void BlitBitmapRectToWindow(u8 windowId, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight)
|
||||
BlitBitmapRectToWindow: ; 80039DC
|
||||
@ void BlitBitmapRectToWindow(u8 windowId, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight)
|
||||
BlitBitmapRectToWindow: @ 80039DC
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1136,8 +1136,8 @@ BlitBitmapRectToWindow: ; 80039DC
|
||||
thumb_func_end BlitBitmapRectToWindow
|
||||
|
||||
thumb_func_start BlitBitmapRectToWindowWithColorKey
|
||||
; void BlitBitmapRectToWindowWithColorKey(u8 rbox_id, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 colorKey)
|
||||
BlitBitmapRectToWindowWithColorKey: ; 8003A9C
|
||||
@ void BlitBitmapRectToWindowWithColorKey(u8 rbox_id, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 colorKey)
|
||||
BlitBitmapRectToWindowWithColorKey: @ 8003A9C
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1234,8 +1234,8 @@ BlitBitmapRectToWindowWithColorKey: ; 8003A9C
|
||||
thumb_func_end BlitBitmapRectToWindowWithColorKey
|
||||
|
||||
thumb_func_start FillWindowPixelRect
|
||||
; void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height)
|
||||
FillWindowPixelRect: ; 8003B64
|
||||
@ void FillWindowPixelRect(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height)
|
||||
FillWindowPixelRect: @ 8003B64
|
||||
push {r4-r6,lr}
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
@@ -1302,8 +1302,8 @@ FillWindowPixelRect: ; 8003B64
|
||||
thumb_func_end FillWindowPixelRect
|
||||
|
||||
thumb_func_start CopyToWindowPixelBuffer
|
||||
; void CopyToWindowPixelBuffer(u8 windowId, u8 *src, u32 size, u16 tileOffset)
|
||||
CopyToWindowPixelBuffer: ; 8003BF0
|
||||
@ void CopyToWindowPixelBuffer(u8 windowId, u8 *src, u32 size, u16 tileOffset)
|
||||
CopyToWindowPixelBuffer: @ 8003BF0
|
||||
push {r4-r6,lr}
|
||||
adds r6, r1, 0
|
||||
lsls r0, 24
|
||||
@@ -1347,8 +1347,8 @@ _08003C3C:
|
||||
thumb_func_end CopyToWindowPixelBuffer
|
||||
|
||||
thumb_func_start FillWindowPixelBuffer
|
||||
; void FillWindowPixelBuffer(u8 windowId, u32 fillValue)
|
||||
FillWindowPixelBuffer: ; 8003C48
|
||||
@ void FillWindowPixelBuffer(u8 windowId, u32 fillValue)
|
||||
FillWindowPixelBuffer: @ 8003C48
|
||||
push {r4,r5,lr}
|
||||
sub sp, 0x4
|
||||
lsls r0, 24
|
||||
@@ -1387,8 +1387,8 @@ FillWindowPixelBuffer: ; 8003C48
|
||||
thumb_func_end FillWindowPixelBuffer
|
||||
|
||||
thumb_func_start ScrollWindow
|
||||
; void ScrollWindow(u8 windowId, u8 direction, u8 distance, u8 fillValue)
|
||||
ScrollWindow: ; 8003C94
|
||||
@ void ScrollWindow(u8 windowId, u8 direction, u8 distance, u8 fillValue)
|
||||
ScrollWindow: @ 8003C94
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -1913,8 +1913,8 @@ _08004046:
|
||||
thumb_func_end ScrollWindow
|
||||
|
||||
thumb_func_start CallWindowFunction
|
||||
; void CallWindowFunction(u8 windowId, void ( *func)(u8, u8, u8, u8, u8, u8))
|
||||
CallWindowFunction: ; 8004058
|
||||
@ void CallWindowFunction(u8 windowId, void ( *func)(u8, u8, u8, u8, u8, u8))
|
||||
CallWindowFunction: @ 8004058
|
||||
push {r4-r6,lr}
|
||||
mov r6, r8
|
||||
push {r6}
|
||||
@@ -1955,8 +1955,8 @@ CallWindowFunction: ; 8004058
|
||||
thumb_func_end CallWindowFunction
|
||||
|
||||
thumb_func_start SetWindowAttribute
|
||||
; bool8 SetWindowAttribute(u8 windowId, u8 attributeId, u32 value)
|
||||
SetWindowAttribute: ; 80040A8
|
||||
@ bool8 SetWindowAttribute(u8 windowId, u8 attributeId, u32 value)
|
||||
SetWindowAttribute: @ 80040A8
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r3, r0, 24
|
||||
@@ -2037,8 +2037,8 @@ _08004144:
|
||||
thumb_func_end SetWindowAttribute
|
||||
|
||||
thumb_func_start GetWindowAttribute
|
||||
; u32 GetWindowAttribute(u8 windowId, u8 attributeId)
|
||||
GetWindowAttribute: ; 800414C
|
||||
@ u32 GetWindowAttribute(u8 windowId, u8 attributeId)
|
||||
GetWindowAttribute: @ 800414C
|
||||
push {lr}
|
||||
lsls r0, 24
|
||||
lsrs r2, r0, 24
|
||||
@@ -2143,8 +2143,8 @@ _0800422A:
|
||||
thumb_func_end GetWindowAttribute
|
||||
|
||||
thumb_func_start GetNumActiveWindowsOnBg
|
||||
; u8 GetNumActiveWindowsOnBg(u8 bgId)
|
||||
GetNumActiveWindowsOnBg: ; 8004230
|
||||
@ u8 GetNumActiveWindowsOnBg(u8 bgId)
|
||||
GetNumActiveWindowsOnBg: @ 8004230
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
@@ -2171,13 +2171,13 @@ _08004248:
|
||||
thumb_func_end GetNumActiveWindowsOnBg
|
||||
|
||||
thumb_func_start nullsub_9
|
||||
nullsub_9: ; 800425C
|
||||
nullsub_9: @ 800425C
|
||||
bx lr
|
||||
thumb_func_end nullsub_9
|
||||
|
||||
thumb_func_start AddWindow8Bit
|
||||
; u16 AddWindow8Bit(struct WindowTemplate *template)
|
||||
AddWindow8Bit: ; 8004260
|
||||
@ u16 AddWindow8Bit(struct WindowTemplate *template)
|
||||
AddWindow8Bit: @ 8004260
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2306,8 +2306,8 @@ _08004356:
|
||||
thumb_func_end AddWindow8Bit
|
||||
|
||||
thumb_func_start FillWindowPixelBuffer8Bit
|
||||
; void FillWindowPixelBuffer8Bit(u8 windowId, u8 fillValue)
|
||||
FillWindowPixelBuffer8Bit: ; 8004368
|
||||
@ void FillWindowPixelBuffer8Bit(u8 windowId, u8 fillValue)
|
||||
FillWindowPixelBuffer8Bit: @ 8004368
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2344,8 +2344,8 @@ _0800439E:
|
||||
thumb_func_end FillWindowPixelBuffer8Bit
|
||||
|
||||
thumb_func_start FillWindowPixelRect8Bit
|
||||
; void FillWindowPixelRect8Bit(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height)
|
||||
FillWindowPixelRect8Bit: ; 80043A8
|
||||
@ void FillWindowPixelRect8Bit(u8 windowId, u8 fillValue, u16 x, u16 y, u16 width, u16 height)
|
||||
FillWindowPixelRect8Bit: @ 80043A8
|
||||
push {r4-r6,lr}
|
||||
mov r6, r9
|
||||
mov r5, r8
|
||||
@@ -2412,8 +2412,8 @@ FillWindowPixelRect8Bit: ; 80043A8
|
||||
thumb_func_end FillWindowPixelRect8Bit
|
||||
|
||||
thumb_func_start BlitBitmapRectToWindow4BitTo8Bit
|
||||
; void BlitBitmapRectToWindow4BitTo8Bit(u8 rbox_id, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteOffset)
|
||||
BlitBitmapRectToWindow4BitTo8Bit: ; 8004434
|
||||
@ void BlitBitmapRectToWindow4BitTo8Bit(u8 rbox_id, u8 *pixels, u16 srcX, u16 srcY, u16 srcWidth, int srcHeight, u16 destX, u16 destY, u16 rectWidth, u16 rectHeight, u8 paletteOffset)
|
||||
BlitBitmapRectToWindow4BitTo8Bit: @ 8004434
|
||||
push {r4-r7,lr}
|
||||
mov r7, r10
|
||||
mov r6, r9
|
||||
@@ -2512,8 +2512,8 @@ BlitBitmapRectToWindow4BitTo8Bit: ; 8004434
|
||||
thumb_func_end BlitBitmapRectToWindow4BitTo8Bit
|
||||
|
||||
thumb_func_start CopyWindowToVram8Bit
|
||||
; void CopyWindowToVram8Bit(u8 windowId, u8 mode)
|
||||
CopyWindowToVram8Bit: ; 8004500
|
||||
@ void CopyWindowToVram8Bit(u8 windowId, u8 mode)
|
||||
CopyWindowToVram8Bit: @ 8004500
|
||||
push {r4-r6,lr}
|
||||
lsls r0, 24
|
||||
lsrs r0, 24
|
||||
@@ -2572,8 +2572,8 @@ _08004570:
|
||||
thumb_func_end CopyWindowToVram8Bit
|
||||
|
||||
thumb_func_start GetNumActiveWindowsOnBg8Bit
|
||||
; int GetNumActiveWindowsOnBg8Bit(int bg_id)
|
||||
GetNumActiveWindowsOnBg8Bit: ; 8004578
|
||||
@ int GetNumActiveWindowsOnBg8Bit(int bg_id)
|
||||
GetNumActiveWindowsOnBg8Bit: @ 8004578
|
||||
push {r4,lr}
|
||||
lsls r0, 24
|
||||
lsrs r4, r0, 24
|
||||
|
||||
Reference in New Issue
Block a user