diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
commit | c028df7ce77d8a2e4ba528012ef24e65a17aa5ca (patch) | |
tree | 61fa13a25f0dd1bd3f2d2f47931f99a4e6e8d4bf /asmdiff.sh | |
parent | 5a87582cc10fe330b89733a58eef50c27b0a6877 (diff) |
Decompile a couple functions in titlescreen, and label gMain
Diffstat (limited to 'asmdiff.sh')
-rwxr-xr-x | asmdiff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/asmdiff.sh b/asmdiff.sh new file mode 100755 index 0000000..df85c50 --- /dev/null +++ b/asmdiff.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb" +OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))" +$OBJDUMP $OPTIONS baserom.gba > baserom.dump +$OBJDUMP $OPTIONS pokepinballrs.gba > pokepinballrs.dump +diff baserom.dump pokepinballrs.dump |