MochaLite/ios_kernel/source/ios_mcp_patches_asm.s
dimok789 43f1af08a3 wip commit of the FAT32 nativ USB support
NOTE:
This is a work in progress commit. It includes debug and test functions and some features that existed before might not even work. It is not finished and not very well tested. So it's warning to NOT use this for everyday playing! This is target for developers to look some stuff up that I was working on. See also my post on gbatemp for more information.
2017-02-07 18:15:16 +01:00

47 lines
1.4 KiB
ArmAsm

.arm
#patch_os_launch_sig_check:
# .thumb
# mov r0, #0
# mov r0, #0
patch_wfs_partition_check:
.thumb
mov r0, #0
mov r0, #0
patch_MCP_authentication_check:
.thumb
mov r0, #0
bx lr
patch_IOSC_VerifyPubkeySign:
patch_cert_verification:
patch_cached_cert_check:
patch_bootMovie_check:
patch_bootLogoTex_check:
patch_region_launch_check:
.arm
mov r0, #0
bx lr
.globl mcp_patches_table, mcp_patches_table_end
mcp_patches_table:
# origin data size
# .word 0x0500A818, patch_os_launch_sig_check, 4
.word 0x05014CAC, patch_MCP_authentication_check, 4
.word 0x05052C44, patch_IOSC_VerifyPubkeySign, 8
.word 0x05052A90, patch_cert_verification, 8
.word 0x05054D6C, patch_cached_cert_check, 8
.word 0x0502ADF6, patch_wfs_partition_check, 4
# .word 0x05014AD8, patch_wfs_partition_check, 4
# over an hour, MCP crash prevention
.word 0x05022474, 0xFFFFFFFF, 4
# MCP patches end here actually but lets tread the ACP patches as MCP as there are only patches
.word 0xE0030D68, patch_bootMovie_check, 4
.word 0xE0030D34, patch_bootLogoTex_check, 4
.word 0xE0030498, patch_region_launch_check, 4
mcp_patches_table_end: