mirror of
https://github.com/wiiu-env/haxchi.git
synced 2024-11-16 13:19:16 +01:00
20 lines
780 B
ArmAsm
20 lines
780 B
ArmAsm
|
|
||
|
; constants for position calcs
|
||
|
COREINIT_OFFSET equ (- 0xFE3C00)
|
||
|
|
||
|
; coreinit gadgets
|
||
|
MTCTR_R30_MR_R8R21_R7R29_R6R28_R5R27_R4R25_R3R24_BCTRL equ (COREINIT_OFFSET + 0x02002968)
|
||
|
|
||
|
; coreinit functions
|
||
|
OS_CREATETHREAD equ (0x02025764 + COREINIT_OFFSET)
|
||
|
OS_GETTHREADAFFINITY equ (0x020266A4 + COREINIT_OFFSET)
|
||
|
OS_FORCEFULLRELAUNCH equ (0x02019BA8 + COREINIT_OFFSET)
|
||
|
OSCODEGEN_GETVARANGE equ (0x0201B1C0 + COREINIT_OFFSET)
|
||
|
OSCODEGEN_SWITCHSECMODE equ (0x0201B2C0 + COREINIT_OFFSET)
|
||
|
MEMCPY equ (0x02019BC8 + COREINIT_OFFSET)
|
||
|
DC_FLUSHRANGE equ (0x02007B88 + COREINIT_OFFSET)
|
||
|
IC_INVALIDATERANGE equ (0x02007CB0 + COREINIT_OFFSET)
|
||
|
OSSAVESDONE_READYTORELEASE equ (0x0201D5B8 + COREINIT_OFFSET)
|
||
|
OSRELEASEFOREGROUND equ (0x0201D5BC + COREINIT_OFFSET)
|
||
|
OSFATAL equ (0x02015218 + COREINIT_OFFSET)
|