HEAP_STAHED_DEST = 0x090c2a54 #destination of the STAHED chunk copied on the heap
PARSE_LETTER_STACK_RETURN_OFFSET = 0x7a7c #location of parse_decompressed_letter args on the stack, used to return when the rop file is not found
LOADER_OFFSET = 0x77d8
#R11_THREAD_BASE_ADDRESS_OFFSET = 0x7a08
STAGE0_DEST = 0xE00B000
STAGE1_DEST = 0xE01D000

#MAGICVAL = 0xE5D42000

MSG_TABLE = 0x087439A8

SUB_SPSP_21C_LDR_R1R0_LDR_R1R1_14_BLX_R1 = 0x002178d4
ADD_SPSP_30_POP_R4PC = 0x00321810

PIVOT_4 = 0x14D180
PIVOT_3 = 0x18DB10
PIVOT_2 = SUB_SPSP_21C_LDR_R1R0_LDR_R1R1_14_BLX_R1
PIVOT_1 = 0x18CB08
MEMCPY = 0x28DCBC
ISEQUAL = 0x137D40
PARSE_RETURN = 0x0021da5c

POP_R0PC = 0x001457c0
POP_R1PC = 0x0028df80
POP_R3PC = 0x00110694
POP_R4R5PC = 0x00106ec4
POP_R4_BX_LR = 0x00114070
POP_R4LR_BX_R1 = 0x00113568
POP_R2R3R4R5R6PC = 0x002751e4
POP_R4R5R6R7R8R9R10R11PC = 0x001598b0
POP_R4R5R6R7R8R9R10R11R12PC = 0x002e393c
POP_R4R5R6R7R8R9PC = 0x003423e8
POP_R4R5R6PC = 0x00103eec
POP_R4PC = 0x00103f40

LDR_R0R0_POP_R4PC = 0x00142dec
STR_R0R1_POP_R4PC = 0x0011dea4
STR_R1R0_POP_R4PC = 0x00112ca4

MOV_R1R0_POP_R4R5PC = 0x0032440c
MOV_R0R11_BLX_R1 = 0x002bcce0
MOV_R0R9_BLX_R1 = 0x00217360
ADD_R0R0R4_POP_R4PC = 0x0010f028

MOVEQ_R0R1_BX_LR = 0x0014be8c
CMP_R0_0_MOVNE_R0_1_POP_R4PC = 0x00123d70
STREQ_R1R0_BX_LR = 0x0031e2d0

FS_MOUNTSDMC = 0x002ad854
FS_TRYGETSIZE = 0x002814bc
FS_TRYOPENFILE = 0x00281514
FS_TRYREADFILE = 0x002772bc
FS_CLOSEFILE= 0x0028141C

GSPGPU_FLUSHDATACACHE_WRAPPER = 0x00141F0C
GSPGPU_GXTRYENQUEUE_WRAPPER = 0x00141DBC
GSPGPU_GXTRYENQUEUE = 0x002739B0
GSPGPU_FLUSHDATACACHE = 0x00143E50
GSPGPU_GXCMD4 = 0x0014200C

DSP_UNLOADCOMPONENT = 0x00277180
DSP_REGISTERINTERRUPTEVENTS = 0x00143884

SVC_EXIT_THREAD = 0x00137758
SVC_SLEEPTHREAD = 0x0027729C
SVC_CREATE_THREAD = 0x0011BDC0
SVC_CREATE_EVENT = 0x0012BC78
SVC_WAIT_SYNC_1 = 0x0028650C
SVC_SIGNAL_EVENT = 0x00122918
SVC_CLOSE_HANDLE = 0x002B1700
SVC_CREATE_ADDRESS_ARBITER = 0x00110780
SVC_ARBITRATE_ADDRESS = 0x002772B0

NOP = 0x00114dfc

DSP_HANDLE = 0x0040B8D0
GSPGPU_HANDLE = 0x004102BC
FSUSER_HANDLE = 0x0040B930

GSPGPU_INTERRUPT_RECEIVER_STRUCT = 0x003F5C40

MAIN_THREAD_LOOP_BREAK = 0x41FD08 + 0x2F4
MAIN_THREAD_JUMP_PTR = 0x6F6DA4
