? 0x149d48
Jump to navigation
Jump to search
# ROUTINE: ? 0x149d48 # Parameters: # r4 = (p1) ? To be written to 0x4c offset of menu block data (0x8016986c) # Triangle menu routine (0x13bfbc) passes in value 0x42 = 66 00149d48: 3c028017 lui r2,0x8017 00149d4c: 8c424038 lw r2,0x4038(r2) # Block number of menu type (*0x80174038) 00149d50: 00000000 nop 00149d54: 00021280 sll r2,r2,0x0a # *0x80174038 * 1024 00149d58: 3c018017 lui r1,0x8017 00149d5c: 00220821 addu r1,r1,r2 00149d60: ac2498b8 sw r4,-0x6748(r1) # *((*0x80174038 * 1024) + 0x801698b8) = p1 // (Block offset 0x4c; starts at 0x8016986c) 00149d64: 03e00008 jr r31 00149d68: 00000000 nop