1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +00:00
* match

* docs might be a while

* cues

* .s

* review

Co-authored-by: petrie911 <pmontag@DESKTOP-LG8A167.localdomain>
Co-authored-by: Fig02 <fig02srl@gmail.com>
This commit is contained in:
petrie911 2021-01-31 14:33:48 -06:00 committed by GitHub
parent 45a21b0ac7
commit 8137c016a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 531 additions and 1640 deletions

View file

@ -1,4 +0,0 @@
glabel DemoIk_Destroy
/* 00000 80983300 AFA40000 */ sw $a0, 0x0000($sp)
/* 00004 80983304 03E00008 */ jr $ra
/* 00008 80983308 AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,34 +0,0 @@
.rdata
glabel D_809849A8
.asciz "\x1b[31m!!!!!!!!!!!!!!!!!!!!!!!!!\n\x1b[m"
.balign 4
.text
glabel DemoIk_Draw
/* 0131C 8098461C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 01320 80984620 AFBF0014 */ sw $ra, 0x0014($sp)
/* 01324 80984624 8C8201AC */ lw $v0, 0x01AC($a0) ## 000001AC
/* 01328 80984628 04400008 */ bltz $v0, .L8098464C
/* 0132C 8098462C 28410003 */ slti $at, $v0, 0x0003
/* 01330 80984630 10200006 */ beq $at, $zero, .L8098464C
/* 01334 80984634 00027080 */ sll $t6, $v0, 2
/* 01338 80984638 3C038098 */ lui $v1, %hi(D_80984778) ## $v1 = 80980000
/* 0133C 8098463C 006E1821 */ addu $v1, $v1, $t6
/* 01340 80984640 8C634778 */ lw $v1, %lo(D_80984778)($v1)
/* 01344 80984644 14600006 */ bne $v1, $zero, .L80984660
/* 01348 80984648 00000000 */ nop
.L8098464C:
/* 0134C 8098464C 3C048098 */ lui $a0, %hi(D_809849A8) ## $a0 = 80980000
/* 01350 80984650 0C00084C */ jal osSyncPrintf
/* 01354 80984654 248449A8 */ addiu $a0, $a0, %lo(D_809849A8) ## $a0 = 809849A8
/* 01358 80984658 10000004 */ beq $zero, $zero, .L8098466C
/* 0135C 8098465C 8FBF0014 */ lw $ra, 0x0014($sp)
.L80984660:
/* 01360 80984660 0060F809 */ jalr $ra, $v1
/* 01364 80984664 00000000 */ nop
/* 01368 80984668 8FBF0014 */ lw $ra, 0x0014($sp)
.L8098466C:
/* 0136C 8098466C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01370 80984670 03E00008 */ jr $ra
/* 01374 80984674 00000000 */ nop

View file

@ -1,26 +0,0 @@
glabel DemoIk_Init
/* 01378 80984678 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0137C 8098467C AFBF0014 */ sw $ra, 0x0014($sp)
/* 01380 80984680 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 01384 80984684 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 01388 80984688 10400005 */ beq $v0, $zero, .L809846A0
/* 0138C 8098468C 00000000 */ nop
/* 01390 80984690 10410003 */ beq $v0, $at, .L809846A0
/* 01394 80984694 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 01398 80984698 14410005 */ bne $v0, $at, .L809846B0
/* 0139C 8098469C 00000000 */ nop
.L809846A0:
/* 013A0 809846A0 0C260E08 */ jal func_80983820
/* 013A4 809846A4 00000000 */ nop
/* 013A8 809846A8 10000004 */ beq $zero, $zero, .L809846BC
/* 013AC 809846AC 8FBF0014 */ lw $ra, 0x0014($sp)
.L809846B0:
/* 013B0 809846B0 0C260F8A */ jal func_80983E28
/* 013B4 809846B4 00000000 */ nop
/* 013B8 809846B8 8FBF0014 */ lw $ra, 0x0014($sp)
.L809846BC:
/* 013BC 809846BC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 013C0 809846C0 03E00008 */ jr $ra
/* 013C4 809846C4 00000000 */ nop
/* 013C8 809846C8 00000000 */ nop
/* 013CC 809846CC 00000000 */ nop

View file

@ -1,36 +0,0 @@
.rdata
glabel D_8098496C
.asciz "\x1b[31m!!!!!!!!!!!!!!!!!!!!!!!!!\n\x1b[m"
.balign 4
.balign 4
.text
glabel DemoIk_Update
/* 012B4 809845B4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 012B8 809845B8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 012BC 809845BC 8C8201A8 */ lw $v0, 0x01A8($a0) ## 000001A8
/* 012C0 809845C0 04400008 */ bltz $v0, .L809845E4
/* 012C4 809845C4 28410006 */ slti $at, $v0, 0x0006
/* 012C8 809845C8 10200006 */ beq $at, $zero, .L809845E4
/* 012CC 809845CC 00027080 */ sll $t6, $v0, 2
/* 012D0 809845D0 3C038098 */ lui $v1, %hi(D_80984760) ## $v1 = 80980000
/* 012D4 809845D4 006E1821 */ addu $v1, $v1, $t6
/* 012D8 809845D8 8C634760 */ lw $v1, %lo(D_80984760)($v1)
/* 012DC 809845DC 14600006 */ bne $v1, $zero, .L809845F8
/* 012E0 809845E0 00000000 */ nop
.L809845E4:
/* 012E4 809845E4 3C048098 */ lui $a0, %hi(D_8098496C) ## $a0 = 80980000
/* 012E8 809845E8 0C00084C */ jal osSyncPrintf
/* 012EC 809845EC 2484496C */ addiu $a0, $a0, %lo(D_8098496C) ## $a0 = 8098496C
/* 012F0 809845F0 10000004 */ beq $zero, $zero, .L80984604
/* 012F4 809845F4 8FBF0014 */ lw $ra, 0x0014($sp)
.L809845F8:
/* 012F8 809845F8 0060F809 */ jalr $ra, $v1
/* 012FC 809845FC 00000000 */ nop
/* 01300 80984600 8FBF0014 */ lw $ra, 0x0014($sp)
.L80984604:
/* 01304 80984604 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 01308 80984608 03E00008 */ jr $ra
/* 0130C 8098460C 00000000 */ nop

View file

@ -1,19 +0,0 @@
glabel func_8098330C
/* 0000C 8098330C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00010 80983310 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00014 80983314 44810000 */ mtc1 $at, $f0 ## $f0 = 30.00
/* 00018 80983318 AFA50024 */ sw $a1, 0x0024($sp)
/* 0001C 8098331C 00802825 */ or $a1, $a0, $zero ## $a1 = 00000000
/* 00020 80983320 AFBF001C */ sw $ra, 0x001C($sp)
/* 00024 80983324 AFA40020 */ sw $a0, 0x0020($sp)
/* 00028 80983328 240E0005 */ addiu $t6, $zero, 0x0005 ## $t6 = 00000005
/* 0002C 8098332C 44070000 */ mfc1 $a3, $f0
/* 00030 80983330 AFAE0014 */ sw $t6, 0x0014($sp)
/* 00034 80983334 8FA40024 */ lw $a0, 0x0024($sp)
/* 00038 80983338 3C064296 */ lui $a2, 0x4296 ## $a2 = 42960000
/* 0003C 8098333C 0C00B92D */ jal Actor_UpdateBgCheckInfo
/* 00040 80983340 E7A00010 */ swc1 $f0, 0x0010($sp)
/* 00044 80983344 8FBF001C */ lw $ra, 0x001C($sp)
/* 00048 80983348 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 0004C 8098334C 03E00008 */ jr $ra
/* 00050 80983350 00000000 */ nop

View file

@ -1,10 +0,0 @@
glabel func_80983354
/* 00054 80983354 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00058 80983358 AFBF0014 */ sw $ra, 0x0014($sp)
/* 0005C 8098335C 0C02927F */ jal SkelAnime_Update
/* 00060 80983360 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00064 80983364 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00068 80983368 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 0006C 8098336C 03E00008 */ jr $ra
/* 00070 80983370 00000000 */ nop

View file

@ -1,11 +0,0 @@
glabel func_80983374
/* 00074 80983374 908E1D6C */ lbu $t6, 0x1D6C($a0) ## 00001D6C
/* 00078 80983378 00057880 */ sll $t7, $a1, 2
/* 0007C 8098337C 008FC021 */ addu $t8, $a0, $t7
/* 00080 80983380 11C00003 */ beq $t6, $zero, .L80983390
/* 00084 80983384 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00088 80983388 03E00008 */ jr $ra
/* 0008C 8098338C 8F021D8C */ lw $v0, 0x1D8C($t8) ## 00001D8C
.L80983390:
/* 00090 80983390 03E00008 */ jr $ra
/* 00094 80983394 00000000 */ nop

View file

@ -1,19 +0,0 @@
glabel func_80983398
/* 00098 80983398 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 0009C 8098339C AFBF0014 */ sw $ra, 0x0014($sp)
/* 000A0 809833A0 AFA5001C */ sw $a1, 0x001C($sp)
/* 000A4 809833A4 0C260CDD */ jal func_80983374
/* 000A8 809833A8 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
/* 000AC 809833AC 10400007 */ beq $v0, $zero, .L809833CC
/* 000B0 809833B0 8FBF0014 */ lw $ra, 0x0014($sp)
/* 000B4 809833B4 97AE001E */ lhu $t6, 0x001E($sp)
/* 000B8 809833B8 944F0000 */ lhu $t7, 0x0000($v0) ## 00000000
/* 000BC 809833BC 55CF0004 */ bnel $t6, $t7, .L809833D0
/* 000C0 809833C0 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 000C4 809833C4 10000002 */ beq $zero, $zero, .L809833D0
/* 000C8 809833C8 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
.L809833CC:
/* 000CC 809833CC 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
.L809833D0:
/* 000D0 809833D0 03E00008 */ jr $ra
/* 000D4 809833D4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000

View file

@ -1,17 +0,0 @@
glabel func_809833D8
/* 000D8 809833D8 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 000DC 809833DC AFBF0014 */ sw $ra, 0x0014($sp)
/* 000E0 809833E0 AFA40018 */ sw $a0, 0x0018($sp)
/* 000E4 809833E4 AFA5001C */ sw $a1, 0x001C($sp)
/* 000E8 809833E8 908E0181 */ lbu $t6, 0x0181($a0) ## 00000181
/* 000EC 809833EC 00802825 */ or $a1, $a0, $zero ## $a1 = 00000000
/* 000F0 809833F0 24A6014C */ addiu $a2, $a1, 0x014C ## $a2 = 0000014C
/* 000F4 809833F4 35CF0001 */ ori $t7, $t6, 0x0001 ## $t7 = 00000001
/* 000F8 809833F8 A08F0181 */ sb $t7, 0x0181($a0) ## 00000181
/* 000FC 809833FC 8FA4001C */ lw $a0, 0x001C($sp)
/* 00100 80983400 0C028D88 */ jal AnimationContext_SetMoveActor
/* 00104 80983404 3C073F80 */ lui $a3, 0x3F80 ## $a3 = 3F800000
/* 00108 80983408 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0010C 8098340C 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00110 80983410 03E00008 */ jr $ra
/* 00114 80983414 00000000 */ nop

View file

@ -1,5 +0,0 @@
glabel func_80983418
/* 00118 80983418 908E0181 */ lbu $t6, 0x0181($a0) ## 00000181
/* 0011C 8098341C 31CFFFFE */ andi $t7, $t6, 0xFFFE ## $t7 = 00000000
/* 00120 80983420 03E00008 */ jr $ra
/* 00124 80983424 A08F0181 */ sb $t7, 0x0181($a0) ## 00000181

View file

@ -1,3 +0,0 @@
glabel func_80983428
/* 00128 80983428 03E00008 */ jr $ra
/* 0012C 8098342C C4800164 */ lwc1 $f0, 0x0164($a0) ## 00000164

View file

@ -1,44 +0,0 @@
glabel func_80983430
/* 00130 80983430 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00134 80983434 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00138 80983438 AFA5001C */ sw $a1, 0x001C($sp)
/* 0013C 8098343C AFA60020 */ sw $a2, 0x0020($sp)
/* 00140 80983440 AFA70024 */ sw $a3, 0x0024($sp)
/* 00144 80983444 0C031A73 */ jal Graph_Alloc
/* 00148 80983448 24050018 */ addiu $a1, $zero, 0x0018 ## $a1 = 00000018
/* 0014C 8098344C 3C0EFA00 */ lui $t6, 0xFA00 ## $t6 = FA000000
/* 00150 80983450 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
/* 00154 80983454 93A90023 */ lbu $t1, 0x0023($sp)
/* 00158 80983458 93B8001F */ lbu $t8, 0x001F($sp)
/* 0015C 8098345C 93AD0027 */ lbu $t5, 0x0027($sp)
/* 00160 80983460 00095400 */ sll $t2, $t1, 16
/* 00164 80983464 0018CE00 */ sll $t9, $t8, 24
/* 00168 80983468 032A5825 */ or $t3, $t9, $t2 ## $t3 = 00000000
/* 0016C 8098346C 000D7200 */ sll $t6, $t5, 8
/* 00170 80983470 016E7825 */ or $t7, $t3, $t6 ## $t7 = FA000000
/* 00174 80983474 35F800FF */ ori $t8, $t7, 0x00FF ## $t8 = FA0000FF
/* 00178 80983478 00402825 */ or $a1, $v0, $zero ## $a1 = 00000000
/* 0017C 8098347C AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 00180 80983480 24440008 */ addiu $a0, $v0, 0x0008 ## $a0 = 00000008
/* 00184 80983484 00801025 */ or $v0, $a0, $zero ## $v0 = 00000008
/* 00188 80983488 3C08FB00 */ lui $t0, 0xFB00 ## $t0 = FB000000
/* 0018C 8098348C AC480000 */ sw $t0, 0x0000($v0) ## 00000008
/* 00190 80983490 93AD002F */ lbu $t5, 0x002F($sp)
/* 00194 80983494 93B9002B */ lbu $t9, 0x002B($sp)
/* 00198 80983498 93B80033 */ lbu $t8, 0x0033($sp)
/* 0019C 8098349C 000D5C00 */ sll $t3, $t5, 16
/* 001A0 809834A0 00195600 */ sll $t2, $t9, 24
/* 001A4 809834A4 014B7025 */ or $t6, $t2, $t3 ## $t6 = 00000000
/* 001A8 809834A8 00184200 */ sll $t0, $t8, 8
/* 001AC 809834AC 01C84825 */ or $t1, $t6, $t0 ## $t1 = FB000000
/* 001B0 809834B0 353900FF */ ori $t9, $t1, 0x00FF ## $t9 = FB0000FF
/* 001B4 809834B4 AC590004 */ sw $t9, 0x0004($v0) ## 0000000C
/* 001B8 809834B8 3C0CDF00 */ lui $t4, 0xDF00 ## $t4 = DF000000
/* 001BC 809834BC AC8C0008 */ sw $t4, 0x0008($a0) ## 00000010
/* 001C0 809834C0 AC80000C */ sw $zero, 0x000C($a0) ## 00000014
/* 001C4 809834C4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 001C8 809834C8 24840008 */ addiu $a0, $a0, 0x0008 ## $a0 = 00000010
/* 001CC 809834CC 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 001D0 809834D0 03E00008 */ jr $ra
/* 001D4 809834D4 00A01025 */ or $v0, $a1, $zero ## $v0 = 00000000

View file

@ -1,13 +0,0 @@
glabel func_809834D8
/* 001D8 809834D8 14800003 */ bne $a0, $zero, .L809834E8
/* 001DC 809834DC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 001E0 809834E0 03E00008 */ jr $ra
/* 001E4 809834E4 24020005 */ addiu $v0, $zero, 0x0005 ## $v0 = 00000005
.L809834E8:
/* 001E8 809834E8 14810003 */ bne $a0, $at, .L809834F8
/* 001EC 809834EC 24030007 */ addiu $v1, $zero, 0x0007 ## $v1 = 00000007
/* 001F0 809834F0 03E00008 */ jr $ra
/* 001F4 809834F4 24020006 */ addiu $v0, $zero, 0x0006 ## $v0 = 00000006
.L809834F8:
/* 001F8 809834F8 03E00008 */ jr $ra
/* 001FC 809834FC 00601025 */ or $v0, $v1, $zero ## $v0 = 00000007

View file

@ -1,72 +0,0 @@
glabel func_80983500
/* 00200 80983500 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00204 80983504 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00208 80983508 AFB00020 */ sw $s0, 0x0020($sp)
/* 0020C 8098350C 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00210 80983510 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00214 80983514 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00218 80983518 10400008 */ beq $v0, $zero, .L8098353C
/* 0021C 8098351C 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 00220 80983520 10410015 */ beq $v0, $at, .L80983578
/* 00224 80983524 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 00228 80983528 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0022C 8098352C 10410021 */ beq $v0, $at, .L809835B4
/* 00230 80983530 2604014C */ addiu $a0, $s0, 0x014C ## $a0 = 0000014C
/* 00234 80983534 1000002D */ beq $zero, $zero, .L809835EC
/* 00238 80983538 8FBF0024 */ lw $ra, 0x0024($sp)
.L8098353C:
/* 0023C 8098353C 0C0295B2 */ jal Animation_OnFrame
/* 00240 80983540 3C0540A0 */ lui $a1, 0x40A0 ## $a1 = 40A00000
/* 00244 80983544 10400028 */ beq $v0, $zero, .L809835E8
/* 00248 80983548 3C078013 */ lui $a3, %hi(D_801333E0)
/* 0024C 8098354C 3C0E8013 */ lui $t6, %hi(D_801333E8)
/* 00250 80983550 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00254 80983554 25CE33E8 */ addiu $t6, %lo(D_801333E8)
/* 00258 80983558 AFAE0014 */ sw $t6, 0x0014($sp)
/* 0025C 8098355C AFA70010 */ sw $a3, 0x0010($sp)
/* 00260 80983560 2404392D */ addiu $a0, $zero, 0x392D ## $a0 = 0000392D
/* 00264 80983564 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 00268 80983568 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 0026C 8098356C 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 00270 80983570 1000001E */ beq $zero, $zero, .L809835EC
/* 00274 80983574 8FBF0024 */ lw $ra, 0x0024($sp)
.L80983578:
/* 00278 80983578 0C0295B2 */ jal Animation_OnFrame
/* 0027C 8098357C 3C054120 */ lui $a1, 0x4120 ## $a1 = 41200000
/* 00280 80983580 10400019 */ beq $v0, $zero, .L809835E8
/* 00284 80983584 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00288 80983588 3C0F8013 */ lui $t7, %hi(D_801333E8)
/* 0028C 8098358C 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00290 80983590 25EF33E8 */ addiu $t7, %lo(D_801333E8)
/* 00294 80983594 AFAF0014 */ sw $t7, 0x0014($sp)
/* 00298 80983598 AFA70010 */ sw $a3, 0x0010($sp)
/* 0029C 8098359C 2404392F */ addiu $a0, $zero, 0x392F ## $a0 = 0000392F
/* 002A0 809835A0 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 002A4 809835A4 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 002A8 809835A8 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 002AC 809835AC 1000000F */ beq $zero, $zero, .L809835EC
/* 002B0 809835B0 8FBF0024 */ lw $ra, 0x0024($sp)
.L809835B4:
/* 002B4 809835B4 0C0295B2 */ jal Animation_OnFrame
/* 002B8 809835B8 3C054110 */ lui $a1, 0x4110 ## $a1 = 41100000
/* 002BC 809835BC 1040000A */ beq $v0, $zero, .L809835E8
/* 002C0 809835C0 3C078013 */ lui $a3, %hi(D_801333E0)
/* 002C4 809835C4 3C188013 */ lui $t8, %hi(D_801333E8)
/* 002C8 809835C8 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 002CC 809835CC 271833E8 */ addiu $t8, %lo(D_801333E8)
/* 002D0 809835D0 AFB80014 */ sw $t8, 0x0014($sp)
/* 002D4 809835D4 AFA70010 */ sw $a3, 0x0010($sp)
/* 002D8 809835D8 2404392E */ addiu $a0, $zero, 0x392E ## $a0 = 0000392E
/* 002DC 809835DC 260500E4 */ addiu $a1, $s0, 0x00E4 ## $a1 = 000000E4
/* 002E0 809835E0 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 002E4 809835E4 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
.L809835E8:
/* 002E8 809835E8 8FBF0024 */ lw $ra, 0x0024($sp)
.L809835EC:
/* 002EC 809835EC 8FB00020 */ lw $s0, 0x0020($sp)
/* 002F0 809835F0 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 002F4 809835F4 03E00008 */ jr $ra
/* 002F8 809835F8 00000000 */ nop

View file

@ -1,111 +0,0 @@
glabel func_809835FC
/* 002FC 809835FC 27BDFF68 */ addiu $sp, $sp, 0xFF68 ## $sp = FFFFFF68
/* 00300 80983600 AFB1004C */ sw $s1, 0x004C($sp)
/* 00304 80983604 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 00308 80983608 AFBF0064 */ sw $ra, 0x0064($sp)
/* 0030C 8098360C AFB60060 */ sw $s6, 0x0060($sp)
/* 00310 80983610 AFB5005C */ sw $s5, 0x005C($sp)
/* 00314 80983614 AFB40058 */ sw $s4, 0x0058($sp)
/* 00318 80983618 AFB30054 */ sw $s3, 0x0054($sp)
/* 0031C 8098361C AFB20050 */ sw $s2, 0x0050($sp)
/* 00320 80983620 AFB00048 */ sw $s0, 0x0048($sp)
/* 00324 80983624 00A0B025 */ or $s6, $a1, $zero ## $s6 = 00000000
/* 00328 80983628 0C260D36 */ jal func_809834D8
/* 0032C 8098362C 8484001C */ lh $a0, 0x001C($a0) ## 0000001C
/* 00330 80983630 00408025 */ or $s0, $v0, $zero ## $s0 = 00000000
/* 00334 80983634 02C02025 */ or $a0, $s6, $zero ## $a0 = 00000000
/* 00338 80983638 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 0033C 8098363C 0C260CE6 */ jal func_80983398
/* 00340 80983640 00403025 */ or $a2, $v0, $zero ## $a2 = 00000000
/* 00344 80983644 1040004C */ beq $v0, $zero, .L80983778
/* 00348 80983648 3C0E8098 */ lui $t6, %hi(D_809846D0) ## $t6 = 80980000
/* 0034C 8098364C 25CE46D0 */ addiu $t6, $t6, %lo(D_809846D0) ## $t6 = 809846D0
/* 00350 80983650 8DD80000 */ lw $t8, 0x0000($t6) ## 809846D0
/* 00354 80983654 27B20078 */ addiu $s2, $sp, 0x0078 ## $s2 = FFFFFFE0
/* 00358 80983658 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 0035C 8098365C AE580000 */ sw $t8, 0x0000($s2) ## FFFFFFE0
/* 00360 80983660 8DCF0004 */ lw $t7, 0x0004($t6) ## 809846D4
/* 00364 80983664 3C088098 */ lui $t0, %hi(D_809846DC) ## $t0 = 80980000
/* 00368 80983668 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 0036C 8098366C AE4F0004 */ sw $t7, 0x0004($s2) ## FFFFFFE4
/* 00370 80983670 8DD80008 */ lw $t8, 0x0008($t6) ## 809846D8
/* 00374 80983674 250846DC */ addiu $t0, $t0, %lo(D_809846DC) ## $t0 = 809846DC
/* 00378 80983678 16010003 */ bne $s0, $at, .L80983688
/* 0037C 8098367C AE580008 */ sw $t8, 0x0008($s2) ## FFFFFFE8
/* 00380 80983680 10000008 */ beq $zero, $zero, .L809836A4
/* 00384 80983684 24140004 */ addiu $s4, $zero, 0x0004 ## $s4 = 00000004
.L80983688:
/* 00388 80983688 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 0038C 8098368C 16010004 */ bne $s0, $at, .L809836A0
/* 00390 80983690 24020008 */ addiu $v0, $zero, 0x0008 ## $v0 = 00000008
/* 00394 80983694 24020004 */ addiu $v0, $zero, 0x0004 ## $v0 = 00000004
/* 00398 80983698 10000002 */ beq $zero, $zero, .L809836A4
/* 0039C 8098369C 24140008 */ addiu $s4, $zero, 0x0008 ## $s4 = 00000008
.L809836A0:
/* 003A0 809836A0 2414000B */ addiu $s4, $zero, 0x000B ## $s4 = 0000000B
.L809836A4:
/* 003A4 809836A4 0054082A */ slt $at, $v0, $s4
/* 003A8 809836A8 10200033 */ beq $at, $zero, .L80983778
/* 003AC 809836AC 0002C880 */ sll $t9, $v0, 2
/* 003B0 809836B0 00144880 */ sll $t1, $s4, 2
/* 003B4 809836B4 01344823 */ subu $t1, $t1, $s4
/* 003B8 809836B8 0322C823 */ subu $t9, $t9, $v0
/* 003BC 809836BC 0019C880 */ sll $t9, $t9, 2
/* 003C0 809836C0 00094880 */ sll $t1, $t1, 2
/* 003C4 809836C4 01289821 */ addu $s3, $t1, $t0
/* 003C8 809836C8 03288021 */ addu $s0, $t9, $t0
/* 003CC 809836CC 27B50084 */ addiu $s5, $sp, 0x0084 ## $s5 = FFFFFFEC
/* 003D0 809836D0 C6040000 */ lwc1 $f4, 0x0000($s0) ## 00000000
.L809836D4:
/* 003D4 809836D4 C6260024 */ lwc1 $f6, 0x0024($s1) ## 00000024
/* 003D8 809836D8 C60A0004 */ lwc1 $f10, 0x0004($s0) ## 00000004
/* 003DC 809836DC 240A000A */ addiu $t2, $zero, 0x000A ## $t2 = 0000000A
/* 003E0 809836E0 46062200 */ add.s $f8, $f4, $f6
/* 003E4 809836E4 C6040008 */ lwc1 $f4, 0x0008($s0) ## 00000008
/* 003E8 809836E8 240B0007 */ addiu $t3, $zero, 0x0007 ## $t3 = 00000007
/* 003EC 809836EC 240C00FF */ addiu $t4, $zero, 0x00FF ## $t4 = 000000FF
/* 003F0 809836F0 E7A80084 */ swc1 $f8, 0x0084($sp)
/* 003F4 809836F4 C6300028 */ lwc1 $f16, 0x0028($s1) ## 00000028
/* 003F8 809836F8 240D00FF */ addiu $t5, $zero, 0x00FF ## $t5 = 000000FF
/* 003FC 809836FC 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
/* 00400 80983700 46105480 */ add.s $f18, $f10, $f16
/* 00404 80983704 240F00FF */ addiu $t7, $zero, 0x00FF ## $t7 = 000000FF
/* 00408 80983708 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF
/* 0040C 8098370C 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 00410 80983710 E7B20088 */ swc1 $f18, 0x0088($sp)
/* 00414 80983714 C626002C */ lwc1 $f6, 0x002C($s1) ## 0000002C
/* 00418 80983718 24090009 */ addiu $t1, $zero, 0x0009 ## $t1 = 00000009
/* 0041C 8098371C 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 00420 80983720 46062200 */ add.s $f8, $f4, $f6
/* 00424 80983724 AFA8003C */ sw $t0, 0x003C($sp)
/* 00428 80983728 AFA90038 */ sw $t1, 0x0038($sp)
/* 0042C 8098372C AFB90034 */ sw $t9, 0x0034($sp)
/* 00430 80983730 E7A8008C */ swc1 $f8, 0x008C($sp)
/* 00434 80983734 AFB80030 */ sw $t8, 0x0030($sp)
/* 00438 80983738 AFA0002C */ sw $zero, 0x002C($sp)
/* 0043C 8098373C AFA00028 */ sw $zero, 0x0028($sp)
/* 00440 80983740 AFAF0024 */ sw $t7, 0x0024($sp)
/* 00444 80983744 AFAE0020 */ sw $t6, 0x0020($sp)
/* 00448 80983748 AFAD001C */ sw $t5, 0x001C($sp)
/* 0044C 8098374C AFAC0018 */ sw $t4, 0x0018($sp)
/* 00450 80983750 AFAB0014 */ sw $t3, 0x0014($sp)
/* 00454 80983754 AFAA0010 */ sw $t2, 0x0010($sp)
/* 00458 80983758 02C02025 */ or $a0, $s6, $zero ## $a0 = 00000000
/* 0045C 8098375C 02A02825 */ or $a1, $s5, $zero ## $a1 = FFFFFFEC
/* 00460 80983760 02403025 */ or $a2, $s2, $zero ## $a2 = FFFFFFE0
/* 00464 80983764 0C00A9AE */ jal EffectSsDeadDb_Spawn
/* 00468 80983768 02403825 */ or $a3, $s2, $zero ## $a3 = FFFFFFE0
/* 0046C 8098376C 2610000C */ addiu $s0, $s0, 0x000C ## $s0 = 0000000C
/* 00470 80983770 5613FFD8 */ bnel $s0, $s3, .L809836D4
/* 00474 80983774 C6040000 */ lwc1 $f4, 0x0000($s0) ## 0000000C
.L80983778:
/* 00478 80983778 8FBF0064 */ lw $ra, 0x0064($sp)
/* 0047C 8098377C 8FB00048 */ lw $s0, 0x0048($sp)
/* 00480 80983780 8FB1004C */ lw $s1, 0x004C($sp)
/* 00484 80983784 8FB20050 */ lw $s2, 0x0050($sp)
/* 00488 80983788 8FB30054 */ lw $s3, 0x0054($sp)
/* 0048C 8098378C 8FB40058 */ lw $s4, 0x0058($sp)
/* 00490 80983790 8FB5005C */ lw $s5, 0x005C($sp)
/* 00494 80983794 8FB60060 */ lw $s6, 0x0060($sp)
/* 00498 80983798 03E00008 */ jr $ra
/* 0049C 8098379C 27BD0098 */ addiu $sp, $sp, 0x0098 ## $sp = 00000000

View file

@ -1,34 +0,0 @@
glabel func_809837A0
/* 004A0 809837A0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 004A4 809837A4 00803825 */ or $a3, $a0, $zero ## $a3 = 00000000
/* 004A8 809837A8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 004AC 809837AC AFA5001C */ sw $a1, 0x001C($sp)
/* 004B0 809837B0 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 004B4 809837B4 00C02825 */ or $a1, $a2, $zero ## $a1 = 00000000
/* 004B8 809837B8 0C260CDD */ jal func_80983374
/* 004BC 809837BC AFA70018 */ sw $a3, 0x0018($sp)
/* 004C0 809837C0 10400013 */ beq $v0, $zero, .L80983810
/* 004C4 809837C4 8FA70018 */ lw $a3, 0x0018($sp)
/* 004C8 809837C8 8C4E000C */ lw $t6, 0x000C($v0) ## 0000000C
/* 004CC 809837CC 448E2000 */ mtc1 $t6, $f4 ## $f4 = 0.00
/* 004D0 809837D0 00000000 */ nop
/* 004D4 809837D4 468021A0 */ cvt.s.w $f6, $f4
/* 004D8 809837D8 E4E60024 */ swc1 $f6, 0x0024($a3) ## 00000024
/* 004DC 809837DC 8C4F0010 */ lw $t7, 0x0010($v0) ## 00000010
/* 004E0 809837E0 448F4000 */ mtc1 $t7, $f8 ## $f8 = 0.00
/* 004E4 809837E4 00000000 */ nop
/* 004E8 809837E8 468042A0 */ cvt.s.w $f10, $f8
/* 004EC 809837EC E4EA0028 */ swc1 $f10, 0x0028($a3) ## 00000028
/* 004F0 809837F0 8C580014 */ lw $t8, 0x0014($v0) ## 00000014
/* 004F4 809837F4 44988000 */ mtc1 $t8, $f16 ## $f16 = 0.00
/* 004F8 809837F8 00000000 */ nop
/* 004FC 809837FC 468084A0 */ cvt.s.w $f18, $f16
/* 00500 80983800 E4F2002C */ swc1 $f18, 0x002C($a3) ## 0000002C
/* 00504 80983804 84430008 */ lh $v1, 0x0008($v0) ## 00000008
/* 00508 80983808 A4E300B6 */ sh $v1, 0x00B6($a3) ## 000000B6
/* 0050C 8098380C A4E30032 */ sh $v1, 0x0032($a3) ## 00000032
.L80983810:
/* 00510 80983810 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00514 80983814 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00518 80983818 03E00008 */ jr $ra
/* 0051C 8098381C 00000000 */ nop

View file

@ -1,80 +0,0 @@
glabel func_80983820
/* 00520 80983820 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 00524 80983824 AFBF002C */ sw $ra, 0x002C($sp)
/* 00528 80983828 AFB10028 */ sw $s1, 0x0028($sp)
/* 0052C 8098382C AFB00024 */ sw $s0, 0x0024($sp)
/* 00530 80983830 AFA5005C */ sw $a1, 0x005C($sp)
/* 00534 80983834 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00538 80983838 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0053C 8098383C 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00540 80983840 10400006 */ beq $v0, $zero, .L8098385C
/* 00544 80983844 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00548 80983848 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 0054C 8098384C 1041000B */ beq $v0, $at, .L8098387C
/* 00550 80983850 3C0F0600 */ lui $t7, %hi(D_06000660) ## $t7 = 06000000
/* 00554 80983854 10000010 */ beq $zero, $zero, .L80983898
/* 00558 80983858 3C180600 */ lui $t8, %hi(D_06000380) ## $t8 = 06000000
.L8098385C:
/* 0055C 8098385C 3C0E0600 */ lui $t6, %hi(D_06000C90) ## $t6 = 06000000
/* 00560 80983860 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00564 80983864 25CE0C90 */ addiu $t6, $t6, %lo(D_06000C90) ## $t6 = 06000C90
/* 00568 80983868 3C110600 */ lui $s1, %hi(D_06000C6C) ## $s1 = 06000000
/* 0056C 8098386C 44810000 */ mtc1 $at, $f0 ## $f0 = 30.00
/* 00570 80983870 AFAE0048 */ sw $t6, 0x0048($sp)
/* 00574 80983874 1000000E */ beq $zero, $zero, .L809838B0
/* 00578 80983878 26310C6C */ addiu $s1, $s1, %lo(D_06000C6C) ## $s1 = 06000C6C
.L8098387C:
/* 0057C 8098387C 3C014120 */ lui $at, 0x4120 ## $at = 41200000
/* 00580 80983880 25EF0660 */ addiu $t7, $t7, %lo(D_06000660) ## $t7 = 06000660
/* 00584 80983884 3C110600 */ lui $s1, %hi(D_06000634) ## $s1 = 06000000
/* 00588 80983888 44810000 */ mtc1 $at, $f0 ## $f0 = 10.00
/* 0058C 8098388C AFAF0048 */ sw $t7, 0x0048($sp)
/* 00590 80983890 10000007 */ beq $zero, $zero, .L809838B0
/* 00594 80983894 26310634 */ addiu $s1, $s1, %lo(D_06000634) ## $s1 = 06000634
.L80983898:
/* 00598 80983898 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 0059C 8098389C 27180380 */ addiu $t8, $t8, %lo(D_06000380) ## $t8 = 06000380
/* 005A0 809838A0 3C110600 */ lui $s1, %hi(D_0600035C) ## $s1 = 06000000
/* 005A4 809838A4 44810000 */ mtc1 $at, $f0 ## $f0 = 20.00
/* 005A8 809838A8 AFB80048 */ sw $t8, 0x0048($sp)
/* 005AC 809838AC 2631035C */ addiu $s1, $s1, %lo(D_0600035C) ## $s1 = 0600035C
.L809838B0:
/* 005B0 809838B0 3C068003 */ lui $a2, %hi(ActorShadow_DrawCircle)
/* 005B4 809838B4 44070000 */ mfc1 $a3, $f0
/* 005B8 809838B8 0C00AC78 */ jal ActorShape_Init
/* 005BC 809838BC 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawCircle)
/* 005C0 809838C0 2605014C */ addiu $a1, $s0, 0x014C ## $a1 = 0000014C
/* 005C4 809838C4 26190190 */ addiu $t9, $s0, 0x0190 ## $t9 = 00000190
/* 005C8 809838C8 2608019C */ addiu $t0, $s0, 0x019C ## $t0 = 0000019C
/* 005CC 809838CC 24090002 */ addiu $t1, $zero, 0x0002 ## $t1 = 00000002
/* 005D0 809838D0 AFA90018 */ sw $t1, 0x0018($sp)
/* 005D4 809838D4 AFA80014 */ sw $t0, 0x0014($sp)
/* 005D8 809838D8 AFB90010 */ sw $t9, 0x0010($sp)
/* 005DC 809838DC AFA50034 */ sw $a1, 0x0034($sp)
/* 005E0 809838E0 8FA4005C */ lw $a0, 0x005C($sp)
/* 005E4 809838E4 8FA60048 */ lw $a2, 0x0048($sp)
/* 005E8 809838E8 0C02915F */ jal SkelAnime_Init
/* 005EC 809838EC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 005F0 809838F0 0C028800 */ jal Animation_GetLastFrame
/* 005F4 809838F4 02202025 */ or $a0, $s1, $zero ## $a0 = 0600035C
/* 005F8 809838F8 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 005FC 809838FC 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00600 80983900 240A0002 */ addiu $t2, $zero, 0x0002 ## $t2 = 00000002
/* 00604 80983904 468021A0 */ cvt.s.w $f6, $f4
/* 00608 80983908 44070000 */ mfc1 $a3, $f0
/* 0060C 8098390C AFAA0014 */ sw $t2, 0x0014($sp)
/* 00610 80983910 8FA40034 */ lw $a0, 0x0034($sp)
/* 00614 80983914 02202825 */ or $a1, $s1, $zero ## $a1 = 0600035C
/* 00618 80983918 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 0061C 8098391C E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00620 80983920 0C029468 */ jal Animation_Change
/* 00624 80983924 E7A00018 */ swc1 $f0, 0x0018($sp)
/* 00628 80983928 8FBF002C */ lw $ra, 0x002C($sp)
/* 0062C 8098392C 8FB00024 */ lw $s0, 0x0024($sp)
/* 00630 80983930 8FB10028 */ lw $s1, 0x0028($sp)
/* 00634 80983934 03E00008 */ jr $ra
/* 00638 80983938 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000

View file

@ -1,5 +0,0 @@
glabel func_8098393C
/* 0063C 8098393C AC8001A8 */ sw $zero, 0x01A8($a0) ## 000001A8
/* 00640 80983940 AC8001AC */ sw $zero, 0x01AC($a0) ## 000001AC
/* 00644 80983944 03E00008 */ jr $ra
/* 00648 80983948 A08000C8 */ sb $zero, 0x00C8($a0) ## 000000C8

View file

@ -1,25 +0,0 @@
glabel func_8098394C
/* 0064C 8098394C 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00650 80983950 AFBF001C */ sw $ra, 0x001C($sp)
/* 00654 80983954 AFB00018 */ sw $s0, 0x0018($sp)
/* 00658 80983958 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 0065C 8098395C 0C260D06 */ jal func_80983418
/* 00660 80983960 AFA50024 */ sw $a1, 0x0024($sp)
/* 00664 80983964 0C260D36 */ jal func_809834D8
/* 00668 80983968 8604001C */ lh $a0, 0x001C($s0) ## 0000001C
/* 0066C 8098396C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00670 80983970 8FA50024 */ lw $a1, 0x0024($sp)
/* 00674 80983974 0C260DE8 */ jal func_809837A0
/* 00678 80983978 00403025 */ or $a2, $v0, $zero ## $a2 = 00000000
/* 0067C 8098397C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00680 80983980 24020001 */ addiu $v0, $zero, 0x0001 ## $v0 = 00000001
/* 00684 80983984 240E00FF */ addiu $t6, $zero, 0x00FF ## $t6 = 000000FF
/* 00688 80983988 AE0201A8 */ sw $v0, 0x01A8($s0) ## 000001A8
/* 0068C 8098398C AE0201AC */ sw $v0, 0x01AC($s0) ## 000001AC
/* 00690 80983990 A20E00C8 */ sb $t6, 0x00C8($s0) ## 000000C8
/* 00694 80983994 E6040164 */ swc1 $f4, 0x0164($s0) ## 00000164
/* 00698 80983998 8FBF001C */ lw $ra, 0x001C($sp)
/* 0069C 8098399C 8FB00018 */ lw $s0, 0x0018($sp)
/* 006A0 809839A0 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 006A4 809839A4 03E00008 */ jr $ra
/* 006A8 809839A8 00000000 */ nop

View file

@ -1,10 +0,0 @@
glabel func_809839AC
/* 006AC 809839AC 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 006B0 809839B0 240E0002 */ addiu $t6, $zero, 0x0002 ## $t6 = 00000002
/* 006B4 809839B4 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 006B8 809839B8 241800FF */ addiu $t8, $zero, 0x00FF ## $t8 = 000000FF
/* 006BC 809839BC AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 006C0 809839C0 AC8F01AC */ sw $t7, 0x01AC($a0) ## 000001AC
/* 006C4 809839C4 A09800C8 */ sb $t8, 0x00C8($a0) ## 000000C8
/* 006C8 809839C8 03E00008 */ jr $ra
/* 006CC 809839CC E4840164 */ swc1 $f4, 0x0164($a0) ## 00000164

View file

@ -1,82 +0,0 @@
.rdata
glabel D_809847B0
.asciz "Demo_Ik_Check_DemoMode:!!!!!!!!\n"
.balign 4
.balign 4
.late_rodata
glabel jtbl_809849E0
.word L80983A3C
.word L80983A4C
.word L80983A60
.word L80983A70
.word L80983A88
.word L80983A88
.word 0x00000000, 0x00000000
.text
glabel func_809839D0
/* 006D0 809839D0 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 006D4 809839D4 AFB00018 */ sw $s0, 0x0018($sp)
/* 006D8 809839D8 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 006DC 809839DC AFBF001C */ sw $ra, 0x001C($sp)
/* 006E0 809839E0 AFA5002C */ sw $a1, 0x002C($sp)
/* 006E4 809839E4 0C260D36 */ jal func_809834D8
/* 006E8 809839E8 8484001C */ lh $a0, 0x001C($a0) ## 0000001C
/* 006EC 809839EC 8FA4002C */ lw $a0, 0x002C($sp)
/* 006F0 809839F0 0C260CDD */ jal func_80983374
/* 006F4 809839F4 00402825 */ or $a1, $v0, $zero ## $a1 = 00000000
/* 006F8 809839F8 50400026 */ beql $v0, $zero, .L80983A94
/* 006FC 809839FC 8FBF001C */ lw $ra, 0x001C($sp)
/* 00700 80983A00 944E0000 */ lhu $t6, 0x0000($v0) ## 00000000
/* 00704 80983A04 AFAE0020 */ sw $t6, 0x0020($sp)
/* 00708 80983A08 8E0301B0 */ lw $v1, 0x01B0($s0) ## 000001B0
/* 0070C 80983A0C 25D8FFFF */ addiu $t8, $t6, 0xFFFF ## $t8 = FFFFFFFF
/* 00710 80983A10 2F010006 */ sltiu $at, $t8, 0x0006
/* 00714 80983A14 51C3001F */ beql $t6, $v1, .L80983A94
/* 00718 80983A18 8FBF001C */ lw $ra, 0x001C($sp)
/* 0071C 80983A1C 10200018 */ beq $at, $zero, .L80983A80
/* 00720 80983A20 3C048098 */ lui $a0, %hi(D_809847B0) ## $a0 = 80980000
/* 00724 80983A24 0018C080 */ sll $t8, $t8, 2
/* 00728 80983A28 3C018098 */ lui $at, %hi(jtbl_809849E0) ## $at = 80980000
/* 0072C 80983A2C 00380821 */ addu $at, $at, $t8
/* 00730 80983A30 8C3849E0 */ lw $t8, %lo(jtbl_809849E0)($at)
/* 00734 80983A34 03000008 */ jr $t8
/* 00738 80983A38 00000000 */ nop
glabel L80983A3C
/* 0073C 80983A3C 0C260E4F */ jal func_8098393C
/* 00740 80983A40 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00744 80983A44 10000011 */ beq $zero, $zero, .L80983A8C
/* 00748 80983A48 8FB90020 */ lw $t9, 0x0020($sp)
glabel L80983A4C
/* 0074C 80983A4C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00750 80983A50 0C260E53 */ jal func_8098394C
/* 00754 80983A54 8FA5002C */ lw $a1, 0x002C($sp)
/* 00758 80983A58 1000000C */ beq $zero, $zero, .L80983A8C
/* 0075C 80983A5C 8FB90020 */ lw $t9, 0x0020($sp)
glabel L80983A60
/* 00760 80983A60 0C260E6B */ jal func_809839AC
/* 00764 80983A64 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00768 80983A68 10000008 */ beq $zero, $zero, .L80983A8C
/* 0076C 80983A6C 8FB90020 */ lw $t9, 0x0020($sp)
glabel L80983A70
/* 00770 80983A70 0C00B55C */ jal Actor_Kill
/* 00774 80983A74 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00778 80983A78 10000004 */ beq $zero, $zero, .L80983A8C
/* 0077C 80983A7C 8FB90020 */ lw $t9, 0x0020($sp)
.L80983A80:
/* 00780 80983A80 0C00084C */ jal osSyncPrintf
/* 00784 80983A84 248447B0 */ addiu $a0, $a0, %lo(D_809847B0) ## $a0 = 000047B0
glabel L80983A88
/* 00788 80983A88 8FB90020 */ lw $t9, 0x0020($sp)
.L80983A8C:
/* 0078C 80983A8C AE1901B0 */ sw $t9, 0x01B0($s0) ## 000001B0
/* 00790 80983A90 8FBF001C */ lw $ra, 0x001C($sp)
.L80983A94:
/* 00794 80983A94 8FB00018 */ lw $s0, 0x0018($sp)
/* 00798 80983A98 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 0079C 80983A9C 03E00008 */ jr $ra
/* 007A0 80983AA0 00000000 */ nop

View file

@ -1,9 +0,0 @@
glabel func_80983AA4
/* 007A4 80983AA4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 007A8 80983AA8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 007AC 80983AAC 0C260E74 */ jal func_809839D0
/* 007B0 80983AB0 00000000 */ nop
/* 007B4 80983AB4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 007B8 80983AB8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 007BC 80983ABC 03E00008 */ jr $ra
/* 007C0 80983AC0 00000000 */ nop

View file

@ -1,13 +0,0 @@
glabel func_80983AC4
/* 007C4 80983AC4 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 007C8 80983AC8 AFBF0014 */ sw $ra, 0x0014($sp)
/* 007CC 80983ACC AFA40018 */ sw $a0, 0x0018($sp)
/* 007D0 80983AD0 0C260CC3 */ jal func_8098330C
/* 007D4 80983AD4 AFA5001C */ sw $a1, 0x001C($sp)
/* 007D8 80983AD8 8FA40018 */ lw $a0, 0x0018($sp)
/* 007DC 80983ADC 0C260E74 */ jal func_809839D0
/* 007E0 80983AE0 8FA5001C */ lw $a1, 0x001C($sp)
/* 007E4 80983AE4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 007E8 80983AE8 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 007EC 80983AEC 03E00008 */ jr $ra
/* 007F0 80983AF0 00000000 */ nop

View file

@ -1,26 +0,0 @@
glabel func_80983AF4
/* 007F4 80983AF4 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 007F8 80983AF8 AFBF001C */ sw $ra, 0x001C($sp)
/* 007FC 80983AFC AFB00018 */ sw $s0, 0x0018($sp)
/* 00800 80983B00 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00804 80983B04 0C260CD5 */ jal func_80983354
/* 00808 80983B08 AFA50024 */ sw $a1, 0x0024($sp)
/* 0080C 80983B0C 0C260D40 */ jal func_80983500
/* 00810 80983B10 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00814 80983B14 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00818 80983B18 0C260CF6 */ jal func_809833D8
/* 0081C 80983B1C 8FA50024 */ lw $a1, 0x0024($sp)
/* 00820 80983B20 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00824 80983B24 0C260CC3 */ jal func_8098330C
/* 00828 80983B28 8FA50024 */ lw $a1, 0x0024($sp)
/* 0082C 80983B2C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00830 80983B30 0C260D7F */ jal func_809835FC
/* 00834 80983B34 8FA50024 */ lw $a1, 0x0024($sp)
/* 00838 80983B38 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0083C 80983B3C 0C260E74 */ jal func_809839D0
/* 00840 80983B40 8FA50024 */ lw $a1, 0x0024($sp)
/* 00844 80983B44 8FBF001C */ lw $ra, 0x001C($sp)
/* 00848 80983B48 8FB00018 */ lw $s0, 0x0018($sp)
/* 0084C 80983B4C 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00850 80983B50 03E00008 */ jr $ra
/* 00854 80983B54 00000000 */ nop

View file

@ -1,103 +0,0 @@
.rdata
glabel D_809847E4
.asciz "../z_demo_ik_inArmer.c"
.balign 4
glabel D_809847FC
.asciz "../z_demo_ik_inArmer.c"
.balign 4
glabel D_80984814
.asciz "../z_demo_ik_inArmer.c"
.balign 4
glabel D_8098482C
.asciz "../z_demo_ik_inArmer.c"
.balign 4
.text
glabel func_80983B58
/* 00858 80983B58 27BDFFA8 */ addiu $sp, $sp, 0xFFA8 ## $sp = FFFFFFA8
/* 0085C 80983B5C AFBF001C */ sw $ra, 0x001C($sp)
/* 00860 80983B60 AFB00018 */ sw $s0, 0x0018($sp)
/* 00864 80983B64 AFA40058 */ sw $a0, 0x0058($sp)
/* 00868 80983B68 AFA5005C */ sw $a1, 0x005C($sp)
/* 0086C 80983B6C AFA60060 */ sw $a2, 0x0060($sp)
/* 00870 80983B70 AFA70064 */ sw $a3, 0x0064($sp)
/* 00874 80983B74 8C900000 */ lw $s0, 0x0000($a0) ## 00000000
/* 00878 80983B78 3C068098 */ lui $a2, %hi(D_809847E4) ## $a2 = 80980000
/* 0087C 80983B7C 24C647E4 */ addiu $a2, $a2, %lo(D_809847E4) ## $a2 = 809847E4
/* 00880 80983B80 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
/* 00884 80983B84 24070181 */ addiu $a3, $zero, 0x0181 ## $a3 = 00000181
/* 00888 80983B88 0C031AB1 */ jal Graph_OpenDisps
/* 0088C 80983B8C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00890 80983B90 8FAF005C */ lw $t7, 0x005C($sp)
/* 00894 80983B94 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00898 80983B98 8FB80068 */ lw $t8, 0x0068($sp)
/* 0089C 80983B9C 15E10034 */ bne $t7, $at, .L80983C70
/* 008A0 80983BA0 00000000 */ nop
/* 008A4 80983BA4 8702001C */ lh $v0, 0x001C($t8) ## 0000001C
/* 008A8 80983BA8 3C08DA38 */ lui $t0, 0xDA38 ## $t0 = DA380000
/* 008AC 80983BAC 35080003 */ ori $t0, $t0, 0x0003 ## $t0 = DA380003
/* 008B0 80983BB0 10400006 */ beq $v0, $zero, .L80983BCC
/* 008B4 80983BB4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 008B8 80983BB8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 008BC 80983BBC 10410017 */ beq $v0, $at, .L80983C1C
/* 008C0 80983BC0 3C0DDA38 */ lui $t5, 0xDA38 ## $t5 = DA380000
/* 008C4 80983BC4 1000002A */ beq $zero, $zero, .L80983C70
/* 008C8 80983BC8 00000000 */ nop
.L80983BCC:
/* 008CC 80983BCC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 008D0 80983BD0 3C058098 */ lui $a1, %hi(D_809847FC) ## $a1 = 80980000
/* 008D4 80983BD4 24A547FC */ addiu $a1, $a1, %lo(D_809847FC) ## $a1 = 809847FC
/* 008D8 80983BD8 24590008 */ addiu $t9, $v0, 0x0008 ## $t9 = 00000008
/* 008DC 80983BDC AE1902D0 */ sw $t9, 0x02D0($s0) ## 000002D0
/* 008E0 80983BE0 AC480000 */ sw $t0, 0x0000($v0) ## 00000000
/* 008E4 80983BE4 24060186 */ addiu $a2, $zero, 0x0186 ## $a2 = 00000186
/* 008E8 80983BE8 0C0346A2 */ jal Matrix_NewMtx
/* 008EC 80983BEC AFA20038 */ sw $v0, 0x0038($sp)
/* 008F0 80983BF0 8FA30038 */ lw $v1, 0x0038($sp)
/* 008F4 80983BF4 3C0B0601 */ lui $t3, %hi(D_06016BE0) ## $t3 = 06010000
/* 008F8 80983BF8 256B6BE0 */ addiu $t3, $t3, %lo(D_06016BE0) ## $t3 = 06016BE0
/* 008FC 80983BFC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00900 80983C00 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00904 80983C04 3C0ADE00 */ lui $t2, 0xDE00 ## $t2 = DE000000
/* 00908 80983C08 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
/* 0090C 80983C0C AE0902D0 */ sw $t1, 0x02D0($s0) ## 000002D0
/* 00910 80983C10 AC4B0004 */ sw $t3, 0x0004($v0) ## 00000004
/* 00914 80983C14 10000016 */ beq $zero, $zero, .L80983C70
/* 00918 80983C18 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
.L80983C1C:
/* 0091C 80983C1C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00920 80983C20 35AD0003 */ ori $t5, $t5, 0x0003 ## $t5 = 00000003
/* 00924 80983C24 3C058098 */ lui $a1, %hi(D_80984814) ## $a1 = 80980000
/* 00928 80983C28 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
/* 0092C 80983C2C AE0C02D0 */ sw $t4, 0x02D0($s0) ## 000002D0
/* 00930 80983C30 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 00934 80983C34 24A54814 */ addiu $a1, $a1, %lo(D_80984814) ## $a1 = 80984814
/* 00938 80983C38 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0093C 80983C3C 2406018C */ addiu $a2, $zero, 0x018C ## $a2 = 0000018C
/* 00940 80983C40 0C0346A2 */ jal Matrix_NewMtx
/* 00944 80983C44 AFA20030 */ sw $v0, 0x0030($sp)
/* 00948 80983C48 8FA30030 */ lw $v1, 0x0030($sp)
/* 0094C 80983C4C 3C180601 */ lui $t8, %hi(D_06016F88) ## $t8 = 06010000
/* 00950 80983C50 27186F88 */ addiu $t8, $t8, %lo(D_06016F88) ## $t8 = 06016F88
/* 00954 80983C54 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00958 80983C58 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 0095C 80983C5C 3C0FDE00 */ lui $t7, 0xDE00 ## $t7 = DE000000
/* 00960 80983C60 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 00964 80983C64 AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
/* 00968 80983C68 AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 0096C 80983C6C AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000
.L80983C70:
/* 00970 80983C70 3C068098 */ lui $a2, %hi(D_8098482C) ## $a2 = 80980000
/* 00974 80983C74 24C6482C */ addiu $a2, $a2, %lo(D_8098482C) ## $a2 = 8098482C
/* 00978 80983C78 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
/* 0097C 80983C7C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00980 80983C80 0C031AD5 */ jal Graph_CloseDisps
/* 00984 80983C84 24070194 */ addiu $a3, $zero, 0x0194 ## $a3 = 00000194
/* 00988 80983C88 8FBF001C */ lw $ra, 0x001C($sp)
/* 0098C 80983C8C 8FB00018 */ lw $s0, 0x0018($sp)
/* 00990 80983C90 27BD0058 */ addiu $sp, $sp, 0x0058 ## $sp = 00000000
/* 00994 80983C94 03E00008 */ jr $ra
/* 00998 80983C98 00000000 */ nop

View file

@ -1,111 +0,0 @@
.rdata
glabel D_80984844
.asciz "../z_demo_ik_inArmer.c"
.balign 4
glabel D_8098485C
.asciz "../z_demo_ik_inArmer.c"
.balign 4
.text
glabel func_80983C9C
/* 0099C 80983C9C 27BDFF98 */ addiu $sp, $sp, 0xFF98 ## $sp = FFFFFF98
/* 009A0 80983CA0 AFBF002C */ sw $ra, 0x002C($sp)
/* 009A4 80983CA4 AFB00028 */ sw $s0, 0x0028($sp)
/* 009A8 80983CA8 AFA40068 */ sw $a0, 0x0068($sp)
/* 009AC 80983CAC AFA5006C */ sw $a1, 0x006C($sp)
/* 009B0 80983CB0 8CB00000 */ lw $s0, 0x0000($a1) ## 00000000
/* 009B4 80983CB4 3C068098 */ lui $a2, %hi(D_80984844) ## $a2 = 80980000
/* 009B8 80983CB8 24C64844 */ addiu $a2, $a2, %lo(D_80984844) ## $a2 = 80984844
/* 009BC 80983CBC 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFDC
/* 009C0 80983CC0 240701A6 */ addiu $a3, $zero, 0x01A6 ## $a3 = 000001A6
/* 009C4 80983CC4 0C031AB1 */ jal Graph_OpenDisps
/* 009C8 80983CC8 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 009CC 80983CCC 8FA40068 */ lw $a0, 0x0068($sp)
/* 009D0 80983CD0 8FA5006C */ lw $a1, 0x006C($sp)
/* 009D4 80983CD4 0C00BAF3 */ jal func_8002EBCC
/* 009D8 80983CD8 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 009DC 80983CDC 0C024F46 */ jal func_80093D18
/* 009E0 80983CE0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009E4 80983CE4 0C024F61 */ jal func_80093D84
/* 009E8 80983CE8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 009EC 80983CEC 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 009F0 80983CF0 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 009F4 80983CF4 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
/* 009F8 80983CF8 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 009FC 80983CFC AE0F02C0 */ sw $t7, 0x02C0($s0) ## 000002C0
/* 00A00 80983D00 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 00A04 80983D04 2419001E */ addiu $t9, $zero, 0x001E ## $t9 = 0000001E
/* 00A08 80983D08 2408001E */ addiu $t0, $zero, 0x001E ## $t0 = 0000001E
/* 00A0C 80983D0C AFA80014 */ sw $t0, 0x0014($sp)
/* 00A10 80983D10 AFB90010 */ sw $t9, 0x0010($sp)
/* 00A14 80983D14 AFA00018 */ sw $zero, 0x0018($sp)
/* 00A18 80983D18 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A1C 80983D1C 240500F5 */ addiu $a1, $zero, 0x00F5 ## $a1 = 000000F5
/* 00A20 80983D20 240600E1 */ addiu $a2, $zero, 0x00E1 ## $a2 = 000000E1
/* 00A24 80983D24 2407009B */ addiu $a3, $zero, 0x009B ## $a3 = 0000009B
/* 00A28 80983D28 0C260D0C */ jal func_80983430
/* 00A2C 80983D2C AFA20040 */ sw $v0, 0x0040($sp)
/* 00A30 80983D30 8FA30040 */ lw $v1, 0x0040($sp)
/* 00A34 80983D34 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
/* 00A38 80983D38 354A0024 */ ori $t2, $t2, 0x0024 ## $t2 = DB060024
/* 00A3C 80983D3C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00A40 80983D40 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 00A44 80983D44 240B0028 */ addiu $t3, $zero, 0x0028 ## $t3 = 00000028
/* 00A48 80983D48 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00A4C 80983D4C 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
/* 00A50 80983D50 AE0902C0 */ sw $t1, 0x02C0($s0) ## 000002C0
/* 00A54 80983D54 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
/* 00A58 80983D58 AFA00018 */ sw $zero, 0x0018($sp)
/* 00A5C 80983D5C AFA00014 */ sw $zero, 0x0014($sp)
/* 00A60 80983D60 AFAB0010 */ sw $t3, 0x0010($sp)
/* 00A64 80983D64 240500FF */ addiu $a1, $zero, 0x00FF ## $a1 = 000000FF
/* 00A68 80983D68 24060028 */ addiu $a2, $zero, 0x0028 ## $a2 = 00000028
/* 00A6C 80983D6C 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00A70 80983D70 0C260D0C */ jal func_80983430
/* 00A74 80983D74 AFA2003C */ sw $v0, 0x003C($sp)
/* 00A78 80983D78 8FA3003C */ lw $v1, 0x003C($sp)
/* 00A7C 80983D7C 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 00A80 80983D80 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 00A84 80983D84 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00A88 80983D88 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 00A8C 80983D8C 240E0014 */ addiu $t6, $zero, 0x0014 ## $t6 = 00000014
/* 00A90 80983D90 240F0028 */ addiu $t7, $zero, 0x0028 ## $t7 = 00000028
/* 00A94 80983D94 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
/* 00A98 80983D98 AE0C02C0 */ sw $t4, 0x02C0($s0) ## 000002C0
/* 00A9C 80983D9C AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 00AA0 80983DA0 2418001E */ addiu $t8, $zero, 0x001E ## $t8 = 0000001E
/* 00AA4 80983DA4 AFB80018 */ sw $t8, 0x0018($sp)
/* 00AA8 80983DA8 AFAF0014 */ sw $t7, 0x0014($sp)
/* 00AAC 80983DAC AFAE0010 */ sw $t6, 0x0010($sp)
/* 00AB0 80983DB0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00AB4 80983DB4 240500FF */ addiu $a1, $zero, 0x00FF ## $a1 = 000000FF
/* 00AB8 80983DB8 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 00ABC 80983DBC 240700FF */ addiu $a3, $zero, 0x00FF ## $a3 = 000000FF
/* 00AC0 80983DC0 0C260D0C */ jal func_80983430
/* 00AC4 80983DC4 AFA20038 */ sw $v0, 0x0038($sp)
/* 00AC8 80983DC8 8FA30038 */ lw $v1, 0x0038($sp)
/* 00ACC 80983DCC 3C198098 */ lui $t9, %hi(func_80983B58) ## $t9 = 80980000
/* 00AD0 80983DD0 27393B58 */ addiu $t9, $t9, %lo(func_80983B58) ## $t9 = 80983B58
/* 00AD4 80983DD4 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00AD8 80983DD8 8FA30068 */ lw $v1, 0x0068($sp)
/* 00ADC 80983DDC 8FA4006C */ lw $a0, 0x006C($sp)
/* 00AE0 80983DE0 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00AE4 80983DE4 2462014C */ addiu $v0, $v1, 0x014C ## $v0 = 0000014C
/* 00AE8 80983DE8 8C450004 */ lw $a1, 0x0004($v0) ## 00000150
/* 00AEC 80983DEC 8C460020 */ lw $a2, 0x0020($v0) ## 0000016C
/* 00AF0 80983DF0 AFB90010 */ sw $t9, 0x0010($sp)
/* 00AF4 80983DF4 0C028572 */ jal SkelAnime_DrawOpa
/* 00AF8 80983DF8 AFA30014 */ sw $v1, 0x0014($sp)
/* 00AFC 80983DFC 3C068098 */ lui $a2, %hi(D_8098485C) ## $a2 = 80980000
/* 00B00 80983E00 24C6485C */ addiu $a2, $a2, %lo(D_8098485C) ## $a2 = 8098485C
/* 00B04 80983E04 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFDC
/* 00B08 80983E08 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00B0C 80983E0C 0C031AD5 */ jal Graph_CloseDisps
/* 00B10 80983E10 240701BC */ addiu $a3, $zero, 0x01BC ## $a3 = 000001BC
/* 00B14 80983E14 8FBF002C */ lw $ra, 0x002C($sp)
/* 00B18 80983E18 8FB00028 */ lw $s0, 0x0028($sp)
/* 00B1C 80983E1C 27BD0068 */ addiu $sp, $sp, 0x0068 ## $sp = 00000000
/* 00B20 80983E20 03E00008 */ jr $ra
/* 00B24 80983E24 00000000 */ nop

View file

@ -1,74 +0,0 @@
glabel func_80983E28
/* 00B28 80983E28 27BDFFB0 */ addiu $sp, $sp, 0xFFB0 ## $sp = FFFFFFB0
/* 00B2C 80983E2C AFBF002C */ sw $ra, 0x002C($sp)
/* 00B30 80983E30 AFB10028 */ sw $s1, 0x0028($sp)
/* 00B34 80983E34 AFB00024 */ sw $s0, 0x0024($sp)
/* 00B38 80983E38 AFA50054 */ sw $a1, 0x0054($sp)
/* 00B3C 80983E3C 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00B40 80983E40 00808825 */ or $s1, $a0, $zero ## $s1 = 00000000
/* 00B44 80983E44 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00B48 80983E48 10410009 */ beq $v0, $at, .L80983E70
/* 00B4C 80983E4C 8FA40054 */ lw $a0, 0x0054($sp)
/* 00B50 80983E50 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00B54 80983E54 1041000B */ beq $v0, $at, .L80983E84
/* 00B58 80983E58 3C060602 */ lui $a2, %hi(D_0601EE60) ## $a2 = 06020000
/* 00B5C 80983E5C 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00B60 80983E60 1041000C */ beq $v0, $at, .L80983E94
/* 00B64 80983E64 3C060600 */ lui $a2, %hi(D_06000F30) ## $a2 = 06000000
/* 00B68 80983E68 1000000E */ beq $zero, $zero, .L80983EA4
/* 00B6C 80983E6C 3C060600 */ lui $a2, %hi(D_06000900) ## $a2 = 06000000
.L80983E70:
/* 00B70 80983E70 3C060602 */ lui $a2, %hi(D_0601EB40) ## $a2 = 06020000
/* 00B74 80983E74 3C100602 */ lui $s0, %hi(D_0601EB14) ## $s0 = 06020000
/* 00B78 80983E78 24C6EB40 */ addiu $a2, $a2, %lo(D_0601EB40) ## $a2 = 0601EB40
/* 00B7C 80983E7C 1000000C */ beq $zero, $zero, .L80983EB0
/* 00B80 80983E80 2610EB14 */ addiu $s0, $s0, %lo(D_0601EB14) ## $s0 = 0601EB14
.L80983E84:
/* 00B84 80983E84 3C100602 */ lui $s0, %hi(D_0601EE34) ## $s0 = 06020000
/* 00B88 80983E88 24C6EE60 */ addiu $a2, $a2, %lo(D_0601EE60) ## $a2 = 0601D9A0
/* 00B8C 80983E8C 10000008 */ beq $zero, $zero, .L80983EB0
/* 00B90 80983E90 2610EE34 */ addiu $s0, $s0, %lo(D_0601EE34) ## $s0 = 0601EE34
.L80983E94:
/* 00B94 80983E94 3C100600 */ lui $s0, %hi(D_06000F0C) ## $s0 = 06000000
/* 00B98 80983E98 24C60F30 */ addiu $a2, $a2, %lo(D_06000F30) ## $a2 = 0601E8D0
/* 00B9C 80983E9C 10000004 */ beq $zero, $zero, .L80983EB0
/* 00BA0 80983EA0 26100F0C */ addiu $s0, $s0, %lo(D_06000F0C) ## $s0 = 06000F0C
.L80983EA4:
/* 00BA4 80983EA4 3C100600 */ lui $s0, %hi(D_060008DC) ## $s0 = 06000000
/* 00BA8 80983EA8 24C60900 */ addiu $a2, $a2, %lo(D_06000900) ## $a2 = 0601F1D0
/* 00BAC 80983EAC 261008DC */ addiu $s0, $s0, %lo(D_060008DC) ## $s0 = 060008DC
.L80983EB0:
/* 00BB0 80983EB0 2625014C */ addiu $a1, $s1, 0x014C ## $a1 = 0000014C
/* 00BB4 80983EB4 262E0190 */ addiu $t6, $s1, 0x0190 ## $t6 = 00000190
/* 00BB8 80983EB8 262F019C */ addiu $t7, $s1, 0x019C ## $t7 = 0000019C
/* 00BBC 80983EBC 24180002 */ addiu $t8, $zero, 0x0002 ## $t8 = 00000002
/* 00BC0 80983EC0 AFB80018 */ sw $t8, 0x0018($sp)
/* 00BC4 80983EC4 AFAF0014 */ sw $t7, 0x0014($sp)
/* 00BC8 80983EC8 AFAE0010 */ sw $t6, 0x0010($sp)
/* 00BCC 80983ECC AFA50034 */ sw $a1, 0x0034($sp)
/* 00BD0 80983ED0 0C0291BE */ jal SkelAnime_InitFlex
/* 00BD4 80983ED4 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 00BD8 80983ED8 0C028800 */ jal Animation_GetLastFrame
/* 00BDC 80983EDC 02002025 */ or $a0, $s0, $zero ## $a0 = 060008DC
/* 00BE0 80983EE0 44822000 */ mtc1 $v0, $f4 ## $f4 = 0.00
/* 00BE4 80983EE4 44800000 */ mtc1 $zero, $f0 ## $f0 = 0.00
/* 00BE8 80983EE8 24190002 */ addiu $t9, $zero, 0x0002 ## $t9 = 00000002
/* 00BEC 80983EEC 468021A0 */ cvt.s.w $f6, $f4
/* 00BF0 80983EF0 44070000 */ mfc1 $a3, $f0
/* 00BF4 80983EF4 AFB90014 */ sw $t9, 0x0014($sp)
/* 00BF8 80983EF8 8FA40034 */ lw $a0, 0x0034($sp)
/* 00BFC 80983EFC 02002825 */ or $a1, $s0, $zero ## $a1 = 060008DC
/* 00C00 80983F00 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 00C04 80983F04 E7A60010 */ swc1 $f6, 0x0010($sp)
/* 00C08 80983F08 0C029468 */ jal Animation_Change
/* 00C0C 80983F0C E7A00018 */ swc1 $f0, 0x0018($sp)
/* 00C10 80983F10 24080003 */ addiu $t0, $zero, 0x0003 ## $t0 = 00000003
/* 00C14 80983F14 AE2801A8 */ sw $t0, 0x01A8($s1) ## 000001A8
/* 00C18 80983F18 AE2001AC */ sw $zero, 0x01AC($s1) ## 000001AC
/* 00C1C 80983F1C 8FBF002C */ lw $ra, 0x002C($sp)
/* 00C20 80983F20 8FB10028 */ lw $s1, 0x0028($sp)
/* 00C24 80983F24 8FB00024 */ lw $s0, 0x0024($sp)
/* 00C28 80983F28 03E00008 */ jr $ra
/* 00C2C 80983F2C 27BD0050 */ addiu $sp, $sp, 0x0050 ## $sp = 00000000

View file

@ -1,26 +0,0 @@
glabel func_80983F30
/* 00C30 80983F30 44856000 */ mtc1 $a1, $f12 ## $f12 = 0.00
/* 00C34 80983F34 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00C38 80983F38 AFBF001C */ sw $ra, 0x001C($sp)
/* 00C3C 80983F3C AFA40020 */ sw $a0, 0x0020($sp)
/* 00C40 80983F40 44056000 */ mfc1 $a1, $f12
/* 00C44 80983F44 0C0295B2 */ jal Animation_OnFrame
/* 00C48 80983F48 2484014C */ addiu $a0, $a0, 0x014C ## $a0 = 0000014C
/* 00C4C 80983F4C 1040000B */ beq $v0, $zero, .L80983F7C
/* 00C50 80983F50 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00C54 80983F54 8FA50020 */ lw $a1, 0x0020($sp)
/* 00C58 80983F58 3C0E8013 */ lui $t6, %hi(D_801333E8)
/* 00C5C 80983F5C 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00C60 80983F60 25CE33E8 */ addiu $t6, %lo(D_801333E8)
/* 00C64 80983F64 AFAE0014 */ sw $t6, 0x0014($sp)
/* 00C68 80983F68 AFA70010 */ sw $a3, 0x0010($sp)
/* 00C6C 80983F6C 2404392C */ addiu $a0, $zero, 0x392C ## $a0 = 0000392C
/* 00C70 80983F70 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 00C74 80983F74 0C03DCE3 */ jal Audio_PlaySoundGeneral
/* 00C78 80983F78 24A500E4 */ addiu $a1, $a1, 0x00E4 ## $a1 = 000000E4
.L80983F7C:
/* 00C7C 80983F7C 8FBF001C */ lw $ra, 0x001C($sp)
/* 00C80 80983F80 27BD0020 */ addiu $sp, $sp, 0x0020 ## $sp = 00000000
/* 00C84 80983F84 03E00008 */ jr $ra
/* 00C88 80983F88 00000000 */ nop

View file

@ -1,24 +0,0 @@
glabel func_80983F8C
/* 00C8C 80983F8C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00C90 80983F90 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00C94 80983F94 8482001C */ lh $v0, 0x001C($a0) ## 0000001C
/* 00C98 80983F98 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00C9C 80983F9C 10410005 */ beq $v0, $at, .L80983FB4
/* 00CA0 80983FA0 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00CA4 80983FA4 10410007 */ beq $v0, $at, .L80983FC4
/* 00CA8 80983FA8 00000000 */ nop
/* 00CAC 80983FAC 10000008 */ beq $zero, $zero, .L80983FD0
/* 00CB0 80983FB0 8FBF0014 */ lw $ra, 0x0014($sp)
.L80983FB4:
/* 00CB4 80983FB4 0C260FCC */ jal func_80983F30
/* 00CB8 80983FB8 3C054204 */ lui $a1, 0x4204 ## $a1 = 42040000
/* 00CBC 80983FBC 10000004 */ beq $zero, $zero, .L80983FD0
/* 00CC0 80983FC0 8FBF0014 */ lw $ra, 0x0014($sp)
.L80983FC4:
/* 00CC4 80983FC4 0C260FCC */ jal func_80983F30
/* 00CC8 80983FC8 3C054230 */ lui $a1, 0x4230 ## $a1 = 42300000
/* 00CCC 80983FCC 8FBF0014 */ lw $ra, 0x0014($sp)
.L80983FD0:
/* 00CD0 80983FD0 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00CD4 80983FD4 03E00008 */ jr $ra
/* 00CD8 80983FD8 00000000 */ nop

View file

@ -1,5 +0,0 @@
glabel func_80983FDC
/* 00CDC 80983FDC 240E0003 */ addiu $t6, $zero, 0x0003 ## $t6 = 00000003
/* 00CE0 80983FE0 AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 00CE4 80983FE4 03E00008 */ jr $ra
/* 00CE8 80983FE8 AC8001AC */ sw $zero, 0x01AC($a0) ## 000001AC

View file

@ -1,17 +0,0 @@
glabel func_80983FEC
/* 00CEC 80983FEC 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00CF0 80983FF0 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00CF4 80983FF4 AFA40018 */ sw $a0, 0x0018($sp)
/* 00CF8 80983FF8 0C260DE8 */ jal func_809837A0
/* 00CFC 80983FFC 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004
/* 00D00 80984000 8FA40018 */ lw $a0, 0x0018($sp)
/* 00D04 80984004 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00D08 80984008 240E0004 */ addiu $t6, $zero, 0x0004 ## $t6 = 00000004
/* 00D0C 8098400C 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
/* 00D10 80984010 AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 00D14 80984014 AC8F01AC */ sw $t7, 0x01AC($a0) ## 000001AC
/* 00D18 80984018 E4840164 */ swc1 $f4, 0x0164($a0) ## 00000164
/* 00D1C 8098401C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00D20 80984020 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00D24 80984024 03E00008 */ jr $ra
/* 00D28 80984028 00000000 */ nop

View file

@ -1,8 +0,0 @@
glabel func_8098402C
/* 00D2C 8098402C 44802000 */ mtc1 $zero, $f4 ## $f4 = 0.00
/* 00D30 80984030 240E0005 */ addiu $t6, $zero, 0x0005 ## $t6 = 00000005
/* 00D34 80984034 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
/* 00D38 80984038 AC8E01A8 */ sw $t6, 0x01A8($a0) ## 000001A8
/* 00D3C 8098403C AC8F01AC */ sw $t7, 0x01AC($a0) ## 000001AC
/* 00D40 80984040 03E00008 */ jr $ra
/* 00D44 80984044 E4840164 */ swc1 $f4, 0x0164($a0) ## 00000164

View file

@ -1,71 +0,0 @@
.rdata
glabel D_80984874
.asciz "Demo_Ik_inFace_Check_DemoMode:!!!!!!!!\n"
.balign 4
.text
glabel func_80984048
/* 00D48 80984048 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 00D4C 8098404C AFB00018 */ sw $s0, 0x0018($sp)
/* 00D50 80984050 00808025 */ or $s0, $a0, $zero ## $s0 = 00000000
/* 00D54 80984054 AFBF001C */ sw $ra, 0x001C($sp)
/* 00D58 80984058 AFA5002C */ sw $a1, 0x002C($sp)
/* 00D5C 8098405C 00A02025 */ or $a0, $a1, $zero ## $a0 = 00000000
/* 00D60 80984060 0C260CDD */ jal func_80983374
/* 00D64 80984064 24050004 */ addiu $a1, $zero, 0x0004 ## $a1 = 00000004
/* 00D68 80984068 5040002A */ beql $v0, $zero, .L80984114
/* 00D6C 8098406C 8FBF001C */ lw $ra, 0x001C($sp)
/* 00D70 80984070 94460000 */ lhu $a2, 0x0000($v0) ## 00000000
/* 00D74 80984074 8E0301B0 */ lw $v1, 0x01B0($s0) ## 000001B0
/* 00D78 80984078 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00D7C 8098407C 50C30025 */ beql $a2, $v1, .L80984114
/* 00D80 80984080 8FBF001C */ lw $ra, 0x001C($sp)
/* 00D84 80984084 10C1000C */ beq $a2, $at, .L809840B8
/* 00D88 80984088 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00D8C 8098408C 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00D90 80984090 10C1000D */ beq $a2, $at, .L809840C8
/* 00D94 80984094 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00D98 80984098 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 00D9C 8098409C 10C1000F */ beq $a2, $at, .L809840DC
/* 00DA0 809840A0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00DA4 809840A4 24010007 */ addiu $at, $zero, 0x0007 ## $at = 00000007
/* 00DA8 809840A8 10C10010 */ beq $a2, $at, .L809840EC
/* 00DAC 809840AC 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00DB0 809840B0 10000012 */ beq $zero, $zero, .L809840FC
/* 00DB4 809840B4 3C048098 */ lui $a0, %hi(D_80984874) ## $a0 = 80980000
.L809840B8:
/* 00DB8 809840B8 0C260FF7 */ jal func_80983FDC
/* 00DBC 809840BC AFA60020 */ sw $a2, 0x0020($sp)
/* 00DC0 809840C0 10000012 */ beq $zero, $zero, .L8098410C
/* 00DC4 809840C4 8FA60020 */ lw $a2, 0x0020($sp)
.L809840C8:
/* 00DC8 809840C8 8FA5002C */ lw $a1, 0x002C($sp)
/* 00DCC 809840CC 0C260FFB */ jal func_80983FEC
/* 00DD0 809840D0 AFA60020 */ sw $a2, 0x0020($sp)
/* 00DD4 809840D4 1000000D */ beq $zero, $zero, .L8098410C
/* 00DD8 809840D8 8FA60020 */ lw $a2, 0x0020($sp)
.L809840DC:
/* 00DDC 809840DC 0C26100B */ jal func_8098402C
/* 00DE0 809840E0 AFA60020 */ sw $a2, 0x0020($sp)
/* 00DE4 809840E4 10000009 */ beq $zero, $zero, .L8098410C
/* 00DE8 809840E8 8FA60020 */ lw $a2, 0x0020($sp)
.L809840EC:
/* 00DEC 809840EC 0C00B55C */ jal Actor_Kill
/* 00DF0 809840F0 AFA60020 */ sw $a2, 0x0020($sp)
/* 00DF4 809840F4 10000005 */ beq $zero, $zero, .L8098410C
/* 00DF8 809840F8 8FA60020 */ lw $a2, 0x0020($sp)
.L809840FC:
/* 00DFC 809840FC 24844874 */ addiu $a0, $a0, %lo(D_80984874) ## $a0 = 00004874
/* 00E00 80984100 0C00084C */ jal osSyncPrintf
/* 00E04 80984104 AFA60020 */ sw $a2, 0x0020($sp)
/* 00E08 80984108 8FA60020 */ lw $a2, 0x0020($sp)
.L8098410C:
/* 00E0C 8098410C AE0601B0 */ sw $a2, 0x01B0($s0) ## 000001B0
/* 00E10 80984110 8FBF001C */ lw $ra, 0x001C($sp)
.L80984114:
/* 00E14 80984114 8FB00018 */ lw $s0, 0x0018($sp)
/* 00E18 80984118 27BD0028 */ addiu $sp, $sp, 0x0028 ## $sp = 00000000
/* 00E1C 8098411C 03E00008 */ jr $ra
/* 00E20 80984120 00000000 */ nop

View file

@ -1,9 +0,0 @@
glabel func_80984124
/* 00E24 80984124 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00E28 80984128 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00E2C 8098412C 0C261012 */ jal func_80984048
/* 00E30 80984130 00000000 */ nop
/* 00E34 80984134 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00E38 80984138 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00E3C 8098413C 03E00008 */ jr $ra
/* 00E40 80984140 00000000 */ nop

View file

@ -1,9 +0,0 @@
glabel func_80984144
/* 00E44 80984144 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00E48 80984148 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00E4C 8098414C 0C261012 */ jal func_80984048
/* 00E50 80984150 00000000 */ nop
/* 00E54 80984154 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00E58 80984158 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00E5C 8098415C 03E00008 */ jr $ra
/* 00E60 80984160 00000000 */ nop

View file

@ -1,15 +0,0 @@
glabel func_80984164
/* 00E64 80984164 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00E68 80984168 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00E6C 8098416C AFA40018 */ sw $a0, 0x0018($sp)
/* 00E70 80984170 0C260CD5 */ jal func_80983354
/* 00E74 80984174 AFA5001C */ sw $a1, 0x001C($sp)
/* 00E78 80984178 0C260FE3 */ jal func_80983F8C
/* 00E7C 8098417C 8FA40018 */ lw $a0, 0x0018($sp)
/* 00E80 80984180 8FA40018 */ lw $a0, 0x0018($sp)
/* 00E84 80984184 0C261012 */ jal func_80984048
/* 00E88 80984188 8FA5001C */ lw $a1, 0x001C($sp)
/* 00E8C 8098418C 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00E90 80984190 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00E94 80984194 03E00008 */ jr $ra
/* 00E98 80984198 00000000 */ nop

View file

@ -1,25 +0,0 @@
glabel func_8098419C
/* 00E9C 8098419C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00EA0 809841A0 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00EA4 809841A4 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00EA8 809841A8 AFA40018 */ sw $a0, 0x0018($sp)
/* 00EAC 809841AC AFA60020 */ sw $a2, 0x0020($sp)
/* 00EB0 809841B0 14A1000B */ bne $a1, $at, .L809841E0
/* 00EB4 809841B4 AFA70024 */ sw $a3, 0x0024($sp)
/* 00EB8 809841B8 0C260D0A */ jal func_80983428
/* 00EBC 809841BC 8FA4002C */ lw $a0, 0x002C($sp)
/* 00EC0 809841C0 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00EC4 809841C4 44812000 */ mtc1 $at, $f4 ## $f4 = 30.00
/* 00EC8 809841C8 8FAE0020 */ lw $t6, 0x0020($sp)
/* 00ECC 809841CC 4604003C */ c.lt.s $f0, $f4
/* 00ED0 809841D0 00000000 */ nop
/* 00ED4 809841D4 45020003 */ bc1fl .L809841E4
/* 00ED8 809841D8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 00EDC 809841DC ADC00000 */ sw $zero, 0x0000($t6) ## 00000000
.L809841E0:
/* 00EE0 809841E0 8FBF0014 */ lw $ra, 0x0014($sp)
.L809841E4:
/* 00EE4 809841E4 27BD0018 */ addiu $sp, $sp, 0x0018 ## $sp = 00000000
/* 00EE8 809841E8 00001025 */ or $v0, $zero, $zero ## $v0 = 00000000
/* 00EEC 809841EC 03E00008 */ jr $ra
/* 00EF0 809841F0 00000000 */ nop

View file

@ -1,170 +0,0 @@
.rdata
glabel D_809848AC
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_809848C4
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_809848DC
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_809848F4
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_8098490C
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_80984924
.asciz "../z_demo_ik_inFace.c"
.balign 4
.text
glabel func_809841F4
/* 00EF4 809841F4 27BDFF98 */ addiu $sp, $sp, 0xFF98 ## $sp = FFFFFF98
/* 00EF8 809841F8 AFBF001C */ sw $ra, 0x001C($sp)
/* 00EFC 809841FC AFB00018 */ sw $s0, 0x0018($sp)
/* 00F00 80984200 AFA40068 */ sw $a0, 0x0068($sp)
/* 00F04 80984204 AFA5006C */ sw $a1, 0x006C($sp)
/* 00F08 80984208 AFA60070 */ sw $a2, 0x0070($sp)
/* 00F0C 8098420C AFA70074 */ sw $a3, 0x0074($sp)
/* 00F10 80984210 8C900000 */ lw $s0, 0x0000($a0) ## 00000000
/* 00F14 80984214 0C260D0A */ jal func_80983428
/* 00F18 80984218 8FA40078 */ lw $a0, 0x0078($sp)
/* 00F1C 8098421C 3C068098 */ lui $a2, %hi(D_809848AC) ## $a2 = 80980000
/* 00F20 80984220 E7A0005C */ swc1 $f0, 0x005C($sp)
/* 00F24 80984224 24C648AC */ addiu $a2, $a2, %lo(D_809848AC) ## $a2 = 809848AC
/* 00F28 80984228 27A40048 */ addiu $a0, $sp, 0x0048 ## $a0 = FFFFFFE0
/* 00F2C 8098422C 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00F30 80984230 0C031AB1 */ jal Graph_OpenDisps
/* 00F34 80984234 2407010C */ addiu $a3, $zero, 0x010C ## $a3 = 0000010C
/* 00F38 80984238 8FAE006C */ lw $t6, 0x006C($sp)
/* 00F3C 8098423C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00F40 80984240 C7A4005C */ lwc1 $f4, 0x005C($sp)
/* 00F44 80984244 15C1006A */ bne $t6, $at, .L809843F0
/* 00F48 80984248 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00F4C 8098424C 44813000 */ mtc1 $at, $f6 ## $f6 = 30.00
/* 00F50 80984250 8FAF0078 */ lw $t7, 0x0078($sp)
/* 00F54 80984254 4604303E */ c.le.s $f6, $f4
/* 00F58 80984258 00000000 */ nop
/* 00F5C 8098425C 45000064 */ bc1f .L809843F0
/* 00F60 80984260 00000000 */ nop
/* 00F64 80984264 85E2001C */ lh $v0, 0x001C($t7) ## 0000001C
/* 00F68 80984268 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
/* 00F6C 8098426C 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
/* 00F70 80984270 10410009 */ beq $v0, $at, .L80984298
/* 00F74 80984274 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = DA380003
/* 00F78 80984278 24010004 */ addiu $at, $zero, 0x0004 ## $at = 00000004
/* 00F7C 8098427C 1041001B */ beq $v0, $at, .L809842EC
/* 00F80 80984280 3C0CDA38 */ lui $t4, 0xDA38 ## $t4 = DA380000
/* 00F84 80984284 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00F88 80984288 1041002E */ beq $v0, $at, .L80984344
/* 00F8C 8098428C 3C19DA38 */ lui $t9, 0xDA38 ## $t9 = DA380000
/* 00F90 80984290 10000042 */ beq $zero, $zero, .L8098439C
/* 00F94 80984294 3C0CDA38 */ lui $t4, 0xDA38 ## $t4 = DA380000
.L80984298:
/* 00F98 80984298 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00F9C 8098429C 3C058098 */ lui $a1, %hi(D_809848C4) ## $a1 = 80980000
/* 00FA0 809842A0 24A548C4 */ addiu $a1, $a1, %lo(D_809848C4) ## $a1 = 809848C4
/* 00FA4 809842A4 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 00FA8 809842A8 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 00FAC 809842AC AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 00FB0 809842B0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00FB4 809842B4 24060112 */ addiu $a2, $zero, 0x0112 ## $a2 = 00000112
/* 00FB8 809842B8 0C0346A2 */ jal Matrix_NewMtx
/* 00FBC 809842BC AFA20044 */ sw $v0, 0x0044($sp)
/* 00FC0 809842C0 8FA30044 */ lw $v1, 0x0044($sp)
/* 00FC4 809842C4 3C0A0601 */ lui $t2, %hi(D_06017028) ## $t2 = 06010000
/* 00FC8 809842C8 254A7028 */ addiu $t2, $t2, %lo(D_06017028) ## $t2 = 06017028
/* 00FCC 809842CC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00FD0 809842D0 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00FD4 809842D4 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
/* 00FD8 809842D8 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
/* 00FDC 809842DC AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
/* 00FE0 809842E0 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
/* 00FE4 809842E4 10000042 */ beq $zero, $zero, .L809843F0
/* 00FE8 809842E8 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
.L809842EC:
/* 00FEC 809842EC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00FF0 809842F0 358C0003 */ ori $t4, $t4, 0x0003 ## $t4 = 00000003
/* 00FF4 809842F4 3C058098 */ lui $a1, %hi(D_809848DC) ## $a1 = 80980000
/* 00FF8 809842F8 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 00FFC 809842FC AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
/* 01000 80984300 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
/* 01004 80984304 24A548DC */ addiu $a1, $a1, %lo(D_809848DC) ## $a1 = 809848DC
/* 01008 80984308 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0100C 8098430C 24060118 */ addiu $a2, $zero, 0x0118 ## $a2 = 00000118
/* 01010 80984310 0C0346A2 */ jal Matrix_NewMtx
/* 01014 80984314 AFA2003C */ sw $v0, 0x003C($sp)
/* 01018 80984318 8FA3003C */ lw $v1, 0x003C($sp)
/* 0101C 8098431C 3C0F0601 */ lui $t7, %hi(D_06017170) ## $t7 = 06010000
/* 01020 80984320 25EF7170 */ addiu $t7, $t7, %lo(D_06017170) ## $t7 = 06017170
/* 01024 80984324 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 01028 80984328 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 0102C 8098432C 3C0EDE00 */ lui $t6, 0xDE00 ## $t6 = DE000000
/* 01030 80984330 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 01034 80984334 AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
/* 01038 80984338 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 0103C 8098433C 1000002C */ beq $zero, $zero, .L809843F0
/* 01040 80984340 AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
.L80984344:
/* 01044 80984344 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 01048 80984348 37390003 */ ori $t9, $t9, 0x0003 ## $t9 = 00000003
/* 0104C 8098434C 3C058098 */ lui $a1, %hi(D_809848F4) ## $a1 = 80980000
/* 01050 80984350 24580008 */ addiu $t8, $v0, 0x0008 ## $t8 = 00000008
/* 01054 80984354 AE1802D0 */ sw $t8, 0x02D0($s0) ## 000002D0
/* 01058 80984358 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 0105C 8098435C 24A548F4 */ addiu $a1, $a1, %lo(D_809848F4) ## $a1 = 809848F4
/* 01060 80984360 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01064 80984364 2406011E */ addiu $a2, $zero, 0x011E ## $a2 = 0000011E
/* 01068 80984368 0C0346A2 */ jal Matrix_NewMtx
/* 0106C 8098436C AFA20034 */ sw $v0, 0x0034($sp)
/* 01070 80984370 8FA30034 */ lw $v1, 0x0034($sp)
/* 01074 80984374 3C0A0601 */ lui $t2, %hi(D_06016BE0) ## $t2 = 06010000
/* 01078 80984378 254A6BE0 */ addiu $t2, $t2, %lo(D_06016BE0) ## $t2 = 06016BE0
/* 0107C 8098437C AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 01080 80984380 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 01084 80984384 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
/* 01088 80984388 24480008 */ addiu $t0, $v0, 0x0008 ## $t0 = 00000008
/* 0108C 8098438C AE0802D0 */ sw $t0, 0x02D0($s0) ## 000002D0
/* 01090 80984390 AC4A0004 */ sw $t2, 0x0004($v0) ## 00000004
/* 01094 80984394 10000016 */ beq $zero, $zero, .L809843F0
/* 01098 80984398 AC490000 */ sw $t1, 0x0000($v0) ## 00000000
.L8098439C:
/* 0109C 8098439C 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 010A0 809843A0 358C0003 */ ori $t4, $t4, 0x0003 ## $t4 = 00000003
/* 010A4 809843A4 3C058098 */ lui $a1, %hi(D_8098490C) ## $a1 = 80980000
/* 010A8 809843A8 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 010AC 809843AC AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
/* 010B0 809843B0 AC4C0000 */ sw $t4, 0x0000($v0) ## 00000000
/* 010B4 809843B4 24A5490C */ addiu $a1, $a1, %lo(D_8098490C) ## $a1 = 8098490C
/* 010B8 809843B8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 010BC 809843BC 24060124 */ addiu $a2, $zero, 0x0124 ## $a2 = 00000124
/* 010C0 809843C0 0C0346A2 */ jal Matrix_NewMtx
/* 010C4 809843C4 AFA2002C */ sw $v0, 0x002C($sp)
/* 010C8 809843C8 8FA3002C */ lw $v1, 0x002C($sp)
/* 010CC 809843CC 3C0F0601 */ lui $t7, %hi(D_06016CD8) ## $t7 = 06010000
/* 010D0 809843D0 25EF6CD8 */ addiu $t7, $t7, %lo(D_06016CD8) ## $t7 = 06016CD8
/* 010D4 809843D4 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 010D8 809843D8 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 010DC 809843DC 3C0EDE00 */ lui $t6, 0xDE00 ## $t6 = DE000000
/* 010E0 809843E0 244D0008 */ addiu $t5, $v0, 0x0008 ## $t5 = 00000008
/* 010E4 809843E4 AE0D02D0 */ sw $t5, 0x02D0($s0) ## 000002D0
/* 010E8 809843E8 AC4F0004 */ sw $t7, 0x0004($v0) ## 00000004
/* 010EC 809843EC AC4E0000 */ sw $t6, 0x0000($v0) ## 00000000
.L809843F0:
/* 010F0 809843F0 3C068098 */ lui $a2, %hi(D_80984924) ## $a2 = 80980000
/* 010F4 809843F4 24C64924 */ addiu $a2, $a2, %lo(D_80984924) ## $a2 = 80984924
/* 010F8 809843F8 27A40048 */ addiu $a0, $sp, 0x0048 ## $a0 = FFFFFFE0
/* 010FC 809843FC 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01100 80984400 0C031AD5 */ jal Graph_CloseDisps
/* 01104 80984404 2407012C */ addiu $a3, $zero, 0x012C ## $a3 = 0000012C
/* 01108 80984408 8FBF001C */ lw $ra, 0x001C($sp)
/* 0110C 8098440C 8FB00018 */ lw $s0, 0x0018($sp)
/* 01110 80984410 27BD0068 */ addiu $sp, $sp, 0x0068 ## $sp = 00000000
/* 01114 80984414 03E00008 */ jr $ra
/* 01118 80984418 00000000 */ nop

View file

@ -1,113 +0,0 @@
.rdata
glabel D_8098493C
.asciz "../z_demo_ik_inFace.c"
.balign 4
glabel D_80984954
.asciz "../z_demo_ik_inFace.c"
.balign 4
.text
glabel func_8098441C
/* 0111C 8098441C 27BDFF98 */ addiu $sp, $sp, 0xFF98 ## $sp = FFFFFF98
/* 01120 80984420 AFBF002C */ sw $ra, 0x002C($sp)
/* 01124 80984424 AFB00028 */ sw $s0, 0x0028($sp)
/* 01128 80984428 AFA40068 */ sw $a0, 0x0068($sp)
/* 0112C 8098442C AFA5006C */ sw $a1, 0x006C($sp)
/* 01130 80984430 8CB00000 */ lw $s0, 0x0000($a1) ## 00000000
/* 01134 80984434 3C068098 */ lui $a2, %hi(D_8098493C) ## $a2 = 80980000
/* 01138 80984438 24C6493C */ addiu $a2, $a2, %lo(D_8098493C) ## $a2 = 8098493C
/* 0113C 8098443C 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFDC
/* 01140 80984440 2407013E */ addiu $a3, $zero, 0x013E ## $a3 = 0000013E
/* 01144 80984444 0C031AB1 */ jal Graph_OpenDisps
/* 01148 80984448 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 0114C 8098444C 8FA40068 */ lw $a0, 0x0068($sp)
/* 01150 80984450 8FA5006C */ lw $a1, 0x006C($sp)
/* 01154 80984454 0C00BAF3 */ jal func_8002EBCC
/* 01158 80984458 00003025 */ or $a2, $zero, $zero ## $a2 = 00000000
/* 0115C 8098445C 0C024F46 */ jal func_80093D18
/* 01160 80984460 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01164 80984464 0C024F61 */ jal func_80093D84
/* 01168 80984468 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0116C 8098446C 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 01170 80984470 3C18DB06 */ lui $t8, 0xDB06 ## $t8 = DB060000
/* 01174 80984474 37180020 */ ori $t8, $t8, 0x0020 ## $t8 = DB060020
/* 01178 80984478 244F0008 */ addiu $t7, $v0, 0x0008 ## $t7 = 00000008
/* 0117C 8098447C AE0F02C0 */ sw $t7, 0x02C0($s0) ## 000002C0
/* 01180 80984480 AC580000 */ sw $t8, 0x0000($v0) ## 00000000
/* 01184 80984484 2419001E */ addiu $t9, $zero, 0x001E ## $t9 = 0000001E
/* 01188 80984488 2408001E */ addiu $t0, $zero, 0x001E ## $t0 = 0000001E
/* 0118C 8098448C AFA80014 */ sw $t0, 0x0014($sp)
/* 01190 80984490 AFB90010 */ sw $t9, 0x0010($sp)
/* 01194 80984494 AFA00018 */ sw $zero, 0x0018($sp)
/* 01198 80984498 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0119C 8098449C 240500F5 */ addiu $a1, $zero, 0x00F5 ## $a1 = 000000F5
/* 011A0 809844A0 240600E1 */ addiu $a2, $zero, 0x00E1 ## $a2 = 000000E1
/* 011A4 809844A4 2407009B */ addiu $a3, $zero, 0x009B ## $a3 = 0000009B
/* 011A8 809844A8 0C260D0C */ jal func_80983430
/* 011AC 809844AC AFA20040 */ sw $v0, 0x0040($sp)
/* 011B0 809844B0 8FA30040 */ lw $v1, 0x0040($sp)
/* 011B4 809844B4 3C0ADB06 */ lui $t2, 0xDB06 ## $t2 = DB060000
/* 011B8 809844B8 354A0024 */ ori $t2, $t2, 0x0024 ## $t2 = DB060024
/* 011BC 809844BC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 011C0 809844C0 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 011C4 809844C4 240B0028 */ addiu $t3, $zero, 0x0028 ## $t3 = 00000028
/* 011C8 809844C8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 011CC 809844CC 24490008 */ addiu $t1, $v0, 0x0008 ## $t1 = 00000008
/* 011D0 809844D0 AE0902C0 */ sw $t1, 0x02C0($s0) ## 000002C0
/* 011D4 809844D4 AC4A0000 */ sw $t2, 0x0000($v0) ## 00000000
/* 011D8 809844D8 AFA00018 */ sw $zero, 0x0018($sp)
/* 011DC 809844DC AFA00014 */ sw $zero, 0x0014($sp)
/* 011E0 809844E0 AFAB0010 */ sw $t3, 0x0010($sp)
/* 011E4 809844E4 240500FF */ addiu $a1, $zero, 0x00FF ## $a1 = 000000FF
/* 011E8 809844E8 24060028 */ addiu $a2, $zero, 0x0028 ## $a2 = 00000028
/* 011EC 809844EC 00003825 */ or $a3, $zero, $zero ## $a3 = 00000000
/* 011F0 809844F0 0C260D0C */ jal func_80983430
/* 011F4 809844F4 AFA2003C */ sw $v0, 0x003C($sp)
/* 011F8 809844F8 8FA3003C */ lw $v1, 0x003C($sp)
/* 011FC 809844FC 3C0DDB06 */ lui $t5, 0xDB06 ## $t5 = DB060000
/* 01200 80984500 35AD0028 */ ori $t5, $t5, 0x0028 ## $t5 = DB060028
/* 01204 80984504 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 01208 80984508 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 0120C 8098450C 240E0014 */ addiu $t6, $zero, 0x0014 ## $t6 = 00000014
/* 01210 80984510 240F0028 */ addiu $t7, $zero, 0x0028 ## $t7 = 00000028
/* 01214 80984514 244C0008 */ addiu $t4, $v0, 0x0008 ## $t4 = 00000008
/* 01218 80984518 AE0C02C0 */ sw $t4, 0x02C0($s0) ## 000002C0
/* 0121C 8098451C AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
/* 01220 80984520 2418001E */ addiu $t8, $zero, 0x001E ## $t8 = 0000001E
/* 01224 80984524 AFB80018 */ sw $t8, 0x0018($sp)
/* 01228 80984528 AFAF0014 */ sw $t7, 0x0014($sp)
/* 0122C 8098452C AFAE0010 */ sw $t6, 0x0010($sp)
/* 01230 80984530 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 01234 80984534 240500FF */ addiu $a1, $zero, 0x00FF ## $a1 = 000000FF
/* 01238 80984538 240600FF */ addiu $a2, $zero, 0x00FF ## $a2 = 000000FF
/* 0123C 8098453C 240700FF */ addiu $a3, $zero, 0x00FF ## $a3 = 000000FF
/* 01240 80984540 0C260D0C */ jal func_80983430
/* 01244 80984544 AFA20038 */ sw $v0, 0x0038($sp)
/* 01248 80984548 8FA30038 */ lw $v1, 0x0038($sp)
/* 0124C 8098454C 3C198098 */ lui $t9, %hi(func_8098419C) ## $t9 = 80980000
/* 01250 80984550 3C088098 */ lui $t0, %hi(func_809841F4) ## $t0 = 80980000
/* 01254 80984554 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 01258 80984558 8FA30068 */ lw $v1, 0x0068($sp)
/* 0125C 8098455C 250841F4 */ addiu $t0, $t0, %lo(func_809841F4) ## $t0 = 809841F4
/* 01260 80984560 2739419C */ addiu $t9, $t9, %lo(func_8098419C) ## $t9 = 8098419C
/* 01264 80984564 2462014C */ addiu $v0, $v1, 0x014C ## $v0 = 0000014C
/* 01268 80984568 8C450004 */ lw $a1, 0x0004($v0) ## 00000150
/* 0126C 8098456C 8C460020 */ lw $a2, 0x0020($v0) ## 0000016C
/* 01270 80984570 90470002 */ lbu $a3, 0x0002($v0) ## 0000014E
/* 01274 80984574 AFA80014 */ sw $t0, 0x0014($sp)
/* 01278 80984578 AFB90010 */ sw $t9, 0x0010($sp)
/* 0127C 8098457C 8FA4006C */ lw $a0, 0x006C($sp)
/* 01280 80984580 0C0286B2 */ jal SkelAnime_DrawFlexOpa
/* 01284 80984584 AFA30018 */ sw $v1, 0x0018($sp)
/* 01288 80984588 3C068098 */ lui $a2, %hi(D_80984954) ## $a2 = 80980000
/* 0128C 8098458C 24C64954 */ addiu $a2, $a2, %lo(D_80984954) ## $a2 = 80984954
/* 01290 80984590 27A40044 */ addiu $a0, $sp, 0x0044 ## $a0 = FFFFFFDC
/* 01294 80984594 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 01298 80984598 0C031AD5 */ jal Graph_CloseDisps
/* 0129C 8098459C 24070155 */ addiu $a3, $zero, 0x0155 ## $a3 = 00000155
/* 012A0 809845A0 8FBF002C */ lw $ra, 0x002C($sp)
/* 012A4 809845A4 8FB00028 */ lw $s0, 0x0028($sp)
/* 012A8 809845A8 27BD0068 */ addiu $sp, $sp, 0x0068 ## $sp = 00000000
/* 012AC 809845AC 03E00008 */ jr $ra
/* 012B0 809845B0 00000000 */ nop

View file

@ -1,4 +0,0 @@
glabel func_80984610
/* 01310 80984610 AFA40000 */ sw $a0, 0x0000($sp)
/* 01314 80984614 03E00008 */ jr $ra
/* 01318 80984618 AFA50004 */ sw $a1, 0x0004($sp)

View file

@ -1,34 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel D_809846D0
.word 0x00000000, 0x00000000, 0x00000000
glabel D_809846DC
.word 0xC1600000, 0x40A00000, 0x40A00000, 0xC1A00000, 0x41400000, 0x00000000, 0xC0A00000, 0x41200000, 0xBF800000, 0xC1200000, 0x41000000, 0x41600000, 0xC0400000, 0x41200000, 0x40E00000, 0xC1200000, 0x41300000, 0x00000000, 0x41100000, 0x41200000, 0xC1000000, 0x40800000, 0x41200000, 0x40400000, 0xC0C00000, 0x41500000, 0xC0A00000, 0x3F800000, 0x41100000, 0x40400000, 0xC1200000, 0x41100000, 0x3F800000
glabel D_80984760
.word func_80983AA4
.word func_80983AC4
.word func_80983AF4
.word func_80984124
.word func_80984144
.word func_80984164
glabel D_80984778
.word func_80984610
.word func_80983C9C
.word func_8098441C
glabel Demo_Ik_InitVars
.word 0x01140400, 0x00000010, 0x01060000, 0x000001B4
.word DemoIk_Init
.word DemoIk_Destroy
.word DemoIk_Update
.word DemoIk_Draw
.word 0x00000000, 0x00000000, 0x00000000

View file

@ -1,13 +0,0 @@
.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .rodata
.balign 16
glabel D_80984A00
.incbin "baserom/ovl_Demo_Ik", 0x1700, 0x000001E0

3
spec
View file

@ -1517,8 +1517,7 @@ endseg
beginseg
name "ovl_Demo_Ik"
include "build/src/overlays/actors/ovl_Demo_Ik/z_demo_ik.o"
include "build/data/overlays/actors/z_demo_ik.data.o"
include "build/data/overlays/actors/z_demo_ik.reloc.o"
include "build/src/overlays/actors/ovl_Demo_Ik/ovl_Demo_Ik_reloc.o"
endseg
beginseg

View file

@ -1,4 +1,5 @@
#include "z_demo_ik.h"
#include "vt.h"
#define FLAGS 0x00000010
@ -9,27 +10,518 @@ void DemoIk_Destroy(Actor* thisx, GlobalContext* globalCtx);
void DemoIk_Update(Actor* thisx, GlobalContext* globalCtx);
void DemoIk_Draw(Actor* thisx, GlobalContext* globalCtx);
extern UNK_TYPE D_0600035C;
extern UNK_TYPE D_06000380;
extern UNK_TYPE D_06000634;
extern UNK_TYPE D_06000660;
extern UNK_TYPE D_060008DC;
extern UNK_TYPE D_06000C6C;
extern UNK_TYPE D_06000C90;
extern UNK_TYPE D_06000F0C;
extern UNK_TYPE D_06016BE0;
extern UNK_TYPE D_06016CD8;
extern UNK_TYPE D_06016F88;
extern UNK_TYPE D_06017028;
extern UNK_TYPE D_06017170;
extern UNK_TYPE D_0601EE60;
extern UNK_TYPE D_06000F30;
extern UNK_TYPE D_0601EB14;
extern UNK_TYPE D_0601EB40;
extern UNK_TYPE D_0601EE34;
extern UNK_TYPE D_06000900;
void DemoIk_Type1Init(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type2Init(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type1Action0(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type1Action1(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type1Action2(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type2Action0(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type2Action1(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type2Action2(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_DrawNothing(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type1Draw(DemoIk* this, GlobalContext* globalCtx);
void DemoIk_Type2Draw(DemoIk* this, GlobalContext* globalCtx);
extern AnimationHeader D_0600035C;
extern SkeletonHeader D_06000380;
extern AnimationHeader D_06000634;
extern SkeletonHeader D_06000660;
extern AnimationHeader D_060008DC;
extern AnimationHeader D_06000C6C;
extern SkeletonHeader D_06000C90;
extern AnimationHeader D_06000F0C;
extern Gfx D_06016BE0[];
extern Gfx D_06016CD8[];
extern Gfx D_06016F88[];
extern Gfx D_06017028[];
extern Gfx D_06017170[];
extern FlexSkeletonHeader D_0601EE60;
extern FlexSkeletonHeader D_06000F30;
extern AnimationHeader D_0601EB14;
extern FlexSkeletonHeader D_0601EB40;
extern AnimationHeader D_0601EE34;
extern FlexSkeletonHeader D_06000900;
void DemoIk_Destroy(Actor* thisx, GlobalContext* globalCtx) {
}
void DemoIk_BgCheck(DemoIk* this, GlobalContext* globalCtx) {
Actor_UpdateBgCheckInfo(globalCtx, &this->actor, 75.0f, 30.0f, 30.0f, 5);
}
s32 DemoIk_UpdateSkelAnime(DemoIk* this) {
return SkelAnime_Update(&this->skelAnime);
}
CsCmdActorAction* DemoIk_GetCue(GlobalContext* globalCtx, s32 index) {
if (globalCtx->csCtx.state != 0) {
return globalCtx->csCtx.npcActions[index];
}
return NULL;
}
s32 DemoIk_CheckCue(GlobalContext* globalCtx, u16 action, s32 index) {
CsCmdActorAction* cue = DemoIk_GetCue(globalCtx, index);
if ((cue != NULL) && (cue->action == action)) {
return 1;
}
return 0;
}
void DemoIk_SetMove(DemoIk* this, GlobalContext* globalCtx) {
this->skelAnime.moveFlags |= 1;
AnimationContext_SetMoveActor(globalCtx, &this->actor, &this->skelAnime, 1.0f);
}
void DemoIk_EndMove(DemoIk* this) {
this->skelAnime.moveFlags &= ~1;
}
f32 DemoIk_GetCurFrame(DemoIk* this) {
return this->skelAnime.curFrame;
}
Gfx* DemoIk_SetColors(GraphicsContext* gfxCtx, u8 primR, u8 primG, u8 primB, u8 envR, u8 envG, u8 envB) {
Gfx* head = Graph_Alloc(gfxCtx, 3 * sizeof(Gfx));
Gfx* entry = head;
gDPSetPrimColor(entry++, 0x00, 0x00, primR, primG, primB, 255);
gDPSetEnvColor(entry++, envR, envG, envB, 255);
gSPEndDisplayList(entry++);
return head;
}
s32 DemoIk_GetIndexFromParams(s32 params) {
s32 ret;
if (params == 0) {
ret = 5;
} else if (params == 1) {
ret = 6;
} else {
ret = 7;
}
return ret;
}
void DemoIk_Type1PlaySound(DemoIk* this) {
switch (this->actor.params) {
case 0:
if (Animation_OnFrame(&this->skelAnime, 5.0f)) {
Audio_PlaySoundGeneral(NA_SE_EN_IRONNACK_ARMOR_LAND1_DEMO, &this->actor.projectedPos, 4, &D_801333E0,
&D_801333E0, &D_801333E8);
}
break;
case 1:
if (Animation_OnFrame(&this->skelAnime, 10.0f)) {
Audio_PlaySoundGeneral(NA_SE_EN_IRONNACK_ARMOR_LAND3_DEMO, &this->actor.projectedPos, 4, &D_801333E0,
&D_801333E0, &D_801333E8);
}
break;
case 2:
if (Animation_OnFrame(&this->skelAnime, 9.0f)) {
Audio_PlaySoundGeneral(NA_SE_EN_IRONNACK_ARMOR_LAND2_DEMO, &this->actor.projectedPos, 4, &D_801333E0,
&D_801333E0, &D_801333E8);
}
break;
}
}
void DemoIk_SpawnDeadDb(DemoIk* this, GlobalContext* globalCtx) {
static Vec3f deadDbOffsets[] = {
{ -14.0f, 5.0f, 5.0f }, { -20.0f, 12.0f, 0.0f }, { -5.0f, 10.0f, -1.0f }, { -10.0f, 8.0f, 14.0f },
{ -3.0f, 10.0f, 7.0f }, { -10.0f, 11.0f, 0.0f }, { 9.0f, 10.0f, -8.0f }, { 4.0f, 10.0f, 3.0f },
{ -6.0f, 13.0f, -5.0f }, { 1.0f, 9.0f, 3.0f }, { -10.0f, 9.0f, 1.0f },
};
s32 i;
s32 index = DemoIk_GetIndexFromParams(this->actor.params);
if (DemoIk_CheckCue(globalCtx, 5, index)) {
Vec3f pos;
Vec3f zeroVec = { 0.0f, 0.0f, 0.0f };
s32 startIndex;
s32 endIndex;
if (index == 5) {
startIndex = 0;
endIndex = 4;
} else if (index == 7) {
startIndex = 4;
endIndex = 8;
} else {
startIndex = 8;
endIndex = 11;
}
for (i = startIndex; i < endIndex; i++) {
pos.x = deadDbOffsets[i].x + this->actor.world.pos.x;
pos.y = deadDbOffsets[i].y + this->actor.world.pos.y;
pos.z = deadDbOffsets[i].z + this->actor.world.pos.z;
EffectSsDeadDb_Spawn(globalCtx, &pos, &zeroVec, &zeroVec, 10, 7, 255, 255, 255, 255, 0, 0, 255, 1, 9, true);
}
}
}
void DemoIk_MoveToStartPos(DemoIk* this, GlobalContext* globalCtx, s32 index) {
CsCmdActorAction* cue = DemoIk_GetCue(globalCtx, index);
if (cue != NULL) {
this->actor.world.pos.x = cue->startPos.x;
this->actor.world.pos.y = cue->startPos.y;
this->actor.world.pos.z = cue->startPos.z;
this->actor.world.rot.y = this->actor.shape.rot.y = cue->rot.y;
}
}
void DemoIk_Type1Init(DemoIk* this, GlobalContext* globalCtx) {
s32 pad[3];
SkeletonHeader* skeleton;
AnimationHeader* animation;
f32 phi_f0;
switch (this->actor.params) {
case 0:
skeleton = &D_06000C90;
animation = &D_06000C6C;
phi_f0 = 30.0f;
break;
case 1:
skeleton = &D_06000660;
animation = &D_06000634;
phi_f0 = 10.0f;
break;
default:
skeleton = &D_06000380;
animation = &D_0600035C;
phi_f0 = 20.0f;
// No break is required for matching
}
ActorShape_Init(&this->actor.shape, 0.0f, ActorShadow_DrawCircle, phi_f0);
SkelAnime_Init(globalCtx, &this->skelAnime, skeleton, NULL, this->jointTable, this->morphTable, 2);
Animation_Change(&this->skelAnime, animation, 1.0f, 0.0f, Animation_GetLastFrame(animation), 2, 0.0f);
}
void func_8098393C(DemoIk* this) {
this->actionMode = 0;
this->drawMode = 0;
this->actor.shape.shadowAlpha = 0;
}
void func_8098394C(DemoIk* this, GlobalContext* globalCtx) {
DemoIk_EndMove(this);
DemoIk_MoveToStartPos(this, globalCtx, DemoIk_GetIndexFromParams(this->actor.params));
this->actionMode = 1;
this->drawMode = 1;
this->actor.shape.shadowAlpha = 255;
this->skelAnime.curFrame = 0.0f;
}
void func_809839AC(DemoIk* this) {
this->actionMode = 2;
this->drawMode = 1;
this->actor.shape.shadowAlpha = 255;
this->skelAnime.curFrame = 0.0f;
}
void func_809839D0(DemoIk* this, GlobalContext* globalCtx) {
CsCmdActorAction* cue = DemoIk_GetCue(globalCtx, DemoIk_GetIndexFromParams(this->actor.params));
if (cue != NULL) {
s32 nextCsAction = cue->action;
s32 csAction = this->csAction;
if (nextCsAction != csAction) {
switch (nextCsAction) {
case 1:
func_8098393C(this);
break;
case 2:
func_8098394C(this, globalCtx);
break;
case 3:
func_809839AC(this);
break;
case 4:
Actor_Kill(&this->actor);
break;
case 5:
case 6:
break;
default:
// there is no such action
osSyncPrintf("Demo_Ik_Check_DemoMode:そんな動作は無い!!!!!!!!\n");
}
this->csAction = nextCsAction;
}
}
}
void DemoIk_Type1Action0(DemoIk* this, GlobalContext* globalCtx) {
func_809839D0(this, globalCtx);
}
void DemoIk_Type1Action1(DemoIk* this, GlobalContext* globalCtx) {
DemoIk_BgCheck(this, globalCtx);
func_809839D0(this, globalCtx);
}
void DemoIk_Type1Action2(DemoIk* this, GlobalContext* globalCtx) {
DemoIk_UpdateSkelAnime(this);
DemoIk_Type1PlaySound(this);
DemoIk_SetMove(this, globalCtx);
DemoIk_BgCheck(this, globalCtx);
DemoIk_SpawnDeadDb(this, globalCtx);
func_809839D0(this, globalCtx);
}
void DemoIk_Type1PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
DemoIk* this = THIS;
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
OPEN_DISPS(gfxCtx, "../z_demo_ik_inArmer.c", 385);
if (limbIndex == 1) {
switch (this->actor.params) {
case 0:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inArmer.c", 390),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06016BE0);
break;
case 2:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inArmer.c", 396),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06016F88);
break;
}
}
CLOSE_DISPS(gfxCtx, "../z_demo_ik_inArmer.c", 404);
}
void DemoIk_Type1Draw(DemoIk* this, GlobalContext* globalCtx) {
s32 pad[2];
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
SkelAnime* skelAnime = &this->skelAnime;
OPEN_DISPS(gfxCtx, "../z_demo_ik_inArmer.c", 422);
func_8002EBCC(&this->actor, globalCtx, 0);
func_80093D18(gfxCtx);
func_80093D84(gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08, DemoIk_SetColors(gfxCtx, 245, 225, 155, 30, 30, 0));
gSPSegment(POLY_OPA_DISP++, 0x09, DemoIk_SetColors(gfxCtx, 255, 40, 0, 40, 0, 0));
gSPSegment(POLY_OPA_DISP++, 0x0A, DemoIk_SetColors(gfxCtx, 255, 255, 255, 20, 40, 30));
SkelAnime_DrawOpa(globalCtx, skelAnime->skeleton, skelAnime->jointTable, NULL, DemoIk_Type1PostLimbDraw, this);
CLOSE_DISPS(gfxCtx, "../z_demo_ik_inArmer.c", 444);
}
void DemoIk_Type2Init(DemoIk* this, GlobalContext* globalCtx) {
s32 pad[2];
FlexSkeletonHeader* skeleton;
AnimationHeader* animation;
switch (this->actor.params) {
case 3:
skeleton = &D_0601EB40;
animation = &D_0601EB14;
break;
case 4:
skeleton = &D_0601EE60;
animation = &D_0601EE34;
break;
case 5:
skeleton = &D_06000F30;
animation = &D_06000F0C;
break;
default:
skeleton = &D_06000900;
animation = &D_060008DC;
}
SkelAnime_InitFlex(globalCtx, &this->skelAnime, skeleton, NULL, this->jointTable, this->morphTable, 2);
Animation_Change(&this->skelAnime, animation, 1.0f, 0.0f, Animation_GetLastFrame(animation), 2, 0.0f);
this->actionMode = 3;
this->drawMode = 0;
}
void DemoIk_Type2PlaySoundOnFrame(DemoIk* this, f32 frame) {
if (Animation_OnFrame(&this->skelAnime, frame)) {
Audio_PlaySoundGeneral(NA_SE_EN_IRONNACK_ARMOR_OFF_DEMO, &this->actor.projectedPos, 4, &D_801333E0, &D_801333E0,
&D_801333E8);
}
}
void DemoIk_Type2PlaySound(DemoIk* this) {
switch (this->actor.params) {
case 3:
DemoIk_Type2PlaySoundOnFrame(this, 33.0f);
break;
case 5:
DemoIk_Type2PlaySoundOnFrame(this, 44.0f);
break;
}
}
void func_80983FDC(DemoIk* this) {
this->actionMode = 3;
this->drawMode = 0;
}
void func_80983FEC(DemoIk* this, GlobalContext* globalCtx) {
DemoIk_MoveToStartPos(this, globalCtx, 4);
this->actionMode = 4;
this->drawMode = 2;
this->skelAnime.curFrame = 0.0f;
}
void func_8098402C(DemoIk* this) {
this->actionMode = 5;
this->drawMode = 2;
this->skelAnime.curFrame = 0.0f;
}
void func_80984048(DemoIk* this, GlobalContext* globalCtx) {
CsCmdActorAction* cue = DemoIk_GetCue(globalCtx, 4);
if (cue != NULL) {
s32 nextCsAction = cue->action;
s32 csAction = this->csAction;
if (nextCsAction != csAction) {
switch (nextCsAction) {
case 1:
func_80983FDC(this);
break;
case 5:
func_80983FEC(this, globalCtx);
break;
case 6:
func_8098402C(this);
break;
case 7:
Actor_Kill(&this->actor);
break;
default:
// there is no such action
osSyncPrintf("Demo_Ik_inFace_Check_DemoMode:そんな動作は無い!!!!!!!!\n");
}
this->csAction = nextCsAction;
}
}
}
void DemoIk_Type2Action0(DemoIk* this, GlobalContext* globalCtx) {
func_80984048(this, globalCtx);
}
void DemoIk_Type2Action1(DemoIk* this, GlobalContext* globalCtx) {
func_80984048(this, globalCtx);
}
void DemoIk_Type2Action2(DemoIk* this, GlobalContext* globalCtx) {
DemoIk_UpdateSkelAnime(this);
DemoIk_Type2PlaySound(this);
func_80984048(this, globalCtx);
}
s32 DemoIk_Type2OverrideLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot,
void* thisx) {
DemoIk* this = THIS;
if ((limbIndex == 1) && (DemoIk_GetCurFrame(this) < 30.0f)) {
*dList = NULL;
}
return 0;
}
void DemoIk_Type2PostLimbDraw(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, void* thisx) {
DemoIk* this = THIS;
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
f32 frame = DemoIk_GetCurFrame(this);
OPEN_DISPS(gfxCtx, "../z_demo_ik_inFace.c", 268);
if (limbIndex == 1 && (frame >= 30.0f)) {
switch (this->actor.params) {
case 3:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inFace.c", 274),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06017028);
break;
case 4:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inFace.c", 280),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06017170);
break;
case 5:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inFace.c", 286),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06016BE0);
break;
default:
gSPMatrix(POLY_XLU_DISP++, Matrix_NewMtx(gfxCtx, "../z_demo_ik_inFace.c", 292),
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
gSPDisplayList(POLY_XLU_DISP++, D_06016CD8);
break;
}
}
CLOSE_DISPS(gfxCtx, "../z_demo_ik_inFace.c", 300);
}
void DemoIk_Type2Draw(DemoIk* this, GlobalContext* globalCtx) {
s32 pad[2];
GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
SkelAnime* skelAnime = &this->skelAnime;
OPEN_DISPS(gfxCtx, "../z_demo_ik_inFace.c", 318);
func_8002EBCC(&this->actor, globalCtx, 0);
func_80093D18(gfxCtx);
func_80093D84(gfxCtx);
gSPSegment(POLY_OPA_DISP++, 0x08, DemoIk_SetColors(gfxCtx, 245, 225, 155, 30, 30, 0));
gSPSegment(POLY_OPA_DISP++, 0x09, DemoIk_SetColors(gfxCtx, 255, 40, 0, 40, 0, 0));
gSPSegment(POLY_OPA_DISP++, 0x0A, DemoIk_SetColors(gfxCtx, 255, 255, 255, 20, 40, 30));
SkelAnime_DrawFlexOpa(globalCtx, skelAnime->skeleton, skelAnime->jointTable, skelAnime->dListCount,
DemoIk_Type2OverrideLimbDraw, DemoIk_Type2PostLimbDraw, this);
CLOSE_DISPS(gfxCtx, "../z_demo_ik_inFace.c", 341);
}
static DemoIkActionFunc sActionFuncs[] = {
DemoIk_Type1Action0, DemoIk_Type1Action1, DemoIk_Type1Action2,
DemoIk_Type2Action0, DemoIk_Type2Action1, DemoIk_Type2Action2,
};
void DemoIk_Update(Actor* thisx, GlobalContext* globalCtx) {
s32 pad;
DemoIk* this = THIS;
if (this->actionMode < 0 || this->actionMode >= ARRAY_COUNT(sActionFuncs) ||
sActionFuncs[this->actionMode] == NULL) {
// The main mode is strange
osSyncPrintf(VT_FGCOL(RED) "メインモードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
return;
}
sActionFuncs[this->actionMode](this, globalCtx);
}
void DemoIk_DrawNothing(DemoIk* this, GlobalContext* globalCtx) {
}
static DemoIkDrawFunc sDrawFuncs[] = {
DemoIk_DrawNothing,
DemoIk_Type1Draw,
DemoIk_Type2Draw,
};
void DemoIk_Draw(Actor* thisx, GlobalContext* globalCtx) {
s32 pad;
DemoIk* this = THIS;
if (this->drawMode < 0 || this->drawMode >= ARRAY_COUNT(sDrawFuncs) || sDrawFuncs[this->drawMode] == NULL) {
// The draw mode is strange
osSyncPrintf(VT_FGCOL(RED) "描画モードがおかしい!!!!!!!!!!!!!!!!!!!!!!!!!\n" VT_RST);
return;
}
sDrawFuncs[this->drawMode](this, globalCtx);
}
/*
const ActorInit Demo_Ik_InitVars = {
ACTOR_DEMO_IK,
ACTORCAT_NPC,
@ -41,83 +533,14 @@ const ActorInit Demo_Ik_InitVars = {
(ActorFunc)DemoIk_Update,
(ActorFunc)DemoIk_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/DemoIk_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098330C.s")
void DemoIk_Init(Actor* thisx, GlobalContext* globalCtx) {
s32 pad;
DemoIk* this = THIS;
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983354.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983374.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983398.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809833D8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983418.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983428.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983430.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809834D8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983500.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809835FC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809837A0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983820.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098393C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098394C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809839AC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809839D0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983AA4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983AC4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983AF4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983B58.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983C9C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983E28.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983F30.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983F8C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983FDC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80983FEC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098402C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80984048.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80984124.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80984144.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80984164.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098419C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_809841F4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_8098441C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/DemoIk_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/func_80984610.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/DemoIk_Draw.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Demo_Ik/DemoIk_Init.s")
if (this->actor.params == 0 || this->actor.params == 1 || this->actor.params == 2) {
DemoIk_Type1Init(this, globalCtx);
} else {
DemoIk_Type2Init(this, globalCtx);
}
}

View file

@ -6,9 +6,17 @@
struct DemoIk;
typedef void (*DemoIkActionFunc)(struct DemoIk* this, GlobalContext* globalCtx);
typedef void (*DemoIkDrawFunc)(struct DemoIk* this, GlobalContext* globalCtx);
typedef struct DemoIk {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x68];
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ Vec3s jointTable[2];
/* 0x019C */ Vec3s morphTable[2];
/* 0x01A8 */ s32 actionMode;
/* 0x01AC */ s32 drawMode;
/* 0x01B0 */ s32 csAction;
} DemoIk; // size = 0x01B4
extern const ActorInit Demo_Ik_InitVars;