just_dance: Add JD2019
This commit is contained in:
parent
f177e210df
commit
a555cfb03c
1 changed files with 11 additions and 0 deletions
|
|
@ -42,5 +42,16 @@ void Patch_just_dance(uint32_t titleVer, uint64_t titleId, const rplinfo& rpls)
|
|||
// OpenSSL X509_verify_cert (just in case lol)
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x02537ca0), 0x9421ffb8, 0x38600001);
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x02537ca4), 0xbe21000c, 0x4e800020);
|
||||
} else if (titleId == 0x00050000'10217000 && titleVer == 64) {
|
||||
auto rpx = FindRPL(rpls, "wiiu_ua_engine_f.rpx");
|
||||
if (!rpx) return;
|
||||
|
||||
DEBUG_FUNCTION_LINE("Detected JD2019 EUR v%d - patching...", titleVer);
|
||||
// OpenSSL ssl_verify_cert_chain
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x02720acc), 0x40820024, 0x60000000);
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x02720ae8), 0x38600000, 0x38600001);
|
||||
// OpenSSL X509_verify_cert (just in case lol)
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x027003a4), 0x9421ffb8, 0x38600001);
|
||||
PatchInstruction((void*)(rpx->textAddr + 0x027003a8), 0xbe21000c, 0x4e800020);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue