diff options
Diffstat (limited to 'arm9/asm/NNS_G2D_g2d_srtcontrol.s')
-rw-r--r-- | arm9/asm/NNS_G2D_g2d_srtcontrol.s | 40 |
1 files changed, 17 insertions, 23 deletions
diff --git a/arm9/asm/NNS_G2D_g2d_srtcontrol.s b/arm9/asm/NNS_G2D_g2d_srtcontrol.s index 01f30a6d..7c9139ef 100644 --- a/arm9/asm/NNS_G2D_g2d_srtcontrol.s +++ b/arm9/asm/NNS_G2D_g2d_srtcontrol.s @@ -3,9 +3,8 @@ .section .text - ; _end - arm_func_start FUN_020B1A40 -FUN_020B1A40: ; 0x020B1A40 + arm_func_start NNSi_G2dSrtcSetInitialValue +NNSi_G2dSrtcSetInitialValue: ; 0x020B1A40 stmdb sp!, {r4,lr} mov r4, r0 add r1, r4, #0x4 @@ -16,21 +15,19 @@ FUN_020B1A40: ; 0x020B1A40 str r0, [r4, #0x4] str r0, [r4, #0x8] ldmia sp!, {r4,pc} - arm_func_end FUN_020B1A40 + arm_func_end NNSi_G2dSrtcSetInitialValue - ; NNSi_G2dSrtcInitControl - arm_func_start FUN_020B1A68 -FUN_020B1A68: ; 0x020B1A68 - ldr ip, _020B1A74 ; =FUN_020B1A40 + arm_func_start NNSi_G2dSrtcInitControl +NNSi_G2dSrtcInitControl: ; 0x020B1A68 + ldr ip, _020B1A74 ; =NNSi_G2dSrtcSetInitialValue str r1, [r0, #0x0] bx r12 .balign 4 -_020B1A74: .word FUN_020B1A40 - arm_func_end FUN_020B1A68 +_020B1A74: .word NNSi_G2dSrtcSetInitialValue + arm_func_end NNSi_G2dSrtcInitControl - ; _end - arm_func_start FUN_020B1A78 -FUN_020B1A78: ; 0x020B1A78 + arm_func_start NNSi_G2dSrtcSetSRTScale +NNSi_G2dSrtcSetSRTScale: ; 0x020B1A78 ldr r3, [r0, #0x0] cmp r3, #0x1 ldreqh r3, [r0, #0x12] @@ -39,11 +36,10 @@ FUN_020B1A78: ; 0x020B1A78 streq r1, [r0, #0x4] streq r2, [r0, #0x8] bx lr - arm_func_end FUN_020B1A78 + arm_func_end NNSi_G2dSrtcSetSRTScale - ; _end - arm_func_start FUN_020B1A98 -FUN_020B1A98: ; 0x020B1A98 + arm_func_start NNSi_G2dSrtcSetSRTRotZ +NNSi_G2dSrtcSetSRTRotZ: ; 0x020B1A98 ldr r2, [r0, #0x0] cmp r2, #0x1 ldreqh r2, [r0, #0x12] @@ -51,11 +47,10 @@ FUN_020B1A98: ; 0x020B1A98 streqh r2, [r0, #0x12] streqh r1, [r0, #0x10] bx lr - arm_func_end FUN_020B1A98 + arm_func_end NNSi_G2dSrtcSetSRTRotZ - ; _end - arm_func_start FUN_020B1AB4 -FUN_020B1AB4: ; 0x020B1AB4 + arm_func_start NNSi_G2dSrtcSetTrans +NNSi_G2dSrtcSetTrans: ; 0x020B1AB4 ldr r3, [r0, #0x0] cmp r3, #0x1 ldreqh r3, [r0, #0x12] @@ -64,5 +59,4 @@ FUN_020B1AB4: ; 0x020B1AB4 streqh r1, [r0, #0xc] streqh r2, [r0, #0xe] bx lr - arm_func_end FUN_020B1AB4 - + arm_func_end NNSi_G2dSrtcSetTrans |