more work done
This commit is contained in:
parent
5cc5612f4e
commit
d323bb28fc
68 changed files with 714 additions and 19 deletions
15
scripts/_tmp_update_sprite_dispatch_comment.py
Normal file
15
scripts/_tmp_update_sprite_dispatch_comment.py
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import sys
|
||||
|
||||
sys.path.insert(0, r"k:\mcp\GhidraMCP")
|
||||
import bridge_mcp_ghidra as bridge
|
||||
|
||||
|
||||
comment = (
|
||||
"Old 000b:3ab2 by preserved offset delta from live 1360:046e. "
|
||||
"DispatchEvent maps event codes 1/2/4/8/0x10/0x20/0x40/0x100 onto vtable slots "
|
||||
"+0x04/+0x08/+0x0c/+0x10/+0x14/+0x18/+0x1c/+0x24; the 0x40 path also walks child nodes "
|
||||
"and dispatches through child slot +0x34 before optional self-slot +0x1c handling."
|
||||
)
|
||||
|
||||
print(bridge.set_decompiler_comment("1360:0cb2", comment))
|
||||
print(bridge.get_function_by_address("1360:0cb2"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue