mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-19 23:34:51 -05:00
36 lines
659 B
ArmAsm
36 lines
659 B
ArmAsm
/* secure.s TODO: Disassemble */
|
|
.include "asm/macros.inc"
|
|
|
|
.section .text
|
|
|
|
.incbin "baserom.nds", 0x4000, 0xC8
|
|
non_word_aligned_thumb_func_start SVC_GetCRC16
|
|
SVC_GetCRC16: ; 0x020000C8
|
|
swi 14
|
|
bx lr
|
|
thumb_func_end SVC_GetCRC16
|
|
|
|
.incbin "baserom.nds", 0x40CC, 0xD2
|
|
|
|
non_word_aligned_thumb_func_start SVC_Sqrt
|
|
SVC_Sqrt: ; 0x0200019E
|
|
swi 13
|
|
bx lr
|
|
thumb_func_end SVC_Sqrt
|
|
|
|
.incbin "baserom.nds", 0x41A2, 0x15C
|
|
|
|
non_word_aligned_thumb_func_start SVC_CpuSet
|
|
SVC_CpuSet: ; 0x020002FE
|
|
swi 11
|
|
bx lr
|
|
|
|
.incbin "baserom.nds", 0x4302, 0x2F0
|
|
|
|
non_word_aligned_thumb_func_start SVC_WaitByLoop
|
|
SVC_WaitByLoop:
|
|
swi 3
|
|
bx lr
|
|
|
|
.incbin "baserom.nds", 0x45F6, 0x20A
|