Store vx, vy, vz vectors
Jump to navigation
Jump to search
0007b96c: 27bdffe8 addiu r29,r29,0xffe8 0007b970: 00a01021 addu r2,r5,r0 r2 = misc. data 0007b974: afbf0010 sw r31,0x0010(r29) 0007b978: 84460040 lh r6,0x0040(r2) load X mod 0007b97c: 84450060 lh r5,0x0060(r2) load X ?? 0007b980: 84480042 lh r8,0x0042(r2) load height mod (negative) 0007b984: 84430062 lh r3,0x0062(r2) load height ?? 0007b988: 84490044 lh r9,0x0044(r2) load Y mod 0007b98c: 84470054 lh r7,0x0054(r2) load Y ?? 0007b990: 00c53021 addu r6,r6,r5 X + X ?? 0007b994: 01034021 addu r8,r8,r3 height + height ?? 0007b998: 84450052 lh r5,0x0052(r2) load height ?? 0007b99c: 84430064 lh r3,0x0064(r2) load Y ?? 0007b9a0: 01054021 addu r8,r8,r5 height mod + ?? 0007b9a4: 84450050 lh r5,0x0050(r2) load X ?? 0007b9a8: 01234821 addu r9,r9,r3 Y mod + Y ?? 0007b9ac: 00c52821 addu r5,r6,r5 X ?? + X + X ?? (r5 = final X calculation) vx vector 0007b9b0: 84460076 lh r6,0x0076(r2) load ?? 0007b9b4: 01273821 addu r7,r9,r7 ?? + Y mod + y ?? (r7 = final Y calculation vz vector 0007b9b8: 0c010ac7 jal 0x00042b1c Store values on the stack 0007b9bc: 01063021 addu r6,r8,r6 ?? + height mod + ?? (r6 = final height calculation) vy vector 0007b9c0: 8fbf0010 lw r31,0x0010(r29) 0007b9c4: 27bd0018 addiu r29,r29,0x0018 0007b9c8: 03e00008 jr r31 0007b9cc: 00000000 nop