装备跨界
This commit is contained in:
@@ -299,6 +299,24 @@ Rindro_Haker.LoadHook(0x67C560, ["pointer", "int", "int", "int", "int", "void"],
|
||||
});
|
||||
|
||||
|
||||
// getroottable()._11B47C0_OpenWindow_CallBackFunc <- {};
|
||||
// Rindro_Haker.LoadHook(0x11B47C0, ["pointer", "int", "int"],
|
||||
// function(args) {
|
||||
// local Ret = null;
|
||||
// foreach(Func in _11B47C0_OpenWindow_CallBackFunc) {
|
||||
// local FRet = Func(args);
|
||||
// if (FRet != null) Ret = FRet;
|
||||
// }
|
||||
// return Ret;
|
||||
// },
|
||||
// function(args) {
|
||||
|
||||
// return null;
|
||||
// });
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
local Flag = L_Sq_CallFunc(0x59E3D0, "bool", FFI_MS_CDECL, ["int", "int", "int", "int"], ReadPath, ReadBuffer, AllocSize, ReadSizeBuffer);
|
||||
if (Flag) {
|
||||
@@ -315,12 +333,17 @@ Rindro_Haker.LoadHook(0x67C560, ["pointer", "int", "int", "int", "int", "void"],
|
||||
// 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);
|
||||
// // 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);
|
||||
// // }
|
||||
// if (NativePointer(L_sq_I2P(args[1])).readUnicodeString() == "ui/inventory/iteminventorywindow.ui") {
|
||||
// printf("读取ui");
|
||||
// print(Rindro_Haker.NextReturnAddress);
|
||||
|
||||
// }
|
||||
// return null;
|
||||
// });
|
||||
|
||||
Reference in New Issue
Block a user