IC Notes

From OpenSA: Smash Engine Documentation Wiki
Jump to: navigation, search

Dantarion's IC-Basic ASM Notes

0    runs soMotionModuleImpl-00-38
1    runs soMotionModuleImpl-00-44
2    runs soDamageModuleActor-00-50
3    runs soPostureModuleImpl-00-18 (0)
4    runs soPostureModuleImpl-00-18 (1)
5    runs soPostureModuleImpl-00-40 (0)
6    runs soPostureModuleImpl-00-(50,40) and adds the results
7    runs soPostureModuleImpl-00-40 (1)
8    runs soPostureModuleImpl-00-2C
9    runs soPostureModuleImpl-00-2C neg
10   runs (0) soMotionModuleImpl-00-100
11   runs (1) soMotionModuleImpl-00-100
12   runs (2) soMotionModuleImpl-00-100
13   runs (3) soMotionModuleImpl-00-100
14   runs (4) soMotionModuleImpl-00-100
15   runs (0) soMotionModuleImpl-00-104
16   runs (1) soMotionModuleImpl-00-104
17   runs (2) soMotionModuleImpl-00-104
18   runs (3) soMotionModuleImpl-00-104
19   runs (4) soMotionModuleImpl-00-104

20   runs soPostureModuleImpl-00-60
21   runs soPostureModuleImpl-00-18

22   runs (1->1) soKineticModuleGenericImpl-00-3C and return r3->fp1
23   runs (1->1) soKineticModuleGenericImpl-00-3C and return r4->fp1

24   runs soMotionModuleImpl-00-20

25      runs soPostureModuleImpl-00-2C,ftControllerModuleImpl-00-48 multiplies result (direction)
26      runs soPostureModuleImpl-00-2C,ftControllerModuleImpl-00-48 neg multiplies result (direction)

27   runs (1) soKineticModuleGenericImpl-00-3C and returns r3->round(abs(fp1)) (speed)
28   runs (1) soKineticModuleGenericImpl-00-3C,soPostureModuleImpl-00-2C) and returns r3*2C result(multiplies by direction)
29   runs (1) soKineticModuleGenericImpl-00-3C,soPostureModuleImpl-00-2C) and returns r3*2C result(multiplies by negative direction)

30-33  have something to do with pokemon vs indy pokemon, perhaps stamina
34-37  have something to do with AURA

38 runs (0) soDamageModuleActor-08-54
39 runs (0) soGroundModuleImpl-08-170

40 runs (0) soGroundModuleImpl-08-168 returns r4

1000 runs (1->0) soKineticModuleGenericImpl-00-(3C) and does crazy float math with r4 and f3, and some values loaded from r29
1001 runs (1->0) soKineticModuleGenericImpl-00-(3C) and returns r3->fp1
1002 runs (1->0) soKineticModuleGenericImpl-00-(3C) and returns r4->fp1
1003 runs  TODO
1004 runs soMotionModuleImpl-00-(120)
1005 runs (4) soKineticModuleGenericImpl-00-(20,10) and does crazy float math with r4 and f3, and some values loaded from r9
1006 runs (4) soKineticModuleGenericImpl-00-(20,10) and returns r3->fp1
1007 runs (4) soKineticModuleGenericImpl-00-(20,10) and returns r3->neg(fp1)
1008 runs (4) soKineticModuleGenericImpl-00-(20,10) and returns r4->fp1
1009 runs (4) soKineticModuleGenericImpl-00-(20,10) and returns r4->neg(fp1)

20000 runs soMotionModuleImpl-00-5C

20001 runs soStatusModuleImpl-00-48
20002 runs (-1) soStatusModuleImpl-00-84 and clears first 8 bits
20003 runs (0) soStatusModuleImpl-00-88
20004 runs soStatusModuleImpl-00-74 (0)
20005 runs soStatusModuleImpl-00-84 (1)

20006 runs soItemManageModuleImpl-00-60
20007 runs soItemManageModuleImpl-00-64
20008 runs soItemManageModuleImpl-00-44
20009 runs soItemManageModuleImpl-00-48

20010 runs (0) soMotionModuleImpl-00-BC
20011 runs (1) soMotionModuleImpl-00-BC
20012 runs (0) soMotionModuleImpl-00-E4
20013 runs (1) soMotionModuleImpl-00-E4
20014 runs (2) soMotionModuleImpl-00-E4
20015 runs (3) soMotionModuleImpl-00-E4
20016 runs (4) soMotionModuleImpl-00-E4

20017 runs ftControllerModuleImpl-00-64 clears first 8 bits

20018 runs (0) soItemManageModuleImpl-00-9C
20019 runs (0) soItemManageModuleImpl-00-50

20020 runs soCameraModuleImpl-00-78

20021 runs soTeamModuleImpl-00-18-(10,10)

20022 loads a pointer to soCollisionShieldModuleImpl

20023 runs (0) soGroundModuleImpl-00-58 clears first 8 bits

20024 runs soKineticModuleGenericImpl-00-60

20025 runs soSituationModuleImpl-00-14