- APM3: Add Pengo 1.2
- APM3: Add Pengo 1.2
This commit is contained in:
parent
6ea5f813c8
commit
0f2f37be9a
@ -991,6 +991,24 @@ static InitFunction initFuncPengoe511([]()
|
||||
|
||||
}, GameID::Pengoe511);
|
||||
|
||||
static InitFunction initFuncPengoe512([]()
|
||||
{
|
||||
HookAPM3(L"SDFH");
|
||||
|
||||
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
|
||||
|
||||
// 55 8B EC 8A 45 08 88 41 15 -> 0x140060
|
||||
#ifdef _DEBUG
|
||||
safeJMP(hook::get_pattern("88 51 21 44 88 41 22 C3"), setOption_x64);
|
||||
#endif
|
||||
// Skip joysticks
|
||||
injector::MakeRET(mainModuleBase + 0x16DFF0); // Pattern changed, too lazy to check.
|
||||
|
||||
// Skip keyboard
|
||||
injector::MakeRET(mainModuleBase + 0x16E5D0); // 48 89 5C 24 08 48 89 6C 24 10 48 89 74 24 18 57 41 54 41 55 41 56 41 57 48 81 EC A0 00 00 00
|
||||
|
||||
}, GameID::Pengoe512);
|
||||
|
||||
static InitFunction initPengoe5TestFunc([]()
|
||||
{
|
||||
HookAPM3(L"SDFH");
|
||||
|
@ -706,6 +706,9 @@ void GameDetect::DetectCurrentGame()
|
||||
case 0x3f67d5b2:
|
||||
SetGameId(GameID::Pengoe511, "Pengoe511");
|
||||
break;
|
||||
case 0x4d5a6510:
|
||||
SetGameId(GameID::Pengoe512, "Pengoe512");
|
||||
break;
|
||||
case 0x6fc27eed: // Original
|
||||
case 0x52dab0ac: // Ver 11
|
||||
case 0x3333dca7: // Ver 12
|
||||
|
@ -132,5 +132,6 @@ enum class GameID
|
||||
GGXRd,
|
||||
BlazBlueCrossTagBattle,
|
||||
DengekiBunkoFC,
|
||||
BladeStrangesAPM3
|
||||
BladeStrangesAPM3,
|
||||
Pengoe512,
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user