更新荒古装备
This commit is contained in:
@@ -284,6 +284,61 @@ function Sq_GetExeStr_Event(Index) {
|
||||
return Index;
|
||||
}
|
||||
|
||||
getroottable().DrawAppendCallBackFunc <- {};
|
||||
Rindro_Haker.LoadHook(0x67C560, ["pointer", "int", "int", "int", "int", "void"],
|
||||
function(args) {
|
||||
foreach(Func in DrawAppendCallBackFunc) {
|
||||
Func(args);
|
||||
}
|
||||
return null;
|
||||
},
|
||||
function(args) {
|
||||
|
||||
return null;
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
local Flag = L_Sq_CallFunc(0x59E3D0, "bool", FFI_MS_CDECL, ["int", "int", "int", "int"], ReadPath, ReadBuffer, AllocSize, ReadSizeBuffer);
|
||||
if (Flag) {
|
||||
return {
|
||||
Buffer = Reader,
|
||||
Size = ReadSizeer.readInt()
|
||||
};
|
||||
} else return null;
|
||||
*/
|
||||
|
||||
// HOOK读取AP脚本
|
||||
// Rindro_Haker.LoadHook(0x121A100, ["int", "int", "int", "int", "int","bool"],
|
||||
// function(args) {
|
||||
// return null;
|
||||
// },
|
||||
// function(args) {
|
||||
// print(NativePointer(L_sq_I2P(args[1])).readUnicodeString());
|
||||
// if (NativePointer(L_sq_I2P(args[1])).readUnicodeString() == "SQR/../etc/rindro/ancientrelic/ancientrelic.nut") {
|
||||
// printf("加载AP脚本");
|
||||
// local str = "function sq_AddFunctionName(appendage)\n{\n}\n print(778899);";
|
||||
// NativePointer(L_sq_I2P(args[4])).writeInt(str.len());
|
||||
// NativePointer(L_sq_I2P(args[2])).writeByteArray(str);
|
||||
// }
|
||||
// return null;
|
||||
// });
|
||||
|
||||
|
||||
// getroottable().onAttackParentCallBackFunc <- {};
|
||||
// Rindro_Haker.LoadHook(0x9CFF50, ["pointer", "int", "int", "int", "int", "int"],
|
||||
// function(args) {
|
||||
// foreach(Func in onAttackParentCallBackFunc) {
|
||||
// Func(args);
|
||||
// }
|
||||
// return null;
|
||||
// },
|
||||
// function(args) {
|
||||
|
||||
// return null;
|
||||
// });
|
||||
|
||||
|
||||
|
||||
// //hook打开窗口
|
||||
// Rindro_Haker.LoadHook(0xE6E070, ["int","int","int","int","void"],
|
||||
|
||||
Reference in New Issue
Block a user