This commit is contained in:
恍兮惚兮 2024-07-16 20:04:15 +08:00
parent 778c934bb0
commit d5d882f7fc
3 changed files with 42 additions and 1 deletions

View File

@ -609,4 +609,33 @@ bool Silkyssakura::attach_function(){
}
return NewHook(hp,"Silkyssakura");
}
bool Silkysveryveryold::attach_function(){
//flutter of birds II 天使たちの翼
//https://vndb.org/v2380
const BYTE bytes[] = {
0x8b,XX,XX,
0x03,XX,XX,
0x33,XX,
0x8a,0x02,
0x83,XX,0x5c,
0x0f,0x85,XX4,
0x8b,XX,XX,
0x03,XX,XX,
0x33,XX,
0x8a,XX,0x01,
0x83,XX,0x6e
};
ULONG addr = MemDbg::findBytes(bytes, sizeof(bytes), processStartAddress, processStopAddress);
if (!addr) return false;
addr=MemDbg::findEnclosingAlignedFunction(addr);
if (!addr) return false;
HookParam hp;
hp.address = addr ;
hp.offset=get_stack(1);
hp.newlineseperator=L"\\n";
hp.type = USING_STRING;
return NewHook(hp, "SilkysX");
}

View File

@ -43,3 +43,14 @@ class Silkyssakura:public ENGINE{
};
bool attach_function();
};
class Silkysveryveryold:public ENGINE{
public:
Silkysveryveryold(){
//flutter of birds II 天使たちの翼
//https://vndb.org/v2380
check_by=CHECK_BY::FILE;
check_by_target=L"*SYS.ifl";
};
bool attach_function();
};

View File

@ -343,7 +343,8 @@ std::vector<ENGINE*> check_engines(){
new GuruGuruSMF4,
new A98SYS,
new godot,
new Erogos
new Erogos,
new Silkysveryveryold
};
}