Files
dusklight/include/SComponent/c_lib/asm/func_80270C04.s
T
lepelog 0eec99db4d Split SComponent (#45)
* split c_math

* split c_angle

* split c_API_controller_pad

* split c_API_graphic

* split c_bg_s_chk

* c_bg_s_gnd_chk split

* more c_bg split

* split c_cc_d

* delete asm

* split c_cc_s

* split c_lib

* split c_m2d and c_m3d_g_aab

* split c_m3d_g_cir

* split c_m3d_g_cps

* split rest of c_m3d_g

* split c_m3d

* split c_malloc

* split c_request

* split c_sxyz

* split and partly decompile c_xyz

* format

* c_angle.h

* begin c_angle decomp

* c_angle

* progress adding stub classes for SComponent

* more c_m3d

* remove some asm and format

* more m3d headers

* more c_angle decomp

* c_lib headers

* add public to classes

* fix csXyz member names

* c_sxyz partly OK

* move Zero csXyz to c_sxyz header

* c_API_graphic

* delete some unused asm

* move math extern data, decompile some functions

* delete unused asm

* fix duplicated c_angle.h

* fix an inlined function name, add more inlined functions for c_angle.h (currently unused)

* format

Co-authored-by: Pheenoh <pheenoh@gmail.com>
2021-01-06 20:04:53 -05:00

14 lines
716 B
ArmAsm

/* 80270C04 0026DB44 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80270C08 0026DB48 7C 08 02 A6 */ mflr r0
/* 80270C0C 0026DB4C 90 01 00 14 */ stw r0, 0x14(r1)
/* 80270C10 0026DB50 C0 24 00 00 */ lfs f1, 0(r4)
/* 80270C14 0026DB54 C0 03 00 00 */ lfs f0, 0(r3)
/* 80270C18 0026DB58 EC 21 00 28 */ fsubs f1, f1, f0
/* 80270C1C 0026DB5C C0 44 00 08 */ lfs f2, 8(r4)
/* 80270C20 0026DB60 C0 03 00 08 */ lfs f0, 8(r3)
/* 80270C24 0026DB64 EC 42 00 28 */ fsubs f2, f2, f0
/* 80270C28 0026DB68 4B FF 6A 4D */ bl cM_atan2s__Fff
/* 80270C2C 0026DB6C 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80270C30 0026DB70 7C 08 03 A6 */ mtlr r0
/* 80270C34 0026DB74 38 21 00 10 */ addi r1, r1, 0x10
/* 80270C38 0026DB78 4E 80 00 20 */ blr