Skip to content

Commit 138171a

Browse files
authored
Add files via upload
1 parent d7c7008 commit 138171a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Il2CppExplorer.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function explorer.getField(instance, offset, offsetX32, valueType)
292292
explorer.print("🔴 explorer.getField: offset for this architecture is not specified")
293293
return nil
294294
end
295-
return explorer.readValue(instance.address + offset, type)
295+
return explorer.readValue(instance.address + offset, valueType)
296296
end
297297

298298
-- Edit field value in instance from instances table specified by index
@@ -325,7 +325,7 @@ function explorer.editField(instance, offset, offsetX32, valueType, value)
325325
local t = {}
326326
t[1] = {}
327327
t[1].address = instance.address + offset
328-
t[1].flags = type
328+
t[1].flags = valueType
329329
t[1].value = value
330330
gg.setValues(t)
331331
end
@@ -476,7 +476,7 @@ function explorer.readValue(addr, valueType)
476476
local t = {}
477477
t[1] = {}
478478
t[1].address = addr
479-
t[1].flags = type
479+
t[1].flags = valueType
480480

481481
t = gg.getValues(t)
482482

0 commit comments

Comments
 (0)