Difference between revisions of "Bar Menu Idle Routine"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Bar Menu Idle 0006c3dc: 3c03800c lui r3,0x800c 0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level 0006c3e4: 27bdffe8 addiu r29,r29,0xffe8 0006c3e8: afbf0010 sw r...")
 
Line 1: Line 1:
Bar Menu Idle
+
Bar Menu Controller
  0006c3dc: 3c03800c lui r3,0x800c
+
 
 +
'''
 +
  0006c3dc: 3c03800c lui r3,0x800c
 
  0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level
 
  0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3) Load Selection level
  0006c3e4: 27bdffe8 addiu r29,r29,0xffe8
+
  0006c3e4: 27bdffe8 addiu r29,r29,0xffe8
  0006c3e8: afbf0010 sw r31,0x0010(r29)
+
  0006c3e8: afbf0010 sw r31,0x0010(r29)
  0006c3ec: 00031080 sll r2,r3,0x02 ??*4
+
  0006c3ec: 00031080 sll r2,r3,0x02 ??*4
  0006c3f0: 00032040 sll r4,r3,0x01 ??*2
+
  0006c3f0: 00032040 sll r4,r3,0x01 ??*2
  0006c3f4: 00832021 addu r4,r4,r3 ??*3
+
  0006c3f4: 00832021 addu r4,r4,r3 ??*3
  0006c3f8: 000420c0 sll r4,r4,0x03 ??*24
+
  0006c3f8: 000420c0 sll r4,r4,0x03 ??*24
  0006c3fc: 00832023 subu r4,r4,r3 ??*23
+
  0006c3fc: 00832023 subu r4,r4,r3 ??*23
  0006c400: 00042080 sll r4,r4,0x02 selection level*0x60
+
  0006c400: 00042080 sll r4,r4,0x02 selection level*0x60
  0006c404: 3c01800d lui r1,0x800d
+
  0006c404: 3c01800d lui r1,0x800d
 
  0006c408: 24214580 addiu r1,r1,0x4580 800d4580
 
  0006c408: 24214580 addiu r1,r1,0x4580 800d4580
  0006c40c: 00220821 addu r1,r1,r2
+
  0006c40c: 00220821 addu r1,r1,r2
  0006c410: 8c220000 lw r2,0x0000(r1)
+
  0006c410: 8c220000 lw r2,0x0000(r1) Load
  0006c414: 3c03800c lui r3,0x800c
+
  0006c414: 3c03800c lui r3,0x800c
 
  0006c418: 2463b930 addiu r3,r3,0xb930 800bb930
 
  0006c418: 2463b930 addiu r3,r3,0xb930 800bb930
  0006c41c: 00021080 sll r2,r2,0x02
+
  0006c41c: 00021080 sll r2,r2,0x02 Next routine byte * 4
  0006c420: 3c01800a lui r1,0x800a
+
  0006c420: 3c01800a lui r1,0x800a
 
  0006c424: 2421e690 addiu r1,r1,0xe690 8009e690
 
  0006c424: 2421e690 addiu r1,r1,0xe690 8009e690
  0006c428: 00220821 addu r1,r1,r2
+
  0006c428: 00220821 addu r1,r1,r2
  0006c42c: 8c220000 lw r2,0x0000(r1) load ??
+
  0006c42c: 8c220000 lw r2,0x0000(r1) Load Pointer to next routine
 
  0006c430: 00000000 nop
 
  0006c430: 00000000 nop
  0006c434: 0040f809 jalr r2,r31
+
  0006c434: 0040f809 jalr r2,r31 Jump and Link to Bar Routine
 
  0006c438: 00832021 addu r4,r4,r3
 
  0006c438: 00832021 addu r4,r4,r3
 
  0006c43c: 8fbf0010 lw r31,0x0010(r29)
 
  0006c43c: 8fbf0010 lw r31,0x0010(r29)
Line 28: Line 30:
 
  0006c444: 03e00008 jr r31
 
  0006c444: 03e00008 jr r31
 
  0006c448: 00000000 nop
 
  0006c448: 00000000 nop
 +
'''
 +
 +
Routine Pointers at 0x8009e690
 +
'''
 +
8006c9fc
 +
8006e208
 +
8006e77c
 +
8006e9bc
 +
80070358
 +
80071bb0 - [[Bar Menu Controller Input Routine |Bar Menu Input Routine]]
 +
80072448 - [[00072448 - 00072614|Display Rumors Description]]
 +
80072f38
 +
80072888
 +
80073600 - [[00073600 - 00073774|Proposition Yes/No?]]
 +
80073b2c
 +
8006eeec
 +
80073ff0
 +
80074788
 +
'''

Revision as of 03:02, 5 August 2020

Bar Menu Controller

0006c3dc: 3c03800c lui r3,0x800c			
0006c3e0: 8c63b4f0 lw r3,-0x4b10(r3)			Load Selection level
0006c3e4: 27bdffe8 addiu r29,r29,0xffe8		
0006c3e8: afbf0010 sw r31,0x0010(r29)			
0006c3ec: 00031080 sll r2,r3,0x02			??*4
0006c3f0: 00032040 sll r4,r3,0x01			??*2
0006c3f4: 00832021 addu r4,r4,r3			??*3
0006c3f8: 000420c0 sll r4,r4,0x03			??*24
0006c3fc: 00832023 subu r4,r4,r3			??*23
0006c400: 00042080 sll r4,r4,0x02			selection level*0x60
0006c404: 3c01800d lui r1,0x800d			
0006c408: 24214580 addiu r1,r1,0x4580			800d4580
0006c40c: 00220821 addu r1,r1,r2			
0006c410: 8c220000 lw r2,0x0000(r1)			Load 
0006c414: 3c03800c lui r3,0x800c			
0006c418: 2463b930 addiu r3,r3,0xb930			800bb930
0006c41c: 00021080 sll r2,r2,0x02			Next routine byte * 4
0006c420: 3c01800a lui r1,0x800a			
0006c424: 2421e690 addiu r1,r1,0xe690			8009e690
0006c428: 00220821 addu r1,r1,r2			
0006c42c: 8c220000 lw r2,0x0000(r1)			Load Pointer to next routine
0006c430: 00000000 nop
0006c434: 0040f809 jalr r2,r31				Jump and Link to Bar Routine
0006c438: 00832021 addu r4,r4,r3
0006c43c: 8fbf0010 lw r31,0x0010(r29)
0006c440: 27bd0018 addiu r29,r29,0x0018
0006c444: 03e00008 jr r31
0006c448: 00000000 nop

Routine Pointers at 0x8009e690

8006c9fc
8006e208
8006e77c
8006e9bc
80070358
80071bb0 - Bar Menu Input Routine
80072448 - Display Rumors Description
80072f38
80072888
80073600 - Proposition Yes/No?
80073b2c
8006eeec
80073ff0
80074788