View Single Post
  #5    
Old December 18th, 2010 (08:02 AM).
Shiny Quagsire's Avatar
Shiny Quagsire
Working on 3DS CFW. Or something.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 17
Gender: Male
Nature: Jolly
I checked for any useage of that table, and all that I came up with was a random function, and the actual play fanfare.

Code:
08071C60     fanfare_play:                           @ CODE XREF: sub_080333D4+1Ap
08071C60                                             @ sub_08038BE0+1Ap ...
08071C60 000                 PUSH    {LR}
08071C62 004                 LSLS    R0, R0, #0x10
08071C64 004                 LSRS    R3, R0, #0x10
08071C66 004                 MOVS    R1, #0
08071C68 004                 LDR     R2, =unk_083AC990
08071C6A
08071C6A     loc_08071C6A:                           @ CODE XREF: fanfare_play+2Aj
08071C6A 004                 LDRH    R0, [R2]
08071C6C 004                 CMP     R0, R3
08071C6E 004                 BNE     loc_08071C84
08071C70 004                 LSLS    R0, R1, #0x18
08071C72 004                 LSRS    R0, R0, #0x18
08071C74 004                 BL      sub_08071BC4
08071C78 004                 BL      sub_08071CEC
08071C7C 004                 B       loc_08071C96
08071C7C     @ ---------------------------------------------------------------------------
08071C7E 004                 .byte    0
08071C7F 004                 .byte    0
08071C80 004 off_08071C80:   .long unk_083AC990      @ DATA XREF: fanfare_play+8r
08071C84     @ ---------------------------------------------------------------------------
08071C84
08071C84     loc_08071C84:                           @ CODE XREF: fanfare_play+Ej
08071C84 004                 ADDS    R2, #4
08071C86 004                 ADDS    R1, #1
08071C88 004                 CMP     R1, #0xD
08071C8A 004                 BLS     loc_08071C6A
08071C8C 004                 MOVS    R0, #0
08071C8E 004                 BL      sub_08071BC4
08071C92 004                 BL      sub_08071CEC
08071C96
08071C96     loc_08071C96:                           @ CODE XREF: fanfare_play+1Cj
08071C96 004                 POP     {R0}
08071C98 000                 BX      R0
__________________



Reply With Quote