fix func name

This commit is contained in:
hyugogirubato 2024-10-29 20:34:28 +01:00
parent 3e42e642c7
commit f57cc87278
1 changed files with 2 additions and 2 deletions

View File

@ -272,12 +272,12 @@ const GetDeviceId = (address, name) => {
*/ */
Interceptor.attach(address, { Interceptor.attach(address, {
onEnter: function (args) { onEnter: function (args) {
// print(Level.DEBUG, '[+] onEnter: GetDeviceID'); // print(Level.DEBUG, '[+] onEnter: GetDeviceId');
this.data = args[0]; this.data = args[0];
this.size = args[1]; this.size = args[1];
}, },
onLeave: function (retval) { onLeave: function (retval) {
// print(Level.DEBUG, '[-] onLeave: GetDeviceID'); // print(Level.DEBUG, '[-] onLeave: GetDeviceId');
const size = Memory.readPointer(this.size).toInt32(); const size = Memory.readPointer(this.size).toInt32();
const data = Memory.readByteArray(this.data, size); const data = Memory.readByteArray(this.data, size);