retroenv / nesgodisasm

Nintendo Entertainment System ROM disassembler written in Golang
Apache License 2.0
14 stars 2 forks source link

detect jump engine in generated code #48

Open cornelk opened 1 year ago

cornelk commented 1 year ago

in Pinball:

  lda a:_data_db74_indexed,X     ; $CD7F  BD 74 DB
  sta z:_var_00e4                ; $CD82  85 E4
  lda a:_data_db7e_indexed,X     ; $CD84  BD 7E DB
  sta z:$E5                      ; $CD87  85 E5
  lda #$4C                       ; $CD89  A9 4C
  sta z:_var_00e3                ; $CD8B  85 E3
  jsr a:_var_00e3                ; $CD8D  20 E3 00