<?xml version="1.0" encoding="utf-8" ?>
<EternityPatchFile name="UnlockStages" comment="This file enables the unlock of stages without modifying save data or any other files.">

	<Patch name="UnlockStagesAll" type="write" search_start="0x4DD26A" enabled="unlock_stage_all" comment="Signature is 1.07" >
		<Instruction code="E8 XXXXXXXX" comment="call check_unlock" />
		<Instruction code="44 8B C0" comment="mov r8d, eax" />
		<Instruction code="8B D6" comment="mov edx, esi" />
		<Instruction code="48 8B CF" comment="mov rcx, rdi" />
		<Instruction code="E8 XXXXXXXX" comment="call send_method2" />
		<Instruction code="48 8B 4C 24 60" comment="mov rcx, [rsp+60h]" />
		<Instruction code="E8 XXXXXXXX" comment="call dummy_returns_rcx" />
		<Instruction code="48 8B C8" comment="mov rcx, rax" />
		<Instruction code="41 8B D7" comment="mov edx, r15d" />
		<Instruction code="E8 XXXXXXXX" comment="call XXXXXXXX" />
		<Instruction code="8D 56 44" comment="lea edx, [rsi+44h]" />
		<Instruction code="44 8B C0" comment="mov r8d, eax" />
		<Instruction code="48 8B CF" comment = "mov rcx, rdi" />
		<Instruction code="E8 XXXXXXXX" comment="call XXXXXXXX" />
		<Instruction code="45 8B CF" comment="mov r9d, r15d" />
					
		<Write value="B8 01 00 00 00" comment="mov eax, 1" />
	</Patch>

</EternityPatchFile>