This commit is contained in:
2024-09-29 16:52:10 +08:00
parent b2133d8463
commit 16be225768
19 changed files with 1860 additions and 180 deletions

View File

@@ -299,8 +299,13 @@ class ItemInfoClass {
}
}
// print(L_sq_P2I(Memory.allocUtf8String("interface2/event/chn_event_2016/160927_joustmatches/joustmatches_ui.img").C_Object));
// local Npk = L_Sq_CallFunc(0x11C0410, "int", FFI_THISCALL, ["int", "int", "int"], L_sq_RA(0x1B4684C), 0, L_sq_P2I(Memory.allocUtf8String("interface2/event/chn_event_2016/160927_joustmatches/joustmatches_ui.img").C_Object));
// print(Npk);
// local Img = L_Sq_CallFunc(0x11AA190, "int", FFI_THISCALL, ["int", "int"], Npk, 0);
// print(format("%02x", Img));
// print("width: " + NativePointer(Img).add(0x1C).readShort());
// print("height: " + NativePointer(Img).add(0x20).readShort());
// local ReadPath = L_sq_P2I(Memory.allocUtf8String("etc/rindro/horseguessing/horseguessing.dat").C_Object);
// print(format("%02x", ReadPath));
@@ -403,4 +408,18 @@ class ItemInfoClass {
// // print(args.pop());
// // print(">>>>>>");
// return null;
// });
// });
// local Str = "{\"stringValue\":\"thisiszifuchuan\",\"numberValue\":123.45,\"integerValue\":42,\"booleanValue\":true,\"arrayValue\":[1,\"two\",true,{\"key\":\"value\"}],\"objectValue\":{\"name\":\"John Doe\",\"age\":30,\"address\":{\"street\":\"123 Main St\",\"city\":\"Anytown\",\"state\":\"CA\",\"zip\":\"12345\"}}}";
// print("***********************");
// print(Str);
// print(Str.len());
// local JsonObj = JSONParser();
// local T = JsonObj.parse(Str);
// print(">>>>>>>>>>>>>>");
// print(T);
// print(">>>>>>>>>>>>>>");
// local Str2 = Json.Encode(T);
// print("***********************");
// print(Str2);
// print(Str2.len());