mirror of
https://github.com/Perfare/Il2CppDumper.git
synced 2025-01-09 11:17:35 -03:00
Update ghidra_wasm.py (#551)
This commit is contained in:
parent
f53ee2cec1
commit
c3877cf39a
1 changed files with 3 additions and 3 deletions
|
@ -47,9 +47,9 @@ if "ScriptMethod" in data and "ScriptMethod" in processFields:
|
|||
offset = scriptMethod["Address"]
|
||||
sig = scriptMethod["TypeSignature"]
|
||||
symbolName = "func_%s_%d" % (sig, offset)
|
||||
symbol = currentProgram.symbolTable.getSymbol(symbolName, dynCallNamespace)
|
||||
if symbol:
|
||||
addr = symbol.address
|
||||
symbol = currentProgram.symbolTable.getSymbols(symbolName, dynCallNamespace)
|
||||
if len(symbol) > 0:
|
||||
addr = symbol[0].address
|
||||
name = scriptMethod["Name"].encode("utf-8")
|
||||
set_name(addr, name)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue