1
0
mirror of synced 2024-11-14 23:07:36 +01:00

Add Pengo 1.1

Add Pengo Online 1.1 and include some byte patterns
This commit is contained in:
Nico Giansanti 2021-07-07 01:48:53 +03:00
parent 3eddeb165c
commit 695fa5f414
3 changed files with 23 additions and 3 deletions

View File

@ -1021,16 +1021,32 @@ static InitFunction initFunc([]()
strcpy(APM3GameId, "SDFH");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
/// PATTERNS BELOW
// Skip joysticks
injector::MakeRET(mainModuleBase + 0x15C5B0);
// Skip keyboard
injector::MakeRET(mainModuleBase + 0x15CBA0);
injector::MakeRET(mainModuleBase + 0x24CD0); // some print gay
injector::MakeRET(mainModuleBase + 0x24CD0);
}, GameID::Pengoe5);
static InitFunction initFuncPengoe511([]()
{
HookAPM3();
strcpy(APM3GameId, "SDFH");
__int64 mainModuleBase = (__int64)GetModuleHandle(0);
// Skip joysticks
injector::MakeRET(mainModuleBase + 0x16A7C0); // CC 48 89 5C 24 10 48 89 6C 24 18 48 89 74 24 20 57 48 83 EC 40
// Skip keyboard
injector::MakeRET(mainModuleBase + 0x16ADB0); // 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
injector::MakeRET(mainModuleBase + 0x24EB0); // 4C 89 44 24 18 4C 89 4C 24 20 53 55 56 57 48 83 EC 38 49 8B F0 48 8D 6C 24 78 48 8B DA 48 8B F9
}, GameID::Pengoe511);
static InitFunction initTestFunc([]()
{
HookAPM3();

View File

@ -650,6 +650,9 @@ void GameDetect::DetectCurrentGame()
case 0x0f98a7a2:
currentGame = GameID::Pengoe5;
break;
case 0x3f67d5b2:
currentGame = GameID::Pengoe511;
break;
case 0x6fc27eed: // Original
case 0x3b3fc3ab: // Other exe
currentGame = GameID::VF5Esports;

View File

@ -103,5 +103,6 @@ enum class GameID
GoonyaFighter,
PuyoPuyoEsports,
SFV,
TappingSkillTest
TappingSkillTest,
Pengoe511
};