I've been tinkering with SMB, trying to find a way to add hit detection from the top and the sides to a block, in order to give it injuring effects just like enemies have. With the help of the disassembly I found the routine for injuring the player; i've also been looking at this patch https://www.romhacking.net/hacks/3705/
that turns mushroom trees into death spikes. By looking at the patch I found that at least 2 offsets are responsible for this change: $1788 and $5FB8. The problem is that in the debugger these offsets are listed as undefined and I can't find anything relevant in the disassembly; how could I convert the hex values into readable ASM? Or how could I easily find where an offset is located in the disassembly? Last time I had to scroll through thousands of lines to find the matching ASM routine for "jsr injureplayer" (which is JSR $D92C).
Thanks a lot in advance