Skip to content

Commit

Permalink
Deobfuscating angle values in Obj83 code
Browse files Browse the repository at this point in the history
  • Loading branch information
Clownacy committed Feb 21, 2016
1 parent 7df33cc commit a9a069b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s2.asm
Expand Up @@ -54346,7 +54346,7 @@ Obj83_Main:

; Update second row of chains
move.b angle(a0),d0
addi.b #$55,d0
addi.b #256/3,d0 ; 360 degrees = 256
jsrto (CalcSine).l, JmpTo10_CalcSine
swap d0
swap d1
Expand All @@ -54366,7 +54366,7 @@ Obj83_Main:

; Update third row of chains
move.b angle(a0),d0
subi.b #$55,d0
subi.b #256/3,d0 ; 360 degrees = 256
jsrto (CalcSine).l, JmpTo10_CalcSine
swap d0
swap d1
Expand Down

0 comments on commit a9a069b

Please sign in to comment.