Files
dusklight/include/SComponent/c_lib/asm/func_8026FA80.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

17 lines
746 B
ArmAsm

/* 8026FA80 0026C9C0 C0 03 00 00 */ lfs f0, 0(r3)
/* 8026FA84 0026C9C4 EC 20 00 72 */ fmuls f1, f0, f1
/* 8026FA88 0026C9C8 FC 01 10 40 */ fcmpo cr0, f1, f2
/* 8026FA8C 0026C9CC 40 81 00 0C */ ble lbl_8026FA98
/* 8026FA90 0026C9D0 FC 20 10 90 */ fmr f1, f2
/* 8026FA94 0026C9D4 48 00 00 14 */ b lbl_8026FAA8
lbl_8026FA98:
/* 8026FA98 0026C9D8 FC 00 10 50 */ fneg f0, f2
/* 8026FA9C 0026C9DC FC 01 00 40 */ fcmpo cr0, f1, f0
/* 8026FAA0 0026C9E0 40 80 00 08 */ bge lbl_8026FAA8
/* 8026FAA4 0026C9E4 FC 20 00 90 */ fmr f1, f0
lbl_8026FAA8:
/* 8026FAA8 0026C9E8 C0 03 00 00 */ lfs f0, 0(r3)
/* 8026FAAC 0026C9EC EC 00 08 28 */ fsubs f0, f0, f1
/* 8026FAB0 0026C9F0 D0 03 00 00 */ stfs f0, 0(r3)
/* 8026FAB4 0026C9F4 4E 80 00 20 */ blr