From 89b20bc2da98b82174d3bbc0d6c7421fa48a876d Mon Sep 17 00:00:00 2001 From: Aetias Date: Sat, 17 Feb 2024 00:27:54 +0100 Subject: Decomp `ItemManager::EquipItem_vfunc_3c` --- include/lib/math.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'include/lib') diff --git a/include/lib/math.h b/include/lib/math.h index 1b27fe54..d3379e7f 100644 --- a/include/lib/math.h +++ b/include/lib/math.h @@ -3,8 +3,6 @@ #include "types.h" -extern "C" u32 FastDivide(u32 a, u32 b); - // 20.12 fixed point number typedef u32 p32; @@ -15,4 +13,17 @@ typedef struct { /* c */ } Vec3p; +typedef struct { + /* 00 */ p32 x; + /* 04 */ p32 y; + /* 08 */ p32 z; + /* 0c */ p32 w; + /* 10 */ +} Vec4p; + +extern "C" u32 FastDivide(u32 a, u32 b); +extern "C" bool Approach(unk32 *src, unk32 dest, unk32 step); +extern "C" bool Approach_thunk(unk32 *src, unk32 dest, unk32 step); +extern "C" bool func_01ffec34(Vec4p *param1, Vec4p *param2); + #endif -- cgit v1.2.3