summaryrefslogtreecommitdiff
path: root/arm9/modules/63
diff options
context:
space:
mode:
authorKaz <kazbloxmc@gmail.com>2020-06-18 16:06:37 -0400
committerKaz <kazbloxmc@gmail.com>2020-06-18 16:06:37 -0400
commit4a3964f678de6cde21f55511ef06ecb48fcf3e19 (patch)
tree3407278a0b158d4e21b869bc16fc0f61d457f8a6 /arm9/modules/63
parentb4d34b46564d50e1ee4eafc7814cc00e9913552b (diff)
Decompile (gflib?) math_util file.
Diffstat (limited to 'arm9/modules/63')
-rw-r--r--arm9/modules/63/asm/module_63.s14
1 files changed, 7 insertions, 7 deletions
diff --git a/arm9/modules/63/asm/module_63.s b/arm9/modules/63/asm/module_63.s
index a6498412..70c6dc91 100644
--- a/arm9/modules/63/asm/module_63.s
+++ b/arm9/modules/63/asm/module_63.s
@@ -3077,10 +3077,10 @@ MOD63_021D8D10: ; 0x021D8D10
ldr r0, _021D8D94 ; =0x021C4918
strb r1, [r0, #5]
bl FUN_0201E7A0
- bl getseed_LC
+ bl GetLCRNGSeed
str r0, [r4, #0x14]
mov r0, #0
- bl seedr_LC
+ bl SetLCRNGSeed
mov r0, #1
pop {r4, pc}
.align 2, 0
@@ -3205,7 +3205,7 @@ MOD63_021D8E68: ; 0x021D8E68
add r4, r0, #0
bl FUN_0200E31C
ldr r0, [r4, #0x14]
- bl seedr_LC
+ bl SetLCRNGSeed
add r0, r5, #0
bl FUN_0200627C
mov r0, #0x4c
@@ -7639,7 +7639,7 @@ _021DB248:
stmia r2!, {r0, r1}
ldr r0, [r3]
str r0, [r2]
- bl rand_LC
+ bl LCRandom
lsr r1, r0, #0x1f
lsl r2, r0, #0x19
sub r2, r2, r1
@@ -7649,7 +7649,7 @@ _021DB248:
add r0, #0x40
lsl r0, r0, #0xc
str r0, [sp, #4]
- bl rand_LC
+ bl LCRandom
lsr r1, r0, #0x1f
lsl r2, r0, #0x1a
sub r2, r2, r1
@@ -7823,13 +7823,13 @@ _021DB3A8:
stmia r2!, {r0, r1}
ldr r0, [r3]
str r0, [r2]
- bl rand_LC
+ bl LCRandom
mov r1, #0xe0
bl _s32_div_f
add r1, #0xa
lsl r0, r1, #0xc
str r0, [sp, #4]
- bl rand_LC
+ bl LCRandom
mov r1, #0x38
bl _s32_div_f
ldr r0, _021DB41C ; =0x0000013A