glabel func_808945B4
/* 00114 808945B4 27BDFF38 */  addiu   $sp, $sp, 0xFF38           ## $sp = FFFFFF38
/* 00118 808945B8 F7BE0070 */  sdc1    $f30, 0x0070($sp)          
/* 0011C 808945BC 3C014040 */  lui     $at, 0x4040                ## $at = 40400000
/* 00120 808945C0 4481F000 */  mtc1    $at, $f30                  ## $f30 = 3.00
/* 00124 808945C4 F7BC0068 */  sdc1    $f28, 0x0068($sp)          
/* 00128 808945C8 3C0141C8 */  lui     $at, 0x41C8                ## $at = 41C80000
/* 0012C 808945CC 4481E000 */  mtc1    $at, $f28                  ## $f28 = 25.00
/* 00130 808945D0 F7BA0060 */  sdc1    $f26, 0x0060($sp)          
/* 00134 808945D4 3C014248 */  lui     $at, 0x4248                ## $at = 42480000
/* 00138 808945D8 4481D000 */  mtc1    $at, $f26                  ## $f26 = 50.00
/* 0013C 808945DC F7B80058 */  sdc1    $f24, 0x0058($sp)          
/* 00140 808945E0 3C014220 */  lui     $at, 0x4220                ## $at = 42200000
/* 00144 808945E4 4481C000 */  mtc1    $at, $f24                  ## $f24 = 40.00
/* 00148 808945E8 F7B60050 */  sdc1    $f22, 0x0050($sp)          
/* 0014C 808945EC 3C0141A0 */  lui     $at, 0x41A0                ## $at = 41A00000
/* 00150 808945F0 4481B000 */  mtc1    $at, $f22                  ## $f22 = 20.00
/* 00154 808945F4 AFBE0098 */  sw      $s8, 0x0098($sp)           
/* 00158 808945F8 F7B40048 */  sdc1    $f20, 0x0048($sp)          
/* 0015C 808945FC 3C014120 */  lui     $at, 0x4120                ## $at = 41200000
/* 00160 80894600 AFB70094 */  sw      $s7, 0x0094($sp)           
/* 00164 80894604 AFB60090 */  sw      $s6, 0x0090($sp)           
/* 00168 80894608 AFB5008C */  sw      $s5, 0x008C($sp)           
/* 0016C 8089460C AFB40088 */  sw      $s4, 0x0088($sp)           
/* 00170 80894610 3C1E0601 */  lui     $s8, 0x0601                ## $s8 = 06010000
/* 00174 80894614 4481A000 */  mtc1    $at, $f20                  ## $f20 = 10.00
/* 00178 80894618 0080A825 */  or      $s5, $a0, $zero            ## $s5 = 00000000
/* 0017C 8089461C AFBF009C */  sw      $ra, 0x009C($sp)           
/* 00180 80894620 AFB30084 */  sw      $s3, 0x0084($sp)           
/* 00184 80894624 AFB20080 */  sw      $s2, 0x0080($sp)           
/* 00188 80894628 AFB1007C */  sw      $s1, 0x007C($sp)           
/* 0018C 8089462C AFB00078 */  sw      $s0, 0x0078($sp)           
/* 00190 80894630 AFA500CC */  sw      $a1, 0x00CC($sp)           
/* 00194 80894634 27DEEDC0 */  addiu   $s8, $s8, 0xEDC0           ## $s8 = 0600EDC0
/* 00198 80894638 0000A025 */  or      $s4, $zero, $zero          ## $s4 = 00000000
/* 0019C 8089463C 27B600BC */  addiu   $s6, $sp, 0x00BC           ## $s6 = FFFFFFF4
/* 001A0 80894640 27B700B0 */  addiu   $s7, $sp, 0x00B0           ## $s7 = FFFFFFE8
/* 001A4 80894644 2412000C */  addiu   $s2, $zero, 0x000C         ## $s2 = 0000000C
.L80894648:
/* 001A8 80894648 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 001AC 8089464C 24130008 */  addiu   $s3, $zero, 0x0008         ## $s3 = 00000008
/* 001B0 80894650 46140102 */  mul.s   $f4, $f0, $f20             
/* 001B4 80894654 C6A60024 */  lwc1    $f6, 0x0024($s5)           ## 00000024
/* 001B8 80894658 46062200 */  add.s   $f8, $f4, $f6              
/* 001BC 8089465C 46144281 */  sub.s   $f10, $f8, $f20            
/* 001C0 80894660 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 001C4 80894664 E7AA00BC */  swc1    $f10, 0x00BC($sp)          
/* 001C8 80894668 46180402 */  mul.s   $f16, $f0, $f24            
/* 001CC 8089466C C6B20028 */  lwc1    $f18, 0x0028($s5)          ## 00000028
/* 001D0 80894670 46128100 */  add.s   $f4, $f16, $f18            
/* 001D4 80894674 46162181 */  sub.s   $f6, $f4, $f22             
/* 001D8 80894678 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 001DC 8089467C E7A600C0 */  swc1    $f6, 0x00C0($sp)           
/* 001E0 80894680 461A0202 */  mul.s   $f8, $f0, $f26             
/* 001E4 80894684 C6AA002C */  lwc1    $f10, 0x002C($s5)          ## 0000002C
/* 001E8 80894688 460A4400 */  add.s   $f16, $f8, $f10            
/* 001EC 8089468C 461C8481 */  sub.s   $f18, $f16, $f28           
/* 001F0 80894690 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 001F4 80894694 E7B200C4 */  swc1    $f18, 0x00C4($sp)          
/* 001F8 80894698 461E0102 */  mul.s   $f4, $f0, $f30             
/* 001FC 8089469C 3C018089 */  lui     $at, %hi(D_8089509C)       ## $at = 80890000
/* 00200 808946A0 C426509C */  lwc1    $f6, %lo(D_8089509C)($at)  
/* 00204 808946A4 46062201 */  sub.s   $f8, $f4, $f6              
/* 00208 808946A8 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 0020C 808946AC E7A800B0 */  swc1    $f8, 0x00B0($sp)           
/* 00210 808946B0 3C014190 */  lui     $at, 0x4190                ## $at = 41900000
/* 00214 808946B4 44815000 */  mtc1    $at, $f10                  ## $f10 = 18.00
/* 00218 808946B8 00000000 */  nop
/* 0021C 808946BC 460A0402 */  mul.s   $f16, $f0, $f10            
/* 00220 808946C0 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 00224 808946C4 E7B000B4 */  swc1    $f16, 0x00B4($sp)          
/* 00228 808946C8 3C013F00 */  lui     $at, 0x3F00                ## $at = 3F000000
/* 0022C 808946CC 44819000 */  mtc1    $at, $f18                  ## $f18 = 0.50
/* 00230 808946D0 3C014170 */  lui     $at, 0x4170                ## $at = 41700000
/* 00234 808946D4 44813000 */  mtc1    $at, $f6                   ## $f6 = 15.00
/* 00238 808946D8 46120101 */  sub.s   $f4, $f0, $f18             
/* 0023C 808946DC 46062202 */  mul.s   $f8, $f4, $f6              
/* 00240 808946E0 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 00244 808946E4 E7A800B8 */  swc1    $f8, 0x00B8($sp)           
/* 00248 808946E8 46160282 */  mul.s   $f10, $f0, $f22            
/* 0024C 808946EC 24100001 */  addiu   $s0, $zero, 0x0001         ## $s0 = 00000001
/* 00250 808946F0 4600540D */  trunc.w.s $f16, $f10                 
/* 00254 808946F4 44028000 */  mfc1    $v0, $f16                  
/* 00258 808946F8 00000000 */  nop
/* 0025C 808946FC 24420001 */  addiu   $v0, $v0, 0x0001           ## $v0 = 00000001
/* 00260 80894700 00027C00 */  sll     $t7, $v0, 16               
/* 00264 80894704 000FC403 */  sra     $t8, $t7, 16               
/* 00268 80894708 00028C00 */  sll     $s1, $v0, 16               
/* 0026C 8089470C 2B01000B */  slti    $at, $t8, 0x000B           
/* 00270 80894710 14200003 */  bne     $at, $zero, .L80894720     
/* 00274 80894714 00118C03 */  sra     $s1, $s1, 16               
/* 00278 80894718 10000001 */  beq     $zero, $zero, .L80894720   
/* 0027C 8089471C 24100005 */  addiu   $s0, $zero, 0x0005         ## $s0 = 00000005
.L80894720:
/* 00280 80894720 0C03F66B */  jal     Math_Rand_ZeroOne
              ## Rand.Next() float
/* 00284 80894724 00000000 */  nop
/* 00288 80894728 3C018089 */  lui     $at, %hi(D_808950A0)       ## $at = 80890000
/* 0028C 8089472C C43250A0 */  lwc1    $f18, %lo(D_808950A0)($at) 
/* 00290 80894730 8FA400CC */  lw      $a0, 0x00CC($sp)           
/* 00294 80894734 02C02825 */  or      $a1, $s6, $zero            ## $a1 = FFFFFFF4
/* 00298 80894738 4612003C */  c.lt.s  $f0, $f18                  
/* 0029C 8089473C 02E03025 */  or      $a2, $s7, $zero            ## $a2 = FFFFFFE8
/* 002A0 80894740 02C03825 */  or      $a3, $s6, $zero            ## $a3 = FFFFFFF4
/* 002A4 80894744 2419FED4 */  addiu   $t9, $zero, 0xFED4         ## $t9 = FFFFFED4
/* 002A8 80894748 45000005 */  bc1f    .L80894760                 
/* 002AC 8089474C 24080001 */  addiu   $t0, $zero, 0x0001         ## $t0 = 00000001
/* 002B0 80894750 36100040 */  ori     $s0, $s0, 0x0040           ## $s0 = 00000045
/* 002B4 80894754 00108400 */  sll     $s0, $s0, 16               
/* 002B8 80894758 10000008 */  beq     $zero, $zero, .L8089477C   
/* 002BC 8089475C 00108403 */  sra     $s0, $s0, 16               
.L80894760:
/* 002C0 80894760 36100020 */  ori     $s0, $s0, 0x0020           ## $s0 = 00000065
/* 002C4 80894764 00108400 */  sll     $s0, $s0, 16               
/* 002C8 80894768 2A210008 */  slti    $at, $s1, 0x0008           
/* 002CC 8089476C 10200003 */  beq     $at, $zero, .L8089477C     
/* 002D0 80894770 00108403 */  sra     $s0, $s0, 16               
/* 002D4 80894774 24120046 */  addiu   $s2, $zero, 0x0046         ## $s2 = 00000046
/* 002D8 80894778 24130028 */  addiu   $s3, $zero, 0x0028         ## $s3 = 00000028
.L8089477C:
/* 002DC 8089477C 2409000F */  addiu   $t1, $zero, 0x000F         ## $t1 = 0000000F
/* 002E0 80894780 240A0050 */  addiu   $t2, $zero, 0x0050         ## $t2 = 00000050
/* 002E4 80894784 240BFFFF */  addiu   $t3, $zero, 0xFFFF         ## $t3 = FFFFFFFF
/* 002E8 80894788 240C00F1 */  addiu   $t4, $zero, 0x00F1         ## $t4 = 000000F1
/* 002EC 8089478C AFAC0038 */  sw      $t4, 0x0038($sp)           
/* 002F0 80894790 AFAB0034 */  sw      $t3, 0x0034($sp)           
/* 002F4 80894794 AFAA0030 */  sw      $t2, 0x0030($sp)           
/* 002F8 80894798 AFA9002C */  sw      $t1, 0x002C($sp)           
/* 002FC 8089479C AFB90010 */  sw      $t9, 0x0010($sp)           
/* 00300 808947A0 AFB00014 */  sw      $s0, 0x0014($sp)           
/* 00304 808947A4 AFB20018 */  sw      $s2, 0x0018($sp)           
/* 00308 808947A8 AFB3001C */  sw      $s3, 0x001C($sp)           
/* 0030C 808947AC AFA00020 */  sw      $zero, 0x0020($sp)         
/* 00310 808947B0 AFB10024 */  sw      $s1, 0x0024($sp)           
/* 00314 808947B4 AFA80028 */  sw      $t0, 0x0028($sp)           
/* 00318 808947B8 0C00A7A3 */  jal     Effect_SpawnFragment
              
/* 0031C 808947BC AFBE003C */  sw      $s8, 0x003C($sp)           
/* 00320 808947C0 26940001 */  addiu   $s4, $s4, 0x0001           ## $s4 = 00000001
/* 00324 808947C4 24010014 */  addiu   $at, $zero, 0x0014         ## $at = 00000014
/* 00328 808947C8 5681FF9F */  bnel    $s4, $at, .L80894648       
/* 0032C 808947CC 2412000C */  addiu   $s2, $zero, 0x000C         ## $s2 = 0000000C
/* 00330 808947D0 240D0064 */  addiu   $t5, $zero, 0x0064         ## $t5 = 00000064
/* 00334 808947D4 240E00A0 */  addiu   $t6, $zero, 0x00A0         ## $t6 = 000000A0
/* 00338 808947D8 AFAE0014 */  sw      $t6, 0x0014($sp)           
/* 0033C 808947DC AFAD0010 */  sw      $t5, 0x0010($sp)           
/* 00340 808947E0 8FA400CC */  lw      $a0, 0x00CC($sp)           
/* 00344 808947E4 26A50024 */  addiu   $a1, $s5, 0x0024           ## $a1 = 00000024
/* 00348 808947E8 3C0642C8 */  lui     $a2, 0x42C8                ## $a2 = 42C80000
/* 0034C 808947EC 24070008 */  addiu   $a3, $zero, 0x0008         ## $a3 = 00000008
/* 00350 808947F0 0C00CD20 */  jal     func_80033480              
/* 00354 808947F4 AFA00018 */  sw      $zero, 0x0018($sp)         
/* 00358 808947F8 8FBF009C */  lw      $ra, 0x009C($sp)           
/* 0035C 808947FC D7B40048 */  ldc1    $f20, 0x0048($sp)          
/* 00360 80894800 D7B60050 */  ldc1    $f22, 0x0050($sp)          
/* 00364 80894804 D7B80058 */  ldc1    $f24, 0x0058($sp)          
/* 00368 80894808 D7BA0060 */  ldc1    $f26, 0x0060($sp)          
/* 0036C 8089480C D7BC0068 */  ldc1    $f28, 0x0068($sp)          
/* 00370 80894810 D7BE0070 */  ldc1    $f30, 0x0070($sp)          
/* 00374 80894814 8FB00078 */  lw      $s0, 0x0078($sp)           
/* 00378 80894818 8FB1007C */  lw      $s1, 0x007C($sp)           
/* 0037C 8089481C 8FB20080 */  lw      $s2, 0x0080($sp)           
/* 00380 80894820 8FB30084 */  lw      $s3, 0x0084($sp)           
/* 00384 80894824 8FB40088 */  lw      $s4, 0x0088($sp)           
/* 00388 80894828 8FB5008C */  lw      $s5, 0x008C($sp)           
/* 0038C 8089482C 8FB60090 */  lw      $s6, 0x0090($sp)           
/* 00390 80894830 8FB70094 */  lw      $s7, 0x0094($sp)           
/* 00394 80894834 8FBE0098 */  lw      $s8, 0x0098($sp)           
/* 00398 80894838 03E00008 */  jr      $ra                        
/* 0039C 8089483C 27BD00C8 */  addiu   $sp, $sp, 0x00C8           ## $sp = 00000000


