mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-12-28 06:04:12 +08:00
silkys
This commit is contained in:
parent
778c934bb0
commit
d5d882f7fc
@ -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");
|
||||
}
|
@ -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();
|
||||
};
|
||||
|
@ -343,7 +343,8 @@ std::vector<ENGINE*> check_engines(){
|
||||
new GuruGuruSMF4,
|
||||
new A98SYS,
|
||||
new godot,
|
||||
new Erogos
|
||||
new Erogos,
|
||||
new Silkysveryveryold
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user