1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
.include "asm/macros.inc"
.include "global.inc"
.section .text
arm_func_start NNSi_G3dGetJointScaleBasic
NNSi_G3dGetJointScaleBasic: ; 0x020BE62C
ands r2, r3, #0x4
ldrne r1, [r0, #0x0]
orrne r1, r1, #0x1
strne r1, [r0, #0x0]
bne _020BE658
ldr r2, [r1, #0x0]
str r2, [r0, #0x4]
ldr r2, [r1, #0x4]
str r2, [r0, #0x8]
ldr r1, [r1, #0x8]
str r1, [r0, #0xc]
_020BE658:
ldr r1, [r0, #0x0]
orr r1, r1, #0x18
str r1, [r0, #0x0]
bx lr
arm_func_end NNSi_G3dGetJointScaleBasic
arm_func_start NNSi_G3dSendJointSRTBasic
NNSi_G3dSendJointSRTBasic: ; 0x020BE668
stmdb sp!, {r4,lr}
mov r4, r0
ldr r1, [r4, #0x0]
ands r0, r1, #0x4
bne _020BE6AC
ands r0, r1, #0x2
bne _020BE698
add r1, r4, #0x28
mov r0, #0x19
mov r2, #0xc
bl NNS_G3dGeBufferOP_N
b _020BE6C4
_020BE698:
add r1, r4, #0x4c
mov r0, #0x1c
mov r2, #0x3
bl NNS_G3dGeBufferOP_N
b _020BE6C4
_020BE6AC:
ands r0, r1, #0x2
bne _020BE6C4
add r1, r4, #0x28
mov r0, #0x1a
mov r2, #0x9
bl NNS_G3dGeBufferOP_N
_020BE6C4:
ldr r0, [r4, #0x0]
ands r0, r0, #0x1
ldmneia sp!, {r4,pc}
add r1, r4, #0x4
mov r0, #0x1b
mov r2, #0x3
bl NNS_G3dGeBufferOP_N
ldmia sp!, {r4,pc}
arm_func_end NNSi_G3dSendJointSRTBasic
|