fix func name
This commit is contained in:
parent
3e42e642c7
commit
f57cc87278
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue