diff options
author | M <No Email> | 2017-08-19 16:44:22 +0200 |
---|---|---|
committer | Made-s <made111@gmx.de> | 2018-01-06 00:24:34 +0100 |
commit | 3c375d2cb4189d19c650145c4ddeedc7c43b76a2 (patch) | |
tree | d3df8c5e599cd13e17bf0cded8f734160902c173 /diff.sh | |
parent | f5fbe5b66226f4e7e38fe5d4638831d1ce19b36b (diff) |
Almost decompiled roulette_util, started decompiling roulette
Diffstat (limited to 'diff.sh')
-rw-r--r-- | diff.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/diff.sh b/diff.sh new file mode 100644 index 000000000..a4b465b6e --- /dev/null +++ b/diff.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 pokeruby.gba > pokeruby.dump +diff baserom.dump pokeruby.dump |