You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Notes/asm-hack-guide.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,5 +2,5 @@
2
2
2. Look up Actor Type as Id on <https://wiki.cloudmodding.com/oot/Actor_List_(Variables)> to find actor name
3
3
3. Find actor name with underscores removed in [decomp](https://github.com/zeldaret/oot)
4
4
4. Identify a function call to replace
5
-
5. Use [Ghidra 9.2](https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_9.2_build) with [Zelda64Loader](https://github.com/Random06457/Zelda64Loader) to find the address of the function call
6
-
6.For function calls within the same overlay, remove the relocation table entry
5
+
5. Use [Ghidra 9.2](https://github.com/NationalSecurityAgency/ghidra/releases/tag/Ghidra_9.2_build) with [Zelda64Loader](https://github.com/Random06457/Zelda64Loader) to find the address of the function call. [1.0 disassembly](https://github.com/Roman971/oot-disassembly) is also a good reference.
6
+
6.If the function replaced is outside of the current overlay, then nothing more to do. Else for function calls within the same overlay, remove the corresponding relocation table entry. Building decomp should have provided "reloc.s" files, these show the format of the relocation table, including the name of the original functions.
0 commit comments