1
0
mirror of synced 2024-11-30 18:24:35 +01:00

Reorder version

This commit is contained in:
esuo1198 2024-03-24 01:59:36 +09:00
parent 55eb7d8533
commit f2e789058b
2 changed files with 13 additions and 13 deletions

View File

@ -67,8 +67,8 @@ library(
'src/poll.cpp',
'src/bnusio.cpp',
'src/patches/jp_nov_2020.cpp',
'src/patches/cn_jun_2023.cpp',
'src/patches/jp_apr_2023.cpp',
'src/patches/cn_jun_2023.cpp',
'src/patches/amauth.cpp',
'src/patches/qr.cpp',
],

View File

@ -203,18 +203,6 @@ Init () {
INSTALL_HOOK_DYNAMIC (copy_data, (LPVOID)(amHandle + 0x1C2A0));
break;
}
case GameVersion::CN_JUN_2023: {
INSTALL_HOOK_DYNAMIC (qrInit, (LPVOID)(amHandle + 0x161B0));
INSTALL_HOOK_DYNAMIC (qrRead, (LPVOID)(amHandle + 0x163A0));
INSTALL_HOOK_DYNAMIC (qrClose, (LPVOID)(amHandle + 0x16350));
INSTALL_HOOK_DYNAMIC (callQrUnknown, (LPVOID)(amHandle + 0x8F60));
INSTALL_HOOK_DYNAMIC (Send1, (LPVOID)(amHandle + 0x16A30));
INSTALL_HOOK_DYNAMIC (Send2, (LPVOID)(amHandle + 0x16A00));
INSTALL_HOOK_DYNAMIC (Send3, (LPVOID)(amHandle + 0x16990));
INSTALL_HOOK_DYNAMIC (Send4, (LPVOID)(amHandle + 0x16940));
INSTALL_HOOK_DYNAMIC (copy_data, (LPVOID)(amHandle + 0x169D0));
break;
}
case GameVersion::JP_APR_2023: {
INSTALL_HOOK_DYNAMIC (qrInit, (LPVOID)(amHandle + 0x1EDC0));
INSTALL_HOOK_DYNAMIC (qrRead, (LPVOID)(amHandle + 0x1EFB0));
@ -227,6 +215,18 @@ Init () {
INSTALL_HOOK_DYNAMIC (copy_data, (LPVOID)(amHandle + 0x1F630));
break;
}
case GameVersion::CN_JUN_2023: {
INSTALL_HOOK_DYNAMIC (qrInit, (LPVOID)(amHandle + 0x161B0));
INSTALL_HOOK_DYNAMIC (qrRead, (LPVOID)(amHandle + 0x163A0));
INSTALL_HOOK_DYNAMIC (qrClose, (LPVOID)(amHandle + 0x16350));
INSTALL_HOOK_DYNAMIC (callQrUnknown, (LPVOID)(amHandle + 0x8F60));
INSTALL_HOOK_DYNAMIC (Send1, (LPVOID)(amHandle + 0x16A30));
INSTALL_HOOK_DYNAMIC (Send2, (LPVOID)(amHandle + 0x16A00));
INSTALL_HOOK_DYNAMIC (Send3, (LPVOID)(amHandle + 0x16990));
INSTALL_HOOK_DYNAMIC (Send4, (LPVOID)(amHandle + 0x16940));
INSTALL_HOOK_DYNAMIC (copy_data, (LPVOID)(amHandle + 0x169D0));
break;
}
default: {
break;
}