mirror of
https://github.com/zeldaret/st
synced 2026-10-07 13:25:33 -04:00
Merge every extern "C" to a common header (#157)
* create CommonFuncs.hpp * merge every `extern "C"` to a common header * fix regressions * I'm dumb
This commit is contained in:
@@ -615,7 +615,7 @@ _ZN19ActorProfileUnkZLSLC1Ev kind:function(thumb,size=0x3c) addr:0x020ea078
|
||||
_ZN24UnkStruct_ov031_0211361c8vfunc_00EP5Actor kind:function(thumb,size=0x30) addr:0x020ea0b4
|
||||
_ZN26ModelRender_ov031_02113670C2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x020ea0e4
|
||||
_ZN26ModelRender_ov031_021136708vfunc_0CEv kind:function(thumb,size=0x8) addr:0x020ea0f8
|
||||
func_ov031_020ea100 kind:function(thumb,size=0x40) addr:0x020ea100
|
||||
_ZN12ActorUnkZLSL19func_ov031_020ea100Ev kind:function(thumb,size=0x40) addr:0x020ea100
|
||||
_ZN12ActorUnkZLSLC1Ev kind:function(thumb,size=0x3b4) addr:0x020ea140
|
||||
_ZN24UnkStruct_ov031_0211372cD1Ev kind:function(thumb,size=0xc) addr:0x020ea4f4
|
||||
_ZN26ModelRender_ov031_02113670D1Ev kind:function(thumb,size=0xc) addr:0x020ea500
|
||||
|
||||
@@ -615,7 +615,7 @@ _ZN19ActorProfileUnkZLSLC1Ev kind:function(thumb,size=0x3c) addr:0x020ea198
|
||||
_ZN24UnkStruct_ov031_0211361c8vfunc_00EP5Actor kind:function(thumb,size=0x30) addr:0x020ea1d4
|
||||
_ZN26ModelRender_ov031_02113670C2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x020ea204
|
||||
_ZN26ModelRender_ov031_021136708vfunc_0CEv kind:function(thumb,size=0x8) addr:0x020ea218
|
||||
func_ov031_020ea100 kind:function(thumb,size=0x40) addr:0x020ea220
|
||||
_ZN12ActorUnkZLSL19func_ov031_020ea100Ev kind:function(thumb,size=0x40) addr:0x020ea220
|
||||
_ZN12ActorUnkZLSLC1Ev kind:function(thumb,size=0x3b4) addr:0x020ea260
|
||||
_ZN24UnkStruct_ov031_0211372cD1Ev kind:function(thumb,size=0xc) addr:0x020ea614
|
||||
_ZN26ModelRender_ov031_02113670D1Ev kind:function(thumb,size=0xc) addr:0x020ea620
|
||||
|
||||
@@ -615,7 +615,7 @@ _ZN19ActorProfileUnkZLSLC1Ev kind:function(thumb,size=0x3c) addr:0x020eba64
|
||||
_ZN24UnkStruct_ov031_0211361c8vfunc_00EP5Actor kind:function(thumb,size=0x30) addr:0x020ebaa0
|
||||
func_ov031_020ebad0 kind:function(thumb,size=0x14) addr:0x020ebad0
|
||||
_ZN26ModelRender_ov031_021136708vfunc_0CEv kind:function(thumb,size=0x8) addr:0x020ebae4
|
||||
func_ov031_020ea100 kind:function(thumb,size=0x40) addr:0x020ebaec
|
||||
_ZN12ActorUnkZLSL19func_ov031_020ea100Ev kind:function(thumb,size=0x40) addr:0x020ebaec
|
||||
_ZN12ActorUnkZLSLC1Ev kind:function(thumb,size=0x3b4) addr:0x020ebb2c
|
||||
func_ov031_020ebee0 kind:function(thumb,size=0xc) addr:0x020ebee0
|
||||
_ZN26ModelRender_ov031_02113670D1Ev kind:function(thumb,size=0xc) addr:0x020ebeec
|
||||
|
||||
@@ -615,7 +615,7 @@ _ZN19ActorProfileUnkZLSLC1Ev kind:function(thumb,size=0x3c) addr:0x020ea058
|
||||
_ZN24UnkStruct_ov031_0211361c8vfunc_00EP5Actor kind:function(thumb,size=0x30) addr:0x020ea094
|
||||
_ZN26ModelRender_ov031_02113670C2EP10G3d_Model_ kind:function(thumb,size=0x14) addr:0x020ea0c4
|
||||
_ZN26ModelRender_ov031_021136708vfunc_0CEv kind:function(thumb,size=0x8) addr:0x020ea0d8
|
||||
func_ov031_020ea100 kind:function(thumb,size=0x40) addr:0x020ea0e0
|
||||
_ZN12ActorUnkZLSL19func_ov031_020ea100Ev kind:function(thumb,size=0x40) addr:0x020ea0e0
|
||||
_ZN12ActorUnkZLSLC1Ev kind:function(thumb,size=0x3b4) addr:0x020ea120
|
||||
_ZN24UnkStruct_ov031_0211372cD1Ev kind:function(thumb,size=0xc) addr:0x020ea4d4
|
||||
_ZN26ModelRender_ov031_02113670D1Ev kind:function(thumb,size=0xc) addr:0x020ea4e0
|
||||
|
||||
@@ -317,9 +317,11 @@ public:
|
||||
void func_ov031_020eaa8c();
|
||||
void func_ov031_020ec164();
|
||||
void func_ov031_020eba58();
|
||||
static void func_ov031_020ee1f4();
|
||||
bool func_ov031_020ee724();
|
||||
|
||||
static void func_ov031_020ea100();
|
||||
static void func_ov031_020ee1f4();
|
||||
|
||||
// not sure where they go
|
||||
void func_ov031_020ea8c0();
|
||||
void func_ov031_020ea8c4();
|
||||
|
||||
@@ -0,0 +1,433 @@
|
||||
#pragma once
|
||||
|
||||
#include "Actor/ActorId.hpp"
|
||||
#include "Course/Course.hpp"
|
||||
#include "Map/MapObjectId.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "types.h"
|
||||
|
||||
#include <nitro.h>
|
||||
#include <nns/g3d/g3d.h>
|
||||
#include <vector>
|
||||
|
||||
struct UnkStruct_ov021_02106c5c;
|
||||
struct ZMBFileInfos;
|
||||
struct UnkStruct_027e0cd8_0C_Base;
|
||||
struct UnkStruct_027e0cd8_0C_Base_148_00_Base;
|
||||
struct EntranceInfo;
|
||||
struct UnkAngleStruct;
|
||||
struct ModelRender;
|
||||
struct Cylinder;
|
||||
struct UnkStruct_ov031_020eeee8;
|
||||
struct Actor;
|
||||
struct ActorRef;
|
||||
struct UnkStruct_ov031_Items_00;
|
||||
struct UnkStruct_ov031_Items_00_Base;
|
||||
struct UnkStruct_027e0ce0;
|
||||
struct UnkStruct_02011e10_Sub1;
|
||||
struct UnkResourceStruct2;
|
||||
struct UnkStruct_027e0cec_18_04;
|
||||
struct UnkSystem5;
|
||||
struct UnkStruct_027e0960_TableEntry;
|
||||
struct BMDSectionModel;
|
||||
struct UnkStruct_027e09ac_14;
|
||||
struct UnkStackStruct1;
|
||||
struct ActorUnkCASE_174;
|
||||
struct UnkStruct_ov000_0208f820_28;
|
||||
struct UnkStruct_027e0ce0_30_00;
|
||||
struct Actor_Derived2;
|
||||
struct ActorUnkCANS;
|
||||
struct UnkStruct_ov063_02162e88;
|
||||
struct UnkStruct_ActorUnkCANS_224;
|
||||
struct ActorUnkZLSL_AnimationTag;
|
||||
struct UnkStruct_ov063_02163784;
|
||||
struct UnkStruct_ov063_021632e4;
|
||||
struct AdventureModeManager_160_14;
|
||||
struct GameModeManagerBase_104;
|
||||
struct AdventureModeManager_160_18;
|
||||
struct AdventureModeManager_184_10;
|
||||
struct AdventureModeManager_184_14;
|
||||
struct AdventureModeManager_190_10;
|
||||
struct AdventureModeManager_18C_10;
|
||||
struct UnkStruct_027e0ce0_40_Base_78;
|
||||
struct UnkStruct_ov070_0214dc74;
|
||||
struct ActorShotArrow;
|
||||
struct UnkStruct_027e0960_TableEntry_04_Base;
|
||||
|
||||
union Vec2bCpp;
|
||||
union Vec3s;
|
||||
union Vec2s;
|
||||
|
||||
extern "C" {
|
||||
|
||||
// itcm
|
||||
void FlushGfxQueue();
|
||||
bool func_01ff916c(fx32 *, unk32, unk32);
|
||||
void func_01ff91b8(unk16 *, fx32, fx32);
|
||||
void func_01ff9218(fx32 *, fx32, fx32);
|
||||
unk32 func_01ff9258(fx32, fx32);
|
||||
unk32 func_01ff930c(s16 *, s16, unk32);
|
||||
void func_01ff9318(void *, unk32, unk32);
|
||||
unk32 func_01ff9364(u16 *, UnkAngleStruct);
|
||||
void func_01ff93c0(VecFx32 *, fx32);
|
||||
void func_01ff941c(VecFx32 *, VecFx32 *);
|
||||
void func_01ff94cc(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
void func_01ff95a0(VecFx32 *, unk16);
|
||||
void func_01ff9638(VecFx32 *vec, s16 angle);
|
||||
void func_01ff9770(VecFx32 *, unk32);
|
||||
void func_01ff97c8(VecFx32 *, int);
|
||||
void func_01ff993c(VecFx32 *, VecFx32 *, unk32);
|
||||
fx32 func_01ff9a5c(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
void func_01ff9fbc(MtxFx22 *, unk32, MtxFx22 *);
|
||||
void func_01ffa60c(const MtxFx33 *, MtxFx33 *, MtxFx33 *);
|
||||
void func_01ffa7a0(VecFx32 *, MtxFx33 *, VecFx32 *);
|
||||
void func_01ffa9e8(MtxFx43 *, MtxFx43 *);
|
||||
void func_01ffad5c(MtxFx43 *, MtxFx43 *, MtxFx43 *);
|
||||
void func_01ffaf74(VecFx32 *, MtxFx43 *, VecFx32 *);
|
||||
fx32 func_01ffb428(unk32, unk32);
|
||||
fx32 func_01ffb464(fx32);
|
||||
fx32 func_01ffb66c(unk32, unk32);
|
||||
unk32 func_01ffb6a8(unk32, unk32);
|
||||
void func_01ffb6e4(unk32, const void *, void *);
|
||||
void func_01ffb714(const VecFx32 *, const VecFx32 *, VecFx32 *);
|
||||
void func_01ffb974(unk32, VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
fx32 func_01ffb9cc(VecFx32 *, VecFx32 *);
|
||||
u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
void func_01ffc5a0(ModelRender *, unk32, UnkAngleStruct, void *);
|
||||
void func_01ffcb94(unk16, unk16, MtxFx33 *);
|
||||
bool func_01ffccf4(Cylinder *, VecFx32 *, VecFx32 *, unk32 *);
|
||||
void func_01ffce1c(Cylinder *, Cylinder *);
|
||||
int func_01ffcea0(unk32, UnkStruct_ov031_020eeee8 *);
|
||||
void func_01ffcfcc(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
void func_01ffd054(VecFx32 *, VecFx32 *);
|
||||
void func_01ffd1b4(VecFx32 *, VecFx32 *);
|
||||
void func_01ffe6c4(Actor **, ActorRef, VecFx32 *, VecFx32 *, s32, VecFx32 *, UnkStruct_ov031_Items_00_Base *);
|
||||
fx32 func_01ffe868(VecFx32 *, unk32, unk32);
|
||||
bool func_01ffecdc(unk32 param1, Cylinder *param2);
|
||||
void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
void func_01fff05c(u32 *, UnkStruct_027e0cd8_0C_Base *, VecFx32 *);
|
||||
void func_01fff17c(unk16 *, UnkStruct_027e0ce0 *, unk32);
|
||||
void func_01fff6d0(void *, VecFx32 *param1, s32 *param2, s32 *param3);
|
||||
void func_01ffb644(fx32 x, fx32 y);
|
||||
unk32 func_01ffb558();
|
||||
|
||||
// main
|
||||
UnkStruct_02011e10_Sub1 *func_02001098(void *, size_t, unk32);
|
||||
void func_020010b8(void *);
|
||||
size_t func_020010e0(UnkStruct_02011e10_Sub1 *heapID, void *pFile, unk32 param3);
|
||||
UnkStruct_02011e10_Sub1 *func_020012e0(void *, size_t, unk32);
|
||||
void func_02001300(void *);
|
||||
void *func_02001308(void *, size_t, u32);
|
||||
unk32 func_020013ac(void *param1);
|
||||
BOOL func_0200169c(void *, int, int, int, int, void *, int);
|
||||
void func_0200174c();
|
||||
void func_0200240c(unk32);
|
||||
BOOL NNS_SndArcLoadBank(unk32 param1, unk32 param2);
|
||||
void func_02006aa8(unk32, unk32);
|
||||
void func_02006d8c(u16, unk32);
|
||||
void func_0200b578(G3d_RenderObject *, void (*)(), unk32, unk32, unk32);
|
||||
void func_0200b58c(G3d_RenderObject *);
|
||||
void G3d_GetCurrentMtx(MtxFx43 *mtx1, MtxFx33 *mtx2);
|
||||
void func_0200ea38(G3d_Model *, unk32, unk32);
|
||||
void func_0200eab0(G3d_Model *, unk32, u8);
|
||||
void func_0200ef9c(G3d_Model *);
|
||||
UnkResourceStruct2 *func_0200f05c(G3d_NameList *, char *);
|
||||
unk32 func_0200f218(unk32, const char *);
|
||||
void *func_02012ec8(unk32, unk16, const char *, size_t *, unk32, u8);
|
||||
void *func_02012ee4(const char *, unk32, unk32, size_t *, u8);
|
||||
void *func_02012f6c(const char *, size_t *);
|
||||
BOOL func_02012fa8(const char *);
|
||||
unk32 func_02012fc4(unk32);
|
||||
void func_020131ec();
|
||||
void func_02013214();
|
||||
void func_0201328c();
|
||||
void func_020132c8();
|
||||
void func_020132dc();
|
||||
void func_02013354();
|
||||
unk32 func_020147a8();
|
||||
void func_02014d38(void *, int);
|
||||
unk32 func_02014fe0();
|
||||
void func_02015300(unk32 *);
|
||||
HeapIndex16 func_02015338();
|
||||
void func_02015628(char *, char *, unk32, void *, size_t);
|
||||
void func_02015644(char *);
|
||||
void func_02015664(char *, unk32);
|
||||
void func_020156c8(char *, char *, unk32);
|
||||
void func_020156f4(char *);
|
||||
unk32 func_02015788(u16 param1);
|
||||
u8 func_020157c0(unk32 param1, unk32 param2);
|
||||
u8 func_020157f0(unk32 param1, unk32 param2);
|
||||
fx32 func_02015a18(u16, unk32, unk32, unk32, u16, unk32, unk32);
|
||||
void func_02015ea8(u32 resourceId, void *);
|
||||
void func_0201659c();
|
||||
unk16 func_02016958(VecFx32 *, VecFx32 *);
|
||||
void func_020169d4(VecFx32 *, VecFx32 *, unk16 *, const char *);
|
||||
bool func_02016ae0(VecFx32 *, VecFx32 *, UnkAngleStruct, unk32, unk32);
|
||||
bool func_02016b8c(VecFx32 *, VecFx32 *, unk32, UnkAngleStruct, u16, unk32);
|
||||
bool func_02016c68(VecFx32 *, VecFx32 *, ActorRef);
|
||||
Actor *func_02016fbc(ActorId, VecFx32 *, unk32);
|
||||
unk32 func_02017158();
|
||||
bool func_02017930(UnkStruct_027e0960_TableEntry_04_Base *, UnkStruct_027e0960_TableEntry_04_Base *);
|
||||
unk8 func_02017e8c(unk16 *);
|
||||
fx32 func_02017f54(s16 *, UnkAngleStruct);
|
||||
void func_02018114(unk16 *, unk16);
|
||||
s16 func_020196b0(unk32 param1);
|
||||
void func_020196fc();
|
||||
void func_02019a74();
|
||||
void func_02019b3c();
|
||||
void func_02019c4c();
|
||||
void func_02019cec(u16 param1, unk32 param2);
|
||||
unk16 func_0201a710(unk16);
|
||||
void func_0201b180(bool, bool);
|
||||
void func_0201b278(bool, bool);
|
||||
void *func_02022884(unk32);
|
||||
void SetBrightColor(void *, int);
|
||||
void func_020241f4();
|
||||
void func_02024208();
|
||||
void func_02024264();
|
||||
void func_02024278();
|
||||
void func_0202428c();
|
||||
void func_020242a0();
|
||||
void func_020242b4();
|
||||
void func_020242c8();
|
||||
u32 func_0202447c();
|
||||
u32 func_02024494();
|
||||
void func_02024a84(MtxFx33 *param1);
|
||||
void func_02024df0(u16 *);
|
||||
void func_02024fc4(fx16 sin, fx16 cos);
|
||||
void func_02028450(void *param1);
|
||||
void CopySingle288(MtxFx43 *, MtxFx33 *);
|
||||
unk32 func_02032784(unk32 param1);
|
||||
unk32 func_020328c8(void *, void *, size_t);
|
||||
u16 func_02032920(void *param1, size_t param2);
|
||||
unk32 func_02039d60(f32, unk32);
|
||||
f32 func_02039f04(unk32);
|
||||
f32 func_0203ab58(unk32, f32);
|
||||
f32 func_0203ad88(f32, unk32);
|
||||
void func_02097bb8(void);
|
||||
void func_02098388(void);
|
||||
BOOL ZMB_020ba350(ZMBFileInfos *pFileInfos, u8 param2, UnkStruct_027e0cd8_0C_Base *pDst);
|
||||
void ZMB_020ba388(CustomVector<EntranceInfo> *pVector, size_t param2);
|
||||
void ZMB_020ba408(CustomVector<UnkStruct_027e0cd8_0C_Base_148_00_Base *> *pVector, size_t param2);
|
||||
void func_0201245c();
|
||||
void func_02027a28(void *param1, unk32 param2);
|
||||
void func_02013184();
|
||||
void func_020131b0();
|
||||
void func_02031e48(void *param1);
|
||||
unk32 func_0202d624(void *param1, unk32 param2);
|
||||
void *func_02001fd4(void *param1, size_t param2);
|
||||
unk32 func_020011f4(void *);
|
||||
void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7,
|
||||
unk32 param8);
|
||||
unk32 func_0200e234();
|
||||
void func_02029058(void *, void *);
|
||||
u32 func_0202955c(void *, int, void *, int, void *);
|
||||
void *func_02001654(void *);
|
||||
void *func_020145b0(UnkId *, s32);
|
||||
void *func_020010c0(void *, size_t, uint);
|
||||
UnkId *func_02001488(void);
|
||||
UnkId *func_02014704();
|
||||
UnkId *func_020011c8(UnkId *, void *);
|
||||
UnkId *func_02014630(UnkId *, void *);
|
||||
UnkId *func_02001684(UnkId *, void *);
|
||||
void func_020327c8(void *param1, unk32 param2);
|
||||
void func_0201bdd0();
|
||||
void NNS_SndInit();
|
||||
void NNS_SndArcInit(void *param1, const char *soundDataPath, unk32 param2, unk32 param3);
|
||||
void NNS_SndArcPlayerSetup(unk32 param1);
|
||||
void func_02004d2c(unk32 param1, unk32 param2);
|
||||
void func_02001778(unk32 param1);
|
||||
void func_02003f98(unk32 param1, unk32 param2);
|
||||
void NNS_SndHeapSaveState(unk32 param1);
|
||||
void func_0202ee0c();
|
||||
void func_0202f910(unk32 param1);
|
||||
void func_0202f958(unk32 param1);
|
||||
void func_02005030(void *param1);
|
||||
void NNS_SndHandleInit(void *param1);
|
||||
void NNS_SndPlayerStopSeq(void *param1, unk32 param2);
|
||||
|
||||
// overlay 0
|
||||
void func_ov000_02052238(void *, void *);
|
||||
void func_ov000_02052bcc(void *);
|
||||
void func_ov000_02054548(void *, unk32);
|
||||
unk32 func_ov000_020545d0(void *, void *);
|
||||
UnkStruct_027e0cec_18_04 *func_ov000_02054690(void *, unk32, unk32, unk32, unk32, unk32);
|
||||
void func_ov000_020578a4(UnkSystem5 *);
|
||||
void func_ov000_02057c98(ModelRender *param1, UnkSystem5 *param2);
|
||||
void func_ov000_02058c74(void *, int, int, int, int);
|
||||
s8 func_ov000_02059da4(UnkStruct_027e0960_TableEntry *, VecFx32 *param1);
|
||||
BMDSectionModel *func_ov000_0205abcc(void *, void *, unk32, unk32, void *);
|
||||
bool func_ov000_0205adfc(VecFx32 *, VecFx32 *);
|
||||
bool func_ov000_0205aeac();
|
||||
unk32 func_ov000_0205b090();
|
||||
unk32 func_ov000_0205b0ac(s16 param1);
|
||||
void func_ov000_0205be34(void *thisx, unk16 param1);
|
||||
void func_ov000_0205be44(void *thisx, Vec2s *param1, Vec2s *param2, bool param3, bool param4);
|
||||
void func_ov000_0205c1f0(unk32 *, u16);
|
||||
void func_ov000_0205c204(void *, VecFx32 *, int, int, u8);
|
||||
unk32 func_ov000_0205c384(VecFx32 *param1, VecFx32 *param2);
|
||||
void func_ov000_0205c584(void *, int, int);
|
||||
bool func_ov000_0205c74c(unk32, unk32, unk32, unk32);
|
||||
unk32 func_ov000_0205c7ac(unk32, unk32);
|
||||
SceneIndex func_ov000_0205c984();
|
||||
u32 func_ov000_0205c9b4();
|
||||
bool func_ov000_0205c9d0(unk32 stationSceneIdx);
|
||||
bool func_ov000_0205ca18(unk32 param1, unk32 param2);
|
||||
void func_ov000_0205ca74(unk32);
|
||||
VecFx32 *func_ov000_0205d524(unk32, unk32);
|
||||
void func_ov000_0205d65c(void *, VecFx32 *, VecFx32 *, UnkAngleStruct);
|
||||
void func_ov000_0205db44(void *, void *, unk32);
|
||||
void func_ov000_0205dbe4(u16);
|
||||
void func_ov000_02062e44(Vec2s *param1, void *param2);
|
||||
void *func_ov000_02066294();
|
||||
unk32 func_ov000_02068504(int);
|
||||
void func_ov000_02072344(u16 *, UnkStruct_027e09ac_14 *);
|
||||
void func_ov000_02072fd0(UnkStackStruct1 *);
|
||||
void func_ov000_02073080(void *);
|
||||
unk32 func_ov000_02077480();
|
||||
fx32 func_ov000_020775d8(fx32);
|
||||
unk32 func_ov000_02078aec();
|
||||
void func_ov000_0207b6c0();
|
||||
void func_ov000_0207b70c(ActorUnkCASE_174 *param1, Actor *param2);
|
||||
unk32 func_ov000_0207df88(unk32 *, Cylinder *, unk32);
|
||||
void Unknown_func_ov000_0207fd7c(void *, void *, unk32);
|
||||
fx32 func_ov000_02080068(fx32 x);
|
||||
fx32 func_ov000_02080080(fx32 x);
|
||||
unk32 func_ov000_02080098(void *, void *, int, int, int, int);
|
||||
bool func_ov000_02080998(VecFx32 *);
|
||||
void func_ov000_020814ec(void *, void *);
|
||||
void func_ov000_02081520(void *, void *, u8);
|
||||
void func_ov000_020830a4(unk32, unk32, unk32, unk32, unk32, unk32);
|
||||
void func_ov000_020830d4(unk32, u16, unk32, unk32, unk32);
|
||||
void func_ov000_02085d1c(void *);
|
||||
bool func_ov000_020864f8(void *, UnkAngleStruct, void *, void *);
|
||||
void func_ov000_02087ee8();
|
||||
unk32 func_ov000_0208832c(s16, unk32);
|
||||
void func_ov000_02089bbc(void *, unk32);
|
||||
void func_ov000_0208a7a4(void *, void *);
|
||||
void func_ov000_0208abc4(ActorRef *, void *, Vec2s *);
|
||||
void func_ov000_0208ba10(void *, void *, unk32);
|
||||
void func_ov000_0208bc00(UnkStruct_027e0ce0 *, unk16, unk16 *);
|
||||
void func_ov000_0208bd20(UnkStruct_027e0ce0 *param1, unk32 param2, unk32 param3, unk32 param4);
|
||||
void func_ov000_0208cac8(UnkStruct_ov000_0208f820_28 *, VecFx32 *, unk32);
|
||||
unk32 func_ov000_0208dc98(unk32);
|
||||
void func_ov000_0208dd60(void *, UnkStruct_027e0ce0_30_00 *);
|
||||
const char *func_ov000_0208e830(int);
|
||||
bool func_ov000_0208e874(const u8 *, int, int, int);
|
||||
void func_ov000_0208f820();
|
||||
void func_ov000_020977e4();
|
||||
void func_ov000_02097d4c(VecFx32 *);
|
||||
void func_ov000_02097e04(VecFx32 *);
|
||||
void func_ov000_02097ea0(VecFx32 *);
|
||||
void func_ov000_02097f38(VecFx32 *);
|
||||
void func_ov000_02097fcc(VecFx32 *);
|
||||
void func_ov000_0209807c(void *);
|
||||
void func_ov000_020980e0(void *);
|
||||
void func_ov000_02098244(VecFx32 *);
|
||||
void func_ov000_020986b4(s16 *param1, Actor_Derived2 *param2, unk32 param3);
|
||||
unk32 func_ov000_02098d7c(ActorUnkCANS *param1, UnkStruct_ov063_02162e88 *param2);
|
||||
void func_ov000_02099870(UnkStruct_ActorUnkCANS_224 *, VecFx32 *, u16);
|
||||
void func_ov000_02099e58(UnkStruct_ov063_021632e4 *param1, ActorUnkZLSL_AnimationTag param2, unk32 param8);
|
||||
void func_ov000_02099f64(UnkStruct_ov063_02163784 *param1, ActorUnkZLSL_AnimationTag param2, unk32 param3);
|
||||
bool func_ov000_020a0a90(size_t, unk32, size_t);
|
||||
void func_ov000_020a1330(u16, ActorRef, VecFx32, UnkAngleStruct, unk32, unk32);
|
||||
void func_ov000_020a14e4(unk8, VecFx32 *);
|
||||
u8 func_ov000_020a9a50();
|
||||
void func_ov000_0205bedc(void *param1, void *param2, void *param3, void *param4, unk32 param5, int);
|
||||
void func_ov000_020623d8(void *param1, unk32 param2);
|
||||
unk8 func_ov000_02070164(void *); //! TODO: turn to a class
|
||||
void func_ov000_0205a950(u8 bgType, bool isTopScreen, bool);
|
||||
void func_ov000_0205a944(u8 bgType, bool isTopScreen, bool);
|
||||
void *func_ov000_0208ea70(PlayerCharacter, unk32, bool); // returns pointer to .NSBTX
|
||||
|
||||
// overlay 2
|
||||
AdventureModeManager_160_14 *func_ov002_020b6520(void *, void *, int);
|
||||
unk32 func_ov002_020b6cf4(void *, unk32 param1);
|
||||
void func_ov002_020b6d50(void *);
|
||||
void func_ov002_020b6d68(void *);
|
||||
|
||||
// overlay 3
|
||||
GameModeManagerBase_104 *func_ov003_020b6520(void *param1, void *param2);
|
||||
|
||||
// overlay 4
|
||||
unk32 func_ov004_020b697c(void *, unk32 param1);
|
||||
|
||||
// overlay 6
|
||||
AdventureModeManager_160_18 *func_ov006_020b6ab0(void *, void *);
|
||||
|
||||
// overlay 7
|
||||
void func_ov007_02102850(uint **);
|
||||
void func_ov007_021028a0(uint **);
|
||||
|
||||
// overlay 8
|
||||
GameModeManagerBase_104 *func_ov008_020b6520(void *);
|
||||
|
||||
// overlay 10
|
||||
AdventureModeManager_184_10 *func_ov010_020b6520(void *);
|
||||
AdventureModeManager_184_10 *func_ov010_020b65fc(void *);
|
||||
AdventureModeManager_184_14 *func_ov010_020b88c4(void *);
|
||||
|
||||
// overlay 11
|
||||
AdventureModeManager_18C_10 *func_ov011_020b6520(void *, int);
|
||||
void func_ov011_020b84f0(s16 *param1, void *, unk32 param2);
|
||||
AdventureModeManager_190_10 *func_ov011_020b8e54(void *, int);
|
||||
|
||||
// overlay 14
|
||||
unk32 func_ov014_020b6520(void *, int, int);
|
||||
|
||||
// overlay 20
|
||||
void func_ov020_020c86d8(void *);
|
||||
|
||||
// overlay 21
|
||||
const UnkStruct_ov021_02106c5c *func_ov021_020ea868(int index);
|
||||
void func_ov021_020f8818();
|
||||
|
||||
// overlay 26
|
||||
void func_ov026_020e9208();
|
||||
void func_ov026_020efc40(unk32 param1);
|
||||
void func_ov026_020f46a8(Actor *param1, VecFx32 *param2, bool param3);
|
||||
bool func_ov026_020f4be0(int, int);
|
||||
unk32 func_ov026_020f4c9c(SceneIndex);
|
||||
u16 func_ov026_02106564(void *);
|
||||
bool func_ov026_0210d664(SceneIndex sceneIndex, MapObjectId mapObjId);
|
||||
unk32 func_ov026_0212e54c();
|
||||
|
||||
// overlay 31
|
||||
void func_ov031_020dcea4(void *, UnkStruct_027e0ce0_40_Base_78 *, UnkAngleStruct);
|
||||
void func_ov031_020e0f30(ActorRef);
|
||||
unk16 func_ov031_020e3dd0(Actor *param0);
|
||||
void func_ov031_020f439c(void *, Vec3s *, unk32);
|
||||
bool func_ov031_020f7538(Actor *param1, unk32 param2);
|
||||
void func_ov031_020f7574(Actor *param1, unk32 param2);
|
||||
void func_ov031_0210acd4(Vec2bCpp);
|
||||
unk32 func_ov031_0210af50(Vec2bCpp, unk32 *);
|
||||
void func_ov031_0210b0e4(Vec2bCpp, unk32);
|
||||
|
||||
// overlay 34
|
||||
void func_ov034_02121de4(void *);
|
||||
|
||||
// overlay 70
|
||||
UnkStruct_ov070_0214dc74 *func_ov070_02143fe4(int index);
|
||||
|
||||
// overlay 71
|
||||
void func_ov071_0215e8d4();
|
||||
|
||||
// overlay 75
|
||||
void func_ov075_02160864(ActorShotArrow *, unk32);
|
||||
|
||||
// overlay 84
|
||||
void func_ov084_0216122c();
|
||||
void func_ov084_021612ac();
|
||||
|
||||
// overlay 89
|
||||
void func_ov089_02165b18(void *);
|
||||
void func_ov089_02165c34(void *);
|
||||
|
||||
// overlay 95
|
||||
void func_ov095_0217aa88(void *, unk16 *, unk32, UnkAngleStruct);
|
||||
void func_ov095_0217aaa8(void *, unk16 *, unk32);
|
||||
|
||||
// overlay 96
|
||||
bool func_ov096_02179c14();
|
||||
}
|
||||
@@ -1363,3 +1363,10 @@ struct UnkStackStruct_ov017_020c1104 {
|
||||
void func_ov017_020c12fc(u8 param2, unk16 param3);
|
||||
void func_ov017_020c13b4();
|
||||
};
|
||||
|
||||
struct UnkStruct_ov021_02106c5c {
|
||||
/* 00 */ PAD(0x00, 0x10);
|
||||
/* 10 */ u16 unk_10;
|
||||
/* 12 */ u8 unk_12;
|
||||
/* 13 */ u8 unk_13;
|
||||
};
|
||||
|
||||
@@ -87,12 +87,6 @@ public:
|
||||
/* 150 */ ActorRef mUnk_150;
|
||||
};
|
||||
|
||||
class UnkStruct_ov000_0208f820_40 {
|
||||
public:
|
||||
/* 00 */ u16 mUnk_00;
|
||||
/* 00 */ s16 mUnk_02;
|
||||
};
|
||||
|
||||
class UnkStruct_PlayerGet_vfunc_0C_param1 {
|
||||
public:
|
||||
/* 00 */ unk32 mUnk_00;
|
||||
@@ -144,7 +138,7 @@ public:
|
||||
/* 34 */ VecFx32 *mUnk_34;
|
||||
/* 38 */ VecFx32 *mUnk_38;
|
||||
/* 3C */ VecFx32 *mUnk_3C;
|
||||
/* 40 */ UnkStruct_ov000_0208f820_40 *mUnk_40;
|
||||
/* 40 */ UnkAngleStruct *mUnk_40;
|
||||
/* 44 */ UnkStruct_ov000_0208f820_44 *mUnk_44;
|
||||
/* 48 */
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorUnkEFIK.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/Random.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -6,8 +7,6 @@
|
||||
#include "Unknown/UnkStruct_027e0cec.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020aed1c.hpp"
|
||||
|
||||
extern "C" void Unknown_func_ov000_0207fd7c(void *, void *, unk32);
|
||||
|
||||
DECL_PROFILE(ActorProfileUnkEFIK);
|
||||
|
||||
Actor *ActorProfileUnkEFIK::Create() {
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
#include "Actor/ActorUnkSWOB.hpp"
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/Random.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cd8.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
|
||||
|
||||
extern "C" void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
extern "C" void func_01ffb9cc(void *, VecFx32 *);
|
||||
|
||||
DECL_PROFILE(ActorProfileUnkSWOB);
|
||||
|
||||
Actor *ActorProfileUnkSWOB::Create() {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "MapObject/MapObject.hpp"
|
||||
#include "Actor/Actor.hpp"
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Physics/Cylinder.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
#include "Unknown/UnkStruct_027e0998.hpp"
|
||||
@@ -11,12 +12,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b5d34.hpp"
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
extern "C" void func_01ffb9cc(VecFx32 *, VecFx32 *);
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" unk32 func_01ffecdc(unk32 param1, Cylinder *param2);
|
||||
extern "C" void func_01fff6d0(void *, VecFx32 *param1, s32 *param2, s32 *param3);
|
||||
|
||||
MapObject::MapObject() {
|
||||
this->mUnk_10 = NULL;
|
||||
this->mState = MapObjState_None;
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "MapObject/MapObjectMiniBlocks.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cd8.hpp"
|
||||
|
||||
extern "C" void func_01ff9638(void *, s16);
|
||||
|
||||
enum {
|
||||
MiniBlocksVariant_BLCM,
|
||||
MiniBlocksVariant_BKCT,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "MapObject/MapObjectPot_Base.hpp"
|
||||
|
||||
extern "C" void func_ov000_020a14e4(unk8, VecFx32 *);
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
MapObjectPot_Base::MapObjectPot_Base() {
|
||||
this->mUnk_40 = 0;
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
#include "MapObject/MapObjectProfile_Derived2_20.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
extern "C" {
|
||||
void func_02015ea8(u32 resourceId, void *);
|
||||
unk32 func_02012fa8(const char *);
|
||||
}
|
||||
|
||||
MapObjectProfile_Derived2_20::MapObjectProfile_Derived2_20(MapObjectId mapObjId2) :
|
||||
MapObjectProfile_Derived2_20_Base("MapObj", (const char *) &mUnk_94, (const char *) &mUnk_94, (const char *) &mUnk_94, 0,
|
||||
0),
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "MapObject/MapObjectSwitchStep.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
#include "Unknown/UnkStruct_027e0998.hpp"
|
||||
@@ -7,8 +8,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" unk32 func_0200f218(unk32, const char *);
|
||||
|
||||
static const char data_ov000_020af550[] = "switch";
|
||||
static const char data_ov000_020af560[] = "switchB";
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "Actor/ActorUnkZLSL_ZSRS.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a0.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
@@ -10,14 +12,6 @@
|
||||
#include "global.h"
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_020977e4();
|
||||
void func_ov021_020f8818();
|
||||
void func_ov071_0215e8d4();
|
||||
}
|
||||
|
||||
extern "C" void func_ov031_020ea100();
|
||||
|
||||
struct UnkStruct_ov000_020ab1ac {
|
||||
/* 00 */ u32 mUnk_00;
|
||||
/* 04 */ u32 mUnk_04;
|
||||
@@ -228,7 +222,7 @@ void ActorManager::func_ov001_020bb488() {
|
||||
case 0x03:
|
||||
case 0x06:
|
||||
if (data_027e0cd8->GetUnk0C()->mUnk_128 & 0x800) {
|
||||
func_ov031_020ea100();
|
||||
ActorUnkZLSL::func_ov031_020ea100();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "Game/GameModeAdventure.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
@@ -15,8 +16,6 @@
|
||||
|
||||
#include <dsprot.h>
|
||||
|
||||
extern "C" void *func_ov000_02066294();
|
||||
|
||||
static const s16 data_ov001_020c27a8[] = {
|
||||
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0009, 0x000A, 0x000B, 0x000C, 0x000D, 0x000E,
|
||||
0x000F, 0x0010, 0x0011, 0x0012, 0x0014, 0x0015, 0x0018, 0x001C, 0x0019, 0x001A, 0x001D, 0x001E, 0x001F,
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "Game/GameModeAdventure.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
|
||||
extern "C" void func_0201659c();
|
||||
|
||||
GameModeAdventure::GameModeAdventure() {
|
||||
func_0201659c();
|
||||
gGame.func_02013370(2);
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#include "Actor/ActorUnkPMST.hpp"
|
||||
#include "Actor/ActorUnkPMTT.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -9,8 +10,6 @@
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" bool func_ov026_0210d664(SceneIndex sceneIndex, MapObjectId mapObjId);
|
||||
|
||||
MapObjectManager *MapObjectManager::Create() {
|
||||
return new(HeapIndex_1) MapObjectManager();
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/PassengerManager.hpp"
|
||||
#include "Unknown/UnkStruct_02049bac.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
|
||||
extern "C" bool func_ov000_0205c9d0(unk32 stationSceneIdx);
|
||||
|
||||
bool PassengerManager::func_ov001_020bf870() {
|
||||
s32 *pSceneIndex = &data_027e09a4->mUnk_00.sceneIndex;
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
|
||||
extern "C" u16 *func_ov021_020ea868(int);
|
||||
extern "C" void func_ov000_0205c584(void *, int, int);
|
||||
|
||||
static const char data_ov001_020c264c[][16] = {
|
||||
"swA", "sheath", "swB", "sheathB", "belt", "cap", "body_all",
|
||||
};
|
||||
@@ -71,7 +69,7 @@ PlayerActorBase::PlayerActorBase(PlayerCharacter character, unk32 param2, ItemMa
|
||||
if (this->mUnk_4C == -1) {
|
||||
this->func_ov000_0208c914();
|
||||
} else {
|
||||
u16 temp = func_ov021_020ea868(this->mUnk_4C)[8];
|
||||
u16 temp = func_ov021_020ea868(this->mUnk_4C)->unk_10;
|
||||
this->mUnk_84.func_ov000_0205fc20(0x78, temp, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
|
||||
extern "C" void *func_ov000_0208ea70(PlayerCharacter, unk32, bool); // returns pointer to .NSBTX
|
||||
|
||||
extern unk16 data_ov000_020ab314;
|
||||
|
||||
ModelRender_UnkSystem1 *func_ov001_020bbac4(BOOL isNotLink, G3d_Model *pModel, unk32 param3, bool param4) {
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "Unknown/UnkStruct_02049b80.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b50c0.hpp"
|
||||
|
||||
extern "C" unk32 func_020328c8(void *, void *, size_t);
|
||||
|
||||
void SaveManager::func_ov001_020ba670() {
|
||||
this->mUnk_000 = new(HeapIndex_1) SaveManager_00(0);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Cutscene/Cutscene.hpp"
|
||||
#include "Game/GameModeManager.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
@@ -30,9 +31,6 @@
|
||||
#include <nitro/mi.h>
|
||||
#include <string.h>
|
||||
|
||||
extern "C" void func_01fff17c(unk16 *, UnkStruct_027e0ce0 *, unk32);
|
||||
extern "C" u16 func_ov026_02106564(void *);
|
||||
|
||||
extern const OverlayIndex data_ov000_020b21c4[];
|
||||
extern const OverlayIndex data_ov000_020b21e0[];
|
||||
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
|
||||
extern "C" UnkStruct_02011e10_Sub1 *func_02001098(void *, size_t, unk32);
|
||||
extern "C" UnkStruct_02011e10_Sub1 *func_020012e0(void *, size_t, unk32);
|
||||
extern "C" void func_020010b8(void *);
|
||||
extern "C" void func_02001300(void *);
|
||||
extern "C" unk32 func_020013ac(void *param1);
|
||||
extern "C" size_t func_020010e0(UnkStruct_02011e10_Sub1 *heapID, void *pFile, unk32 param3);
|
||||
|
||||
void UnkStruct_02011e10::func_ov001_020ba588(unk32 param1, unk32 param2) {
|
||||
this->mUnk_2C.func_020144cc(param1, param2, 0x01);
|
||||
this->mUnk_00[HeapIndex_2] = this->mUnk_2C.mUnk_00;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -5,10 +6,6 @@
|
||||
|
||||
#include <nitro/gx.h>
|
||||
|
||||
extern "C" void func_02019a74();
|
||||
extern "C" void func_02019b3c();
|
||||
extern "C" void func_02019c4c();
|
||||
|
||||
void UnkStruct_0204a110::func_ov001_020bd514(unk32 param1, GameModeMgrCreateCallback createCallback, bool param3,
|
||||
bool param4) {
|
||||
this->func_02018c90(param1);
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e095c.hpp"
|
||||
|
||||
extern "C" u32 func_0202447c();
|
||||
extern "C" u32 func_02024494();
|
||||
extern "C" void func_02006d8c(u16, unk32);
|
||||
extern "C" void func_02006aa8(unk32, unk32);
|
||||
|
||||
UnkStruct_027e095c *UnkStruct_027e095c::Create() {
|
||||
return new(HeapIndex_1) UnkStruct_027e095c();
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
@@ -11,9 +12,6 @@
|
||||
#include <nitro/gx.h>
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" void func_ov000_02072344(u16 *, UnkStruct_027e09ac_14 *);
|
||||
extern "C" void func_02024df0(u16 *);
|
||||
|
||||
UnkStruct_027e09ac *UnkStruct_027e09ac::Create() {
|
||||
return new(HeapIndex_1) UnkStruct_027e09ac();
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
@@ -11,7 +12,6 @@ struct UnkStruct_ov000_02073080 {
|
||||
/* 0C */ PAD(0x0C, 0x1C);
|
||||
/* 1C */
|
||||
};
|
||||
extern "C" void func_ov000_02073080(void *);
|
||||
|
||||
UnkStruct_027e09b8 *UnkStruct_027e09b8::Create() {
|
||||
return new(HeapIndex_1) UnkStruct_027e09b8();
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
@@ -24,11 +25,6 @@
|
||||
#include <dsprot.h>
|
||||
#include <printf.h>
|
||||
|
||||
extern "C" void func_ov026_020e9208();
|
||||
extern "C" void func_ov000_02081520(void *, void *, u8);
|
||||
extern "C" void func_ov000_020814ec(void *, void *);
|
||||
extern "C" void func_ov084_0216122c();
|
||||
extern "C" void func_ov084_021612ac();
|
||||
extern void *data_ov084_02164690;
|
||||
|
||||
struct UnkStruct7 {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Cutscene/Cutscene.hpp"
|
||||
#include "Game/GameModeManager.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
@@ -15,8 +16,6 @@
|
||||
#include <printf.h>
|
||||
#include <vector>
|
||||
|
||||
extern "C" BMDSectionModel *func_ov000_0205abcc(void *, void *, unk32, unk32, void *);
|
||||
extern "C" void func_ov089_02165c34(void *);
|
||||
extern AABB data_027e0ca8;
|
||||
extern AABB data_027e0cc0;
|
||||
extern AABB data_027e0c90;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
@@ -9,9 +10,6 @@
|
||||
#include <nitro/mi.h>
|
||||
#include <string.h>
|
||||
|
||||
extern "C" bool func_ov000_0208e874(const u8 *, int, int, int);
|
||||
extern "C" const char *func_ov000_0208e830(int);
|
||||
|
||||
UnkStruct_027e0ce0_1C::UnkStruct_027e0ce0_1C() {
|
||||
this->mUnk_D4 = NULL;
|
||||
this->mUnk_D8 = NULL;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" void func_ov000_0208dd60(void *, UnkStruct_027e0ce0_30_00 *);
|
||||
|
||||
extern fx32 data_ov000_020afd14;
|
||||
|
||||
UnkStruct_027e0ce0_30_00::UnkStruct_027e0ce0_30_00(UnkStruct_027e0ce0_38 *param1, UnkStruct_027e0ce0_3C *param2,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/CargoManager.hpp"
|
||||
#include "MainGame/PassengerManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -6,9 +7,6 @@
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "Unknown/UnkStruct_027e0d00.hpp"
|
||||
|
||||
extern "C" SceneIndex func_ov000_0205c984();
|
||||
extern "C" unk32 func_ov026_020f4c9c(SceneIndex);
|
||||
|
||||
UnkStruct_027e0ce0_34::UnkStruct_027e0ce0_34() {
|
||||
this->mUnk_20 = NULL;
|
||||
this->mUnk_24 = 0x03;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Cutscene/Cutscene.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -7,8 +8,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
extern "C" BOOL func_02012fa8(const char *);
|
||||
|
||||
DATA_ALIGN_FIX2();
|
||||
|
||||
enum EffectPathIndex_ {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a0.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
@@ -6,8 +7,6 @@
|
||||
#include <nitro/mi.h>
|
||||
#include <nitro/os.h>
|
||||
|
||||
extern "C" void *func_02001308(void *, size_t, u32);
|
||||
extern "C" UnkStruct_027e0cec_18_04 *func_ov000_02054690(void *, unk32, unk32, unk32, unk32, unk32);
|
||||
extern unk32 data_027e0154;
|
||||
|
||||
void *UnkStruct_027e0cec_18::func_ov001_020bf0a0(size_t length) {
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/CargoManager.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "Unknown/UnkStruct_027e0d00.hpp"
|
||||
|
||||
extern "C" unk32 func_ov000_0205c984();
|
||||
extern "C" void func_ov026_020efc40(unk32 param1);
|
||||
|
||||
UnkStruct_027e0d00::UnkStruct_027e0d00() {
|
||||
this->mUnk_0E0 = NULL;
|
||||
this->mUnk_0F4 = NULL;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a0.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
@@ -5,7 +6,6 @@
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" void *func_02022884(unk32);
|
||||
extern u8 gBufferTrainMsg[0x8C00];
|
||||
|
||||
static const char *data_ov001_020c2cf4[] = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a0.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
@@ -8,10 +9,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b52e8.hpp"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" BOOL NNS_SndArcLoadBank(unk32 param1, unk32 param2);
|
||||
extern "C" void func_0200240c(unk32);
|
||||
extern "C" unk32 func_ov026_0212e54c();
|
||||
|
||||
void UnkStruct_ov000_020b50c0::func_ov001_020bd854(void) {
|
||||
data_027e099c->func_ov001_020bde6c();
|
||||
data_ov000_020b51b8.func_ov000_0206bbfc(0x01);
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkFileSystem.hpp"
|
||||
#include "Unknown/UnkStruct_027e09e8.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cd8.hpp"
|
||||
#include "files.h"
|
||||
|
||||
extern "C" void func_01ffd1b4(VecFx32 *, VecFx32 *);
|
||||
|
||||
BOOL ZCB_ParseFile(ZCBFileInfos *pFileInfos, UnkStruct_027e09e8 *pDst, UnkStruct_027e0cd8_0C_Base *param3) {
|
||||
int i;
|
||||
ZCBHeader *pHeader;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "Physics/AABB.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
@@ -13,15 +14,6 @@
|
||||
extern AABB data_027e0c90;
|
||||
extern int data_ov089_02171540;
|
||||
|
||||
extern "C" fx32 func_ov000_02080068(fx32 x);
|
||||
extern "C" fx32 func_ov000_02080080(fx32 x);
|
||||
extern "C" void func_ov089_02165b18(void *);
|
||||
extern "C" fx32 func_ov000_020775d8(fx32);
|
||||
|
||||
extern "C" BOOL ZMB_020ba350(ZMBFileInfos *pFileInfos, u8 param2, UnkStruct_027e0cd8_0C_Base *pDst);
|
||||
extern "C" void ZMB_020ba388(CustomVector<EntranceInfo> *pVector, size_t param2);
|
||||
extern "C" void ZMB_020ba408(CustomVector<UnkStruct_027e0cd8_0C_Base_148_00_Base *> *pVector, size_t param2);
|
||||
|
||||
BOOL ZMB_ParseFile(ZMBFileInfos *pFileInfos, UnkStruct_027e0cd8_0C_Base *pDst, bool param3) {
|
||||
bool isVersion2;
|
||||
ZMBHeader *pHeader;
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "Actor/ActorRupee.hpp"
|
||||
#include "Actor/ActorUnkKEYN.hpp"
|
||||
#include "Actor/ActorUnkSWBM.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Physics/Cylinder.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
#include "Unknown/UnkStruct_027e0998.hpp"
|
||||
@@ -20,27 +21,6 @@
|
||||
#include "nitro/fx.h"
|
||||
#include "nitro/math.h"
|
||||
|
||||
extern "C" bool func_01ffecdc(unk32 param1, Cylinder *param2);
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" void func_01ff93c0(VecFx32 *, fx32);
|
||||
extern "C" void func_01ff9770(VecFx32 *, unk32);
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
extern "C" void func_01ff97c8(VecFx32 *, int);
|
||||
extern "C" void func_01ffce1c(Cylinder *, Cylinder *);
|
||||
extern "C" unk32 func_01ff9258(fx32, fx32);
|
||||
|
||||
extern "C" void func_ov000_0209807c(void *);
|
||||
extern "C" void func_ov000_020980e0(void *);
|
||||
extern "C" void func_ov000_02098244(VecFx32 *);
|
||||
extern "C" void func_ov000_02097f38(VecFx32 *);
|
||||
extern "C" void func_ov000_02097fcc(VecFx32 *);
|
||||
extern "C" void func_ov000_02097ea0(VecFx32 *);
|
||||
extern "C" void func_ov000_02097e04(VecFx32 *);
|
||||
extern "C" void func_ov000_02097d4c(VecFx32 *);
|
||||
extern "C" void func_ov000_02099870(UnkStruct_ActorUnkCANS_224 *, VecFx32 *, u16);
|
||||
extern "C" void func_ov000_020a1330(u16, ActorRef, VecFx32, UnkAngleStruct, unk32, unk32);
|
||||
extern "C" void func_ov031_020f439c(void *, Vec3s *, unk32);
|
||||
|
||||
extern unk32 data_ov000_020aed08;
|
||||
extern unk32 data_ov000_020aed04;
|
||||
extern unk32 data_ov000_020aecfc;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/GameModeManager.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -7,8 +8,6 @@
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
#include "types.h"
|
||||
|
||||
extern "C" unk32 func_020196b0(unk32);
|
||||
|
||||
struct UnkStruct_ov017_020c3f3c {
|
||||
/* 00 */ unk32 unk_00;
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
#include "math.hpp"
|
||||
#include "nitro/fx.h"
|
||||
|
||||
extern "C" void func_ov000_02062e44(Vec2s *param1, void *param2);
|
||||
|
||||
struct UnkStruct_ov017_020c3f14 {
|
||||
struct Vectors {
|
||||
/* 00 */ Vec2s unk_00;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MapObject/MapObject.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "Physics/AABB.hpp"
|
||||
@@ -9,11 +10,6 @@
|
||||
#include "math.hpp"
|
||||
#include "nitro/fx.h"
|
||||
|
||||
extern "C" void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
|
||||
extern "C" unk32 func_ov000_02077480();
|
||||
extern "C" unk32 func_ov000_02080098(void *, void *, int, int, int, int);
|
||||
|
||||
extern AABB data_027e0c90;
|
||||
|
||||
bool MapObjectManager::func_ov017_020c007c(unk32 param1) {
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MapObject/MapObjectSwitchStep.hpp"
|
||||
#include "nitro/math.h"
|
||||
|
||||
extern "C" void func_01ff91b8(unk16 *, fx32, fx32);
|
||||
extern "C" fx32 func_01ffb464(fx32);
|
||||
|
||||
void MapObjectSwitchStep::vfunc_08() {
|
||||
s16 sp0 = this->mUnk_40.mUnk_60;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "Unknown/UnkStruct_027e09ac.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b4.hpp"
|
||||
@@ -7,8 +8,6 @@
|
||||
#include "nitro/fx.h"
|
||||
#include "nitro/math.h"
|
||||
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
|
||||
void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct param2) {
|
||||
if (this->mCharacter == PlayerCharacter_Link) {
|
||||
ModelRender_Derived4 *var_r5 = this->mUnk_00C.GetUnk08OrUnk0C(this->mUnk_126 != 0);
|
||||
@@ -55,12 +54,6 @@ void PlayerActorBase_70::func_ov017_020bbaa8(VecFx32 *param1, UnkAngleStruct par
|
||||
extern unk16 data_ov000_020ab318;
|
||||
extern unk16 data_ov000_020ab31c;
|
||||
|
||||
struct UnkStruct_ov021_02106c5c {
|
||||
/* 00 */ PAD(0x00, 0x13);
|
||||
/* 13 */ u8 unk_13;
|
||||
};
|
||||
extern "C" const UnkStruct_ov021_02106c5c *func_ov021_020ea868(int index);
|
||||
|
||||
void PlayerActorBase_70::func_ov017_020bbcd8(VecFx32 *param1, UnkAngleStruct param2) {
|
||||
UnkStackStruct_ov017_020c1104 sp28;
|
||||
VecFx32 sp1C;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerLink.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -11,8 +12,6 @@
|
||||
#include "nitro/math.h"
|
||||
#include "nitro/types.h"
|
||||
|
||||
extern "C" bool func_ov000_020864f8(void *, UnkAngleStruct, void *, void *);
|
||||
|
||||
bool PlayerLinkActor::func_ov017_020bd6b8() {
|
||||
bool ret = false;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Save/SaveFile.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
@@ -7,9 +8,6 @@
|
||||
#include "nitro/math.h"
|
||||
#include "nitro/types.h"
|
||||
|
||||
extern "C" bool func_ov000_020a0a90(u32, unk32, size_t);
|
||||
extern "C" unk32 func_020328c8(void *, void *, size_t);
|
||||
|
||||
void SaveManager::func_ov017_020c2b68(u16 param1) {
|
||||
CARD_LockBackup(gSaveManager.mCardId);
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_027e09ac.hpp"
|
||||
|
||||
@@ -8,12 +9,6 @@
|
||||
#include <nitro/reg.h>
|
||||
#include <nitro/types.h>
|
||||
|
||||
extern "C" void FlushGfxQueue();
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" unk32 func_01ff9258(fx32, fx32);
|
||||
extern "C" void func_01ffb714(const VecFx32 *, const VecFx32 *, VecFx32 *);
|
||||
extern "C" unk32 func_01ffb428(unk32, unk32);
|
||||
|
||||
void UnkStackStruct_ov017_020c1104::func_ov017_020c1104(const VecFx32 *param2, s32 param3, u16 param4) {
|
||||
s16 var_r1;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e095c.hpp"
|
||||
#include "Unknown/UnkStruct_027e09ac.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b0.hpp"
|
||||
@@ -11,15 +12,6 @@
|
||||
#include <nitro/reg.h>
|
||||
#include <nitro/types.h>
|
||||
|
||||
extern "C" void FlushGfxQueue();
|
||||
extern "C" void func_ov000_0205dbe4(u16);
|
||||
extern "C" void func_02024a84(MtxFx33 *param1);
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" unk32 func_01ff9258(fx32, fx32);
|
||||
extern "C" void func_01ffcb94(s16, s16, MtxFx33 *);
|
||||
extern "C" fx32 func_01ffb66c(unk32, unk32);
|
||||
extern "C" void func_02024fc4(fx16 sin, fx16 cos);
|
||||
|
||||
static const fx16 data_ov017_020c3dec[] = {
|
||||
0x1000, 0x1000, 0x0000, 0x0800, 0x0800, 0xF000, 0x1000, 0xF000, 0x0000, 0x0800, 0xF800, 0xF000, 0xF000, 0x1000,
|
||||
0x0000, 0xF800, 0x0800, 0xF000, 0xF000, 0xF000, 0x0000, 0xF800, 0xF800, 0xF000, 0x0000, 0x0000, 0x0266, 0x0000,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
@@ -8,17 +9,6 @@
|
||||
#include "nitro/math.h"
|
||||
#include "nitro/types.h"
|
||||
|
||||
extern "C" unk32 func_01ffb9cc(VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ff9770(VecFx32 *, unk32);
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
extern "C" void func_01ff97c8(VecFx32 *, int);
|
||||
extern "C" unk32 func_ov000_02078aec();
|
||||
extern "C" unk32 func_ov000_0205b090();
|
||||
extern "C" unk32 func_ov000_0205b0ac(s16 param1);
|
||||
extern "C" unk32 func_01ffb428(unk32, unk32);
|
||||
extern "C" unk32 func_01ffbbe0();
|
||||
extern "C" unk32 func_ov000_0208832c(s16, unk32);
|
||||
|
||||
extern u16 data_ov000_020afd08;
|
||||
extern unk32 data_ov000_020afd0c;
|
||||
extern unk32 data_ov000_020afd10;
|
||||
@@ -199,7 +189,7 @@ void UnkStruct_027e0ce0_30_00::func_ov017_020bbf7c(ItemManager *pItemMgr) {
|
||||
VecFx32_SubXZ(&this->mUnk_00, &temp_r10_2->mPos.vec, &sp8);
|
||||
|
||||
PlayerLinkActor_9C *ptr = this->mpPlayer->mUnk_90;
|
||||
s16 value1 = func_01ffbbe0();
|
||||
s16 value1 = func_01ffbbe0(sp8.x, sp8.z);
|
||||
temp_r8_5 = func_ov000_0208832c(value1, ptr->func_ov000_02084944());
|
||||
|
||||
if (VecFx32_Length(&sp8) <= temp_r8_5) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Item/Item.hpp"
|
||||
#include "Player/PlayerActorBase.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
@@ -15,10 +16,6 @@
|
||||
#include "nitro/fx.h"
|
||||
#include "nitro/math.h"
|
||||
|
||||
extern "C" unk32 func_ov000_02080998(VecFx32 *);
|
||||
extern "C" void func_ov000_02085d1c(void *);
|
||||
extern "C" void func_ov000_0208a7a4(void *, void *);
|
||||
|
||||
extern const unk16 data_ov000_020ab3b8;
|
||||
extern const unk16 data_ov000_020ab3bc;
|
||||
extern const unk16 data_ov000_020ab3c0;
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/TouchControl.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "math.hpp"
|
||||
|
||||
extern "C" void func_ov000_02089bbc(void *, unk32);
|
||||
extern "C" void func_ov000_0208abc4(ActorRef *, void *, Vec2s *);
|
||||
|
||||
extern unk16 data_ov000_020ab3c8;
|
||||
|
||||
// https://decomp.me/scratch/6j77v
|
||||
|
||||
@@ -1,12 +1,7 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "LinkList.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cec.hpp"
|
||||
|
||||
extern "C" void FlushGfxQueue();
|
||||
extern "C" void func_ov000_02052238(void *, void *);
|
||||
extern "C" void func_ov000_02052bcc(void *);
|
||||
extern "C" unk32 func_ov000_020545d0(void *, void *);
|
||||
extern "C" void func_ov000_02054548(void *, unk32);
|
||||
|
||||
void UnkStruct_027e0cec_18::func_ov017_020c297c(unk32 param1, unk32 param2) {
|
||||
UnkStruct_027e0cec_18_04 *pIt = GetBeginIterReverse(*this->mUnk_04);
|
||||
UnkStruct_027e0cec_18_04 *pNext;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_02049b18.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_027e09bc.hpp"
|
||||
@@ -10,19 +11,6 @@
|
||||
#include "nitro/fx.h"
|
||||
#include "nitro/math.h"
|
||||
|
||||
extern "C" bool func_01ff916c(void *, int, int);
|
||||
extern "C" void func_01ffb974(unk32, VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ff9770(VecFx32 *, unk32);
|
||||
extern "C" unk32 func_01ffb428(unk32, unk32);
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" unk32 func_01ff9364(u16 *, UnkAngleStruct);
|
||||
extern "C" bool func_ov000_02080998(VecFx32 *);
|
||||
extern "C" VecFx32 *func_ov000_0205d524(unk32, unk32);
|
||||
extern "C" unk32 func_ov000_02077480();
|
||||
extern "C" unk16 func_0201a710(unk16);
|
||||
extern "C" void func_ov000_0205db44(void *, void *, unk32);
|
||||
|
||||
void UnkStruct_027e0ce0_40_Base_7C::func_ov017_020be2ec(UnkStruct_027e0ce0_40_Base_14 *param1, bool param2,
|
||||
UnkParamStruct1 param3) {
|
||||
STACK_PAD(0x04);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Game/GameModeStartUp.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "System/SysFault.hpp"
|
||||
@@ -15,23 +16,6 @@
|
||||
#include <nitro/reg.h>
|
||||
#include <nitro/tp.h>
|
||||
|
||||
extern "C" {
|
||||
void func_0201245c();
|
||||
void func_02027a28(void *param1, unk32 param2);
|
||||
void func_02013184();
|
||||
void func_020131b0();
|
||||
void func_02031e48(void *param1);
|
||||
|
||||
UnkStruct_02011e10_Sub1 *func_020012e0(unk32 param1, unk32 param2, unk32 param3);
|
||||
unk32 func_0202d624(void *param1, unk32 param2);
|
||||
void *func_02001fd4(void *param1, size_t param2);
|
||||
void func_020013ac(void *param1);
|
||||
UnkStruct_02011e10_Sub1 *func_02001098(unk32 param1, unk32 param2, unk32 param3);
|
||||
unk32 func_020011f4();
|
||||
void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7,
|
||||
unk32 param8);
|
||||
}
|
||||
|
||||
static u8 data_ov018_020c5bc0;
|
||||
|
||||
void SysFault::func_ov018_020c4840() {
|
||||
@@ -75,8 +59,8 @@ UnkStruct_02049b18::UnkStruct_02049b18() {
|
||||
}
|
||||
|
||||
void UnkStruct_02011e10::func_ov018_020c4980() {
|
||||
uintptr_t arenaLo = (uintptr_t) OS_GetMainArenaLo();
|
||||
uintptr_t arenaHi = (uintptr_t) OS_GetMainArenaHi();
|
||||
u8 *arenaLo = (u8 *) OS_GetMainArenaLo();
|
||||
u8 *arenaHi = (u8 *) OS_GetMainArenaHi();
|
||||
|
||||
for (int i = 0; i < HeapIndex_Max; i++) {
|
||||
this->mUnk_00[i] = NULL;
|
||||
@@ -108,19 +92,19 @@ void UnkStruct_02011e10::func_ov018_020c4980() {
|
||||
void UnkStruct_02011e10::func_ov018_020c4a5c() {
|
||||
UnkStruct_02011e10_Sub1 *temp_r2;
|
||||
uintptr_t temp_r5;
|
||||
uintptr_t temp_r7;
|
||||
uintptr_t temp_r0;
|
||||
u8 *temp_r7;
|
||||
u8 *temp_r0;
|
||||
|
||||
func_020013ac(this->mUnk_00[0]);
|
||||
temp_r2 = this->mUnk_00[0];
|
||||
|
||||
temp_r5 = ((uintptr_t) temp_r2->mUnk_1C - (uintptr_t) temp_r2); //! TODO: fake match?
|
||||
temp_r7 = (uintptr_t) OS_GetArenaLo(0);
|
||||
temp_r7 = (u8 *) OS_GetArenaLo(0);
|
||||
temp_r7 += temp_r5;
|
||||
|
||||
temp_r0 = (uintptr_t) OS_GetMainArenaHi();
|
||||
temp_r0 = (u8 *) OS_GetMainArenaHi();
|
||||
this->mUnk_00[1] = func_02001098(temp_r7, temp_r0 - temp_r7, 2);
|
||||
this->mUnk_5C = func_020011f4();
|
||||
this->mUnk_5C = func_020011f4(this->mUnk_00[1]);
|
||||
OS_SetMainArenaLo((void *) temp_r0);
|
||||
this->mUnk_74 = 1;
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "System/Random.hpp"
|
||||
#include "System/SysFault.hpp"
|
||||
@@ -24,25 +25,6 @@
|
||||
#include <nitro/os.h>
|
||||
#include <nitro/rtc.h>
|
||||
|
||||
extern "C" {
|
||||
unk32 func_02014fe0();
|
||||
void func_020327c8(void *param1, unk32 param2);
|
||||
void func_0201bdd0();
|
||||
void NNS_SndInit();
|
||||
void NNS_SndArcInit(void *param1, const char *soundDataPath, unk32 param2, unk32 param3);
|
||||
void NNS_SndArcPlayerSetup(unk32 param1);
|
||||
void func_02004d2c(unk32 param1, unk32 param2);
|
||||
void func_02001778(unk32 param1);
|
||||
void func_02003f98(unk32 param1, unk32 param2);
|
||||
void NNS_SndHeapSaveState(unk32 param1);
|
||||
void func_0202ee0c();
|
||||
void func_0202f910(unk32 param1);
|
||||
void func_0202f958(unk32 param1);
|
||||
void func_02005030(void *param1);
|
||||
void NNS_SndHandleInit(void *param1);
|
||||
void NNS_SndPlayerStopSeq(void *param1, unk32 param2);
|
||||
}
|
||||
|
||||
void func_ov018_020c4e8c(void) {
|
||||
RTC_Init();
|
||||
gRandom.Init();
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
|
||||
#include "Unknown/UnkStruct_02049b80.hpp"
|
||||
@@ -7,11 +8,6 @@
|
||||
#include <nitro/card.h>
|
||||
#include <wstring.h>
|
||||
|
||||
extern "C" {
|
||||
unk32 func_020328c8(void *, void *, size_t);
|
||||
bool func_ov000_020a0a90(size_t param1, void *param2, size_t param3);
|
||||
};
|
||||
|
||||
const size_t data_ov019_020d1bd4[] = {
|
||||
sizeof(SaveInfoData),
|
||||
sizeof(SaveTreasureData),
|
||||
@@ -205,24 +201,24 @@ void SaveFile::func_ov019_020d0e18(unk32 param1) {
|
||||
size_t offset = SAVE_FILE_OFFSET(param1);
|
||||
SaveSlot *puVar3 = &this->mSlots[param1];
|
||||
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mInfoData), &puVar3->mInfoData, sizeof(puVar3->mInfoData))) {
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mInfoData), (unk32) &puVar3->mInfoData, sizeof(puVar3->mInfoData))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mTreasureData), &puVar3->mTreasureData,
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mTreasureData), (unk32) &puVar3->mTreasureData,
|
||||
sizeof(puVar3->mTreasureData))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_1D00), &puVar3->mUnk_1D00, sizeof(puVar3->mUnk_1D00))) {
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_1D00), (unk32) &puVar3->mUnk_1D00, sizeof(puVar3->mUnk_1D00))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2500), &puVar3->mUnk_2500, sizeof(puVar3->mUnk_2500))) {
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2500), (unk32) &puVar3->mUnk_2500, sizeof(puVar3->mUnk_2500))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2600), &puVar3->mUnk_2600, sizeof(puVar3->mUnk_2600))) {
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2600), (unk32) &puVar3->mUnk_2600, sizeof(puVar3->mUnk_2600))) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -240,7 +236,7 @@ void SaveFile::func_ov019_020d13b8() {
|
||||
SaveSlot::func_ov019_020d1400(this->mSlots[this->mSaveSlotIndex].mUnk_2600);
|
||||
|
||||
func_ov000_020a0a90(saveSlotIndex * SAVE_DATA_SIZE + offsetof(SaveSlot, mUnk_2600),
|
||||
this->mSlots[this->mSaveSlotIndex].mUnk_2600, sizeof(this->mSlots->mUnk_2600));
|
||||
(unk32) this->mSlots[this->mSaveSlotIndex].mUnk_2600, sizeof(this->mSlots->mUnk_2600));
|
||||
}
|
||||
|
||||
void SaveSlot::func_ov019_020d1400(SaveFile_00000_2600_Data *param1) {
|
||||
@@ -252,13 +248,13 @@ void SaveFile::func_ov019_020d1434() {
|
||||
size_t offset = SAVE_FILE_OFFSET(this->mSaveSlotIndex);
|
||||
|
||||
SaveSlot::func_ov019_020d14fc(this->mSlots[this->mSaveSlotIndex].mInfoData);
|
||||
if (!func_ov000_020a0a90(offset, &this->mSlots[this->mSaveSlotIndex].mInfoData,
|
||||
if (!func_ov000_020a0a90(offset, (unk32) & this->mSlots[this->mSaveSlotIndex].mInfoData,
|
||||
sizeof(this->mSlots[this->mSaveSlotIndex].mInfoData))) {
|
||||
return;
|
||||
}
|
||||
|
||||
SaveSlot::func_ov019_020d14c0(this->mSlots[this->mSaveSlotIndex].mUnk_1D00);
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_1D00), &this->mSlots[this->mSaveSlotIndex].mUnk_1D00,
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_1D00), (unk32) & this->mSlots[this->mSaveSlotIndex].mUnk_1D00,
|
||||
sizeof(this->mSlots[this->mSaveSlotIndex].mUnk_1D00))) {
|
||||
return;
|
||||
}
|
||||
@@ -280,13 +276,13 @@ void SaveFile::func_ov019_020d1538() {
|
||||
size_t offset = this->mSaveSlotIndex * SAVE_DATA_SIZE;
|
||||
|
||||
SaveSlot::func_ov019_020d1600(this->mSlots[this->mSaveSlotIndex].mTreasureData);
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mTreasureData), &this->mSlots[this->mSaveSlotIndex].mTreasureData,
|
||||
sizeof(SaveInfoData) * 2)) {
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mTreasureData),
|
||||
(unk32) & this->mSlots[this->mSaveSlotIndex].mTreasureData, sizeof(SaveInfoData) * 2)) {
|
||||
return;
|
||||
}
|
||||
|
||||
SaveSlot::func_ov019_020d15cc(this->mSlots[this->mSaveSlotIndex].mUnk_2500);
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2500), &this->mSlots[this->mSaveSlotIndex].mUnk_2500,
|
||||
if (!func_ov000_020a0a90(offset + offsetof(SaveSlot, mUnk_2500), (unk32) & this->mSlots[this->mSaveSlotIndex].mUnk_2500,
|
||||
sizeof(SaveFile_00000_1D00_Data) * 2)) {
|
||||
return;
|
||||
}
|
||||
@@ -339,7 +335,7 @@ void SaveFile::func_ov019_020d16d0() {
|
||||
for (int i = 0; i < NUM_UNK_BLOCKS; i++) {
|
||||
if (pSub2->mInfoData[i >> 5].unk_C84.unk_00[0] & (1 << (i & 0x1F))) {
|
||||
func_ov000_020a0a90(SAVE_FILE_OFFSET(saveSlotIndex) + i * SIZE_UNK_BLOCK + sizeof(SaveSlot),
|
||||
&this->mUnk_04E0C[i * SIZE_UNK_BLOCK], SIZE_UNK_BLOCK);
|
||||
(unk32) & this->mUnk_04E0C[i * SIZE_UNK_BLOCK], SIZE_UNK_BLOCK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "FileSelect/UnkSubStruct9.hpp"
|
||||
#include "Save/AdventureFlags.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_02062e44(void *param1, void *param2);
|
||||
};
|
||||
|
||||
// non-matching
|
||||
UnkSubStruct9::UnkSubStruct9(stack_struct1 param1) :
|
||||
mSaveSlotIndex(param1.arg2),
|
||||
@@ -100,7 +97,7 @@ struct struct_sStack_100 {
|
||||
|
||||
struct_sStack_100(UnkSubStruct9 *thisx, UnkStruct_ov019_020d24c8_28_258 *pUnkSub258, Vec2s *pLocal_c4, u16 iVar12,
|
||||
u16 iVar11) {
|
||||
func_ov000_02062e44(this, &thisx->mUnk_004);
|
||||
func_ov000_02062e44((Vec2s *) this, &thisx->mUnk_004);
|
||||
this->mUnk_06 = pUnkSub258->mPos.x - this->mUnk_02;
|
||||
this->mUnk_04 = pUnkSub258->mPos.y - this->mUnk_00;
|
||||
this->mUnk_08 = pLocal_c4->x + thisx->mUnk_77C.x + iVar11 + this->mUnk_00;
|
||||
@@ -135,7 +132,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() {
|
||||
|
||||
Vec2s pos = this->mUnk_004.mPos;
|
||||
|
||||
func_ov000_02062e44(local_d0, (void *) &this->mUnk_004);
|
||||
func_ov000_02062e44((Vec2s *) local_d0, (void *) &this->mUnk_004);
|
||||
|
||||
unk16 test[2];
|
||||
unk16 sVar4 = this->mUnk_77C.y;
|
||||
@@ -146,7 +143,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() {
|
||||
this->mUnk_064.mUnk_142 = test[1];
|
||||
this->mUnk_064.func_0201f4b4(0);
|
||||
|
||||
func_ov000_02062e44(local_d8, &this->mUnk_004);
|
||||
func_ov000_02062e44((Vec2s *) local_d8, &this->mUnk_004);
|
||||
|
||||
local_dc[0] = local_c4.x + pos.x + this->mUnk_29C.mPos.x - local_d8[0];
|
||||
local_dc[1] = local_c4.y + pos.y + this->mUnk_29C.mPos.y - local_d8[1];
|
||||
@@ -179,7 +176,7 @@ void UnkSubStruct9::func_ov019_020cbc0c() {
|
||||
unk16 sStack_e0[2];
|
||||
unk16 uVar3 = data_ov019_020d1e98[i];
|
||||
UnkStruct_ov019_020d24c8_28_258 uStack_40(0x89, uVar3);
|
||||
func_ov000_02062e44(&sStack_e0, &this->mUnk_004.mPos);
|
||||
func_ov000_02062e44((Vec2s *) &sStack_e0, &this->mUnk_004.mPos);
|
||||
|
||||
unk16 iVar5 = uStack_40.mPos.x - sStack_e0[0];
|
||||
unk16 iVar2 = uStack_40.mPos.y - sStack_e0[1];
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "Game/GameModeFileSelect.hpp"
|
||||
@@ -10,10 +11,6 @@
|
||||
|
||||
#include <nitro/g2.h>
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_02062e44(void *param1, void *param2);
|
||||
};
|
||||
|
||||
class UnkStruct_ov019_020d24c0 {
|
||||
public:
|
||||
Vec2s mUnk_00;
|
||||
@@ -244,7 +241,7 @@ void FileSelectMain::func_ov019_020c6d48() {
|
||||
|
||||
for (int i = 0; i < MAX_SAVE_SLOTS; i++) {
|
||||
this->GetUnk03E0(i).func_ov019_020cbaec();
|
||||
func_ov000_02062e44(&auStack_2c, &this->GetUnk03E0(i).mUnk_004);
|
||||
func_ov000_02062e44((Vec2s *) &auStack_2c, &this->GetUnk03E0(i).mUnk_004);
|
||||
|
||||
local_34.x = UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_20;
|
||||
local_34.y = UnkStruct_ov019_020d1e70::data_ov019_020d1e4c.mUnk_0C;
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
|
||||
#include <nitro/gx.h>
|
||||
|
||||
extern "C" GameModeManagerBase_104 *func_ov003_020b6520(void *param1, void *param2);
|
||||
|
||||
FileSelectManager_160::FileSelectManager_160(GameModeManagerBase_104 *param1, FileSelectMain *param2) {
|
||||
this->mUnk_10 = param2;
|
||||
this->mUnk_14 = NULL;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "FileSelect/FileSelectMicTest.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "FileSelect/FileSelectOptionsManager.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -6,13 +7,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b51b8.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
|
||||
|
||||
extern "C" {
|
||||
unk32 func_01ffb428(unk32, unk32);
|
||||
|
||||
void func_ov000_02062e44(Vec2s *param1, void *param2);
|
||||
unk8 func_ov000_02070164(void *); //! TODO: turn to a class
|
||||
};
|
||||
|
||||
class UnkStruct_ov019_020d2248 {
|
||||
public:
|
||||
u16 mUnk_00;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "FileSelect/FileSelectOptions.hpp"
|
||||
// clang-format on
|
||||
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -10,11 +11,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b50c0.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_02062e44(void *param1, void *param2);
|
||||
void func_ov000_020623d8(void *param1, unk32 param2);
|
||||
};
|
||||
|
||||
class UnkStruct_ov019_020d215c {
|
||||
public:
|
||||
/* 00 */ Vec2sC mUnk_00;
|
||||
@@ -454,14 +450,14 @@ void FileSelectOptions::func_ov019_020cd614() {
|
||||
}
|
||||
this->mUnk_1064.mUnk_08 = 0;
|
||||
|
||||
func_ov000_02062e44(&local_34, &this->mUnk_1388);
|
||||
func_ov000_02062e44((Vec2s *) &local_34, &this->mUnk_1388);
|
||||
this->mUnk_1420.func_ov000_0206415c(&local_34, 0, 0xC, 0);
|
||||
|
||||
func_ov000_02062e44(&local_40, &this->mUnk_16AC);
|
||||
func_ov000_02062e44((Vec2s *) &local_40, &this->mUnk_16AC);
|
||||
local_34 = local_40;
|
||||
this->mUnk_1744.func_ov000_0206415c(&local_34, 0, 0xC, 0);
|
||||
|
||||
func_ov000_02062e44(&local_44, &this->mUnk_19D0);
|
||||
func_ov000_02062e44((Vec2s *) &local_44, &this->mUnk_19D0);
|
||||
local_34 = local_44;
|
||||
this->mUnk_1A68.func_ov000_0206415c(&local_34, 0, 0xC, 0);
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "FileSelect/FileSelect.hpp"
|
||||
#include "FileSelect/FileSelectOptionsManager.hpp"
|
||||
#include "System/Random.hpp"
|
||||
@@ -7,11 +8,6 @@
|
||||
#include <nitro/g2.h>
|
||||
#include <nitro/os.h>
|
||||
|
||||
extern "C" {
|
||||
void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7,
|
||||
unk32 param8);
|
||||
};
|
||||
|
||||
FileSelectOptionsManager *gpFSOptionsManager = NULL;
|
||||
|
||||
static unk8 data_ov019_020fb8cc[0xDC00];
|
||||
|
||||
@@ -1,16 +1,7 @@
|
||||
#include "Actor/Actor_Derived1.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e0960.hpp"
|
||||
|
||||
struct UnkFuncStruct1 {
|
||||
s16 unk_00;
|
||||
};
|
||||
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
extern "C" u16 func_01ffbbe0(fx32 x, fx32 z);
|
||||
extern "C" unk32 func_01ff930c(s16 *, unk16, unk32);
|
||||
extern "C" unk32 func_01ff9258(int, int);
|
||||
extern "C" fx32 func_02017f54(s16 *pAngle, UnkFuncStruct1);
|
||||
|
||||
//! TODO: probably not there?
|
||||
bool data_ov024_020d86b4 = false;
|
||||
|
||||
@@ -171,7 +162,7 @@ u16 *Actor_Derived1_EC::func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32
|
||||
VecFx32 sp1C;
|
||||
VecFx32 sp10;
|
||||
VecFx32 sp4;
|
||||
UnkFuncStruct1 sp0;
|
||||
UnkAngleStruct sp0;
|
||||
s16 temp_r1;
|
||||
s32 var_r0;
|
||||
s32 temp_r4;
|
||||
@@ -186,8 +177,8 @@ u16 *Actor_Derived1_EC::func_ov024_020d69d8(VecFx32 *pPos, s16 *pAngle, VecFx32
|
||||
|
||||
func_01ffb714(&sp1C, pPos, &sp10);
|
||||
|
||||
temp_r1 = func_01ffbbe0(sp10.x, sp10.z);
|
||||
sp0.unk_00 = temp_r1;
|
||||
temp_r1 = func_01ffbbe0(sp10.x, sp10.z);
|
||||
sp0.angle_s = temp_r1;
|
||||
func_01ff930c((s16 *) pAngle, temp_r1, param5);
|
||||
|
||||
temp_r4 = func_01ff9258(sp1C.x - pPos->x, sp1C.z - pPos->z);
|
||||
@@ -221,7 +212,7 @@ u16 *Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32
|
||||
VecFx32 sp1C;
|
||||
VecFx32 sp10;
|
||||
VecFx32 sp4;
|
||||
UnkFuncStruct1 sp0;
|
||||
UnkAngleStruct sp0;
|
||||
s16 temp_r1;
|
||||
s32 var_r0;
|
||||
s32 temp_r4;
|
||||
@@ -237,8 +228,8 @@ u16 *Actor_Derived1_EC::func_ov024_020d6b7c(VecFx32 *pPos, s16 *pAngle, VecFx32
|
||||
func_01ffb714(&sp28, pPos, &sp1C);
|
||||
func_01ffb714(&sp28, &this->mUnk_0C, &sp10);
|
||||
|
||||
temp_r1 = func_01ffbbe0(sp1C.x, sp1C.z);
|
||||
sp0.unk_00 = temp_r1;
|
||||
temp_r1 = func_01ffbbe0(sp1C.x, sp1C.z);
|
||||
sp0.angle_s = temp_r1;
|
||||
func_01ff930c((s16 *) pAngle, temp_r1, param5);
|
||||
|
||||
temp_r4 = func_01ff9258(sp28.x - pPos->x, sp28.z - pPos->z);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorUnkTUTO.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/GameModeAdventure.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
@@ -30,14 +31,6 @@
|
||||
#include <nitro/g2.h>
|
||||
#include <nitro/os.h>
|
||||
|
||||
extern "C" {
|
||||
void func_02019b3c();
|
||||
void func_02019c4c();
|
||||
void func_02019a74();
|
||||
void func_0200a7b0(unk32 param1, void *param2, void *param3, void *param4, unk32 param5, unk32 param6, unk32 param7,
|
||||
unk32 param8);
|
||||
}
|
||||
|
||||
extern void *data_ov000_020b64f8;
|
||||
|
||||
AdventureModeManager::~AdventureModeManager() {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -11,11 +12,7 @@
|
||||
#include <nitro/g2.h>
|
||||
#include <nitro/reg.h>
|
||||
|
||||
extern "C" void func_02019b3c();
|
||||
extern "C" AdventureModeManager_160_18 *func_ov006_020b6ab0(void *, void *);
|
||||
|
||||
//! TODO: this is fake according to GameModeTitleScreen::GameModeTitleScreen()
|
||||
extern "C" AdventureModeManager_160_14 *func_ov002_020b6520(void *, void *, int);
|
||||
|
||||
void AdventureModeManager_160_4C::vfunc_0C() {
|
||||
data_0204a088->func_ov000_02061224();
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
@@ -9,8 +10,6 @@
|
||||
|
||||
#include <nitro/gx.h>
|
||||
|
||||
extern "C" GameModeManagerBase_104 *func_ov008_020b6520(void *);
|
||||
|
||||
void AdventureModeManager_170_14::vfunc_0C() {
|
||||
data_0204a088->func_ov000_02061224();
|
||||
}
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
#include "Unknown/UnkStruct_0204e5f8.hpp"
|
||||
|
||||
extern "C" void func_ov002_020b6d50(void *);
|
||||
extern "C" void func_ov002_020b6d68(void *);
|
||||
extern "C" unk32 func_ov002_020b6cf4(void *, unk32 param1);
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
AdventureModeManager_174::AdventureModeManager_174(GameModeManagerBase_104 *param1) :
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
|
||||
extern "C" unk32 func_ov004_020b697c(void *, unk32 param1);
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
AdventureModeManager_178::AdventureModeManager_178(GameModeManagerBase_104 *param1) :
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "MapObject/MapObjectUnkSPTB.hpp"
|
||||
@@ -7,8 +8,6 @@
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b4f70.hpp"
|
||||
|
||||
extern "C" unk32 func_ov014_020b6520(void *, int, int);
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
void AdventureModeManager_180_18::vfunc_0C(void) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UICounterManager.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
@@ -9,10 +10,6 @@
|
||||
#include "Unknown/UnkStruct_ov000_020b504c.hpp"
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
|
||||
extern "C" AdventureModeManager_184_10 *func_ov010_020b65fc(void *);
|
||||
extern "C" AdventureModeManager_184_10 *func_ov010_020b6520(void *);
|
||||
extern "C" AdventureModeManager_184_14 *func_ov010_020b88c4(void *);
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
AdventureModeManager_184::AdventureModeManager_184(GameModeManagerBase_104 *param1) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Save/AdventureFlags.hpp"
|
||||
#include "Unknown/UnkStruct_02049f8c.hpp"
|
||||
@@ -11,10 +12,6 @@
|
||||
|
||||
#include <nitro/g2.h>
|
||||
|
||||
extern "C" AdventureModeManager_18C_10 *func_ov011_020b6520(void *, int);
|
||||
extern "C" void func_ov011_020b84f0(s16 *param1, void *, unk32 param2);
|
||||
extern "C" void func_02019b3c();
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
AdventureModeManager_18C_14::AdventureModeManager_18C_14() {}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
#include "Unknown/UnkStruct_0204e5f8.hpp"
|
||||
@@ -5,8 +6,6 @@
|
||||
|
||||
#include <nitro/gx.h>
|
||||
|
||||
extern "C" AdventureModeManager_190_10 *func_ov011_020b8e54(void *, int);
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
void AdventureModeManager_190_14::vfunc_0C() {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -10,16 +11,6 @@
|
||||
#include <nitro/gx.h>
|
||||
#include <nitro/os.h>
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_0205a950(u8 bgType, bool isTopScreen, bool);
|
||||
void func_ov000_0205a944(u8 bgType, bool isTopScreen, bool);
|
||||
void func_01ffb644(fx32 x, fx32 y);
|
||||
unk32 func_01ffb558();
|
||||
|
||||
void func_02029058(void *, void *);
|
||||
u32 func_0202955c(void *, int, void *, int, void *);
|
||||
}
|
||||
|
||||
static const bool data_ov024_020d7544[] = {true, false, true};
|
||||
static const u8 data_ov024_020d7547[] = {0x03, 0x01, 0x02, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00};
|
||||
static u16 data_ov024_020d869c;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/GameModeAdventure.hpp"
|
||||
#include "Save/SaveManager.hpp"
|
||||
#include "Unknown/UnkStruct_0204a088.hpp"
|
||||
@@ -9,10 +10,6 @@
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" {
|
||||
unk32 func_0200e234();
|
||||
}
|
||||
|
||||
THUMB_BEGIN
|
||||
|
||||
GameModeAdventure::~GameModeAdventure() {
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "MainGame/MiscAdvManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Item/ItemManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" u8 func_ov000_020a9a50();
|
||||
|
||||
MiscAdvManager *gpMiscAdvManager = NULL;
|
||||
|
||||
MiscAdvManager *MiscAdvManager::Create() {
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Player/PlayerLink.hpp"
|
||||
|
||||
extern "C" void func_ov000_0205be34(void *thisx, unk16 param1);
|
||||
extern "C" void func_ov000_0205be44(void *thisx, Vec2s *param1, Vec2s *param2, bool param3, bool param4);
|
||||
|
||||
struct UnkStruct_auStack_14 {
|
||||
unk16 unk_00;
|
||||
unk8 unk_02;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/GameModeManager.hpp"
|
||||
#include "System/OverlayManager.hpp"
|
||||
#include "Unknown/UnkStruct_02049be0.hpp"
|
||||
@@ -12,9 +13,6 @@
|
||||
#include "Unknown/UnkStruct_ov024_020d8694.hpp"
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" unk32 func_02014fe0();
|
||||
extern "C" fx32 func_01ffb428(unk32, unk32);
|
||||
|
||||
UnkTitleCardSystem1::UnkTitleCardSystem1(GameModeManagerBase_004 *param1) :
|
||||
mUnk_004(4),
|
||||
mUnk_008(NULL),
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
#include "MainGame/PassengerManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/Random.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_02049bac.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
|
||||
extern "C" SceneIndex func_ov000_0205c984();
|
||||
extern "C" u32 func_ov000_0205c9b4();
|
||||
|
||||
const s16 data_ov024_020d7598[] = {0x29, 0x2F, 0x2B, 0x2C, 0x2E};
|
||||
|
||||
struct PassengerInfos {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkFileSystem.hpp"
|
||||
@@ -8,10 +9,6 @@
|
||||
#include <nitro/mi.h>
|
||||
#include <printf.h>
|
||||
|
||||
extern "C" unk32 func_02032784(unk32 param1);
|
||||
extern "C" unk32 func_ov000_0205c7ac(unk32, unk32);
|
||||
extern "C" bool func_ov000_0205c74c(unk32, unk32, unk32, unk32);
|
||||
|
||||
static const u8 data_ov024_020d756c[] = {0x01, 0x04, 0x10, 0x40};
|
||||
|
||||
UnkDataStruct4::UnkDataStruct4() {
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "Unknown/Common.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
|
||||
extern "C" unk32 func_02032784(unk32 param1);
|
||||
extern "C" u8 func_020157f0(unk32 param1, unk32 param2);
|
||||
extern "C" u8 func_020157c0(unk32 param1, unk32 param2);
|
||||
|
||||
static const u8 data_ov024_020d7550[] = {0x01, 0x04, 0x10, 0x40, 0x00};
|
||||
static const u8 data_ov024_020d7555[] = {0x20, 0x10, 0x08, 0x40, 0x00, 0x04, 0x80, 0x01, 0x02, 0x00, 0x00};
|
||||
static const unk32 data_ov024_020d7560[] = {0x01, 0x00, 0x02};
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e0998.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_027e09b8.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cf8.hpp"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" bool func_ov000_0205ca18(unk32 param1, unk32 param2);
|
||||
extern "C" bool func_ov000_0205c9d0(unk32 stationSceneIdx);
|
||||
extern VecFx32 data_027e07d4;
|
||||
|
||||
static const Vec2sb data_ov024_020d8094(0x7F, 0x7F);
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cf8.hpp"
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" fx32 func_01ffb66c(unk32, unk32);
|
||||
|
||||
bool UnkStruct_027e0cf8_08_00::func_ov024_020d3900(Vec2s *param1, fx32 *param2, fx32 *param3, unk32 param4, unk32 param5) {
|
||||
return UnkStruct_027e0cf8_08_00::func_ov024_020d3970(param1, param2, param3, param4, param5);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cf8.hpp"
|
||||
|
||||
#include <nitro/mi.h>
|
||||
|
||||
extern "C" void func_02019cec(u16 param1, unk32 param2);
|
||||
|
||||
u8 UnkStruct_027e0cf8_08::func_ov024_020d3158(SceneIndex sceneIndex) {
|
||||
switch (sceneIndex) {
|
||||
case SceneIndex_test_trn:
|
||||
|
||||
@@ -1,13 +1,11 @@
|
||||
#include "Unknown/UnkStruct_027e0d00.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/CargoManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" bool func_ov026_020f4be0(int, int);
|
||||
extern "C" unk32 func_02012fc4(unk32);
|
||||
|
||||
const UnkStruct_ov024_020d7624 data_ov024_020d7624 = {0x13, {0}};
|
||||
static const unk32 data_ov024_020d764c[] = {0x0320, 0x0300, 0x0500, 0x0200};
|
||||
static const unk32 data_ov024_020d763c[] = {0x0270, 0x0140, 0x0240, 0x0100};
|
||||
@@ -96,7 +94,7 @@ void UnkStruct_027e0d00::func_ov024_020d4ab4() {
|
||||
}
|
||||
|
||||
#if IS_JP
|
||||
extern "C" void func_ov000_02058c74(void *, int, int, int, int);
|
||||
|
||||
#endif
|
||||
|
||||
void UnkStruct_027e0d00::func_ov024_020d4af4() {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "MainGame/PassengerManager.hpp"
|
||||
#include "MainGame/UnkTrainSystems.hpp"
|
||||
@@ -8,9 +9,6 @@
|
||||
#include "types.h"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" void func_ov000_0205c1f0(unk32 *, u16);
|
||||
extern "C" void func_ov000_0205c204(void *, VecFx32 *, int, int, u8);
|
||||
|
||||
struct UnkStruct_ov024_020d86a8_Mgr {
|
||||
const UnkStruct_ov024_020d86a8 *pInstance;
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/AdventureMode.hpp"
|
||||
#include "MainGame/CargoManager.hpp"
|
||||
#include "MainGame/UnkTrainSystems.hpp"
|
||||
@@ -8,9 +9,6 @@
|
||||
#include "Unknown/UnkStruct_027e0d00.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b5214.hpp"
|
||||
|
||||
extern "C" void func_01ffcb94(unk16, unk16, MtxFx33 *);
|
||||
extern "C" void func_01ffa60c(const MtxFx33 *, MtxFx33 *, MtxFx33 *);
|
||||
|
||||
const UnkStruct_ov024_020d86a8 data_ov024_020d78bc = {0};
|
||||
|
||||
const UnkCargoStruct data_ov024_020d78c0[] = {
|
||||
@@ -43,8 +41,6 @@ UnkTrainSystem2::UnkTrainSystem2() :
|
||||
|
||||
UnkTrainSystem2::~UnkTrainSystem2() {}
|
||||
|
||||
extern "C" bool func_01ff916c(void *, int, int);
|
||||
|
||||
void UnkTrainSystem2::func_ov024_020d5990() {
|
||||
if (this->func_ov024_020d5c40()) {
|
||||
this->mUnk_00 = 0x1000;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Unknown/UICounterManager.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "MainGame/CargoManager.hpp"
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
#include "Unknown/UnkStruct_0204af1c.hpp"
|
||||
@@ -11,9 +12,6 @@
|
||||
#include "Unknown/UnkStruct_ov024_020d8660.hpp"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" s16 func_020196b0(unk32 param1);
|
||||
extern "C" unk32 func_02015788(u16 param1);
|
||||
|
||||
UICounterManager *gpUICounterManager = NULL;
|
||||
|
||||
static const u16 data_ov024_020d73d8[] = {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e0d08.hpp"
|
||||
#include "Unknown/UnkStruct_ov000_020b50c0.hpp"
|
||||
@@ -5,9 +6,6 @@
|
||||
#include <nitro/os.h>
|
||||
#include <nitro/snd.h>
|
||||
|
||||
extern "C" BOOL func_0200169c(void *, int, int, int, int, void *, int);
|
||||
extern "C" void func_0200174c();
|
||||
|
||||
UnkStruct_027e0d08::UnkStruct_027e0d08() {
|
||||
this->mUnk_00 = NULL;
|
||||
this->mUnk_04 = NULL;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Game/GameModeTitleScreen.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Cutscene/Cutscene.hpp"
|
||||
#include "Game/Game.hpp"
|
||||
#include "TitleScreen/TitleScreen.hpp"
|
||||
@@ -6,11 +7,6 @@
|
||||
#include "Unknown/UnkStruct_0204a110.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a4.hpp"
|
||||
|
||||
extern "C" {
|
||||
void func_0201659c();
|
||||
void func_0200e234();
|
||||
}
|
||||
|
||||
GameModeTitleScreen::GameModeTitleScreen() {
|
||||
func_0201659c();
|
||||
gGame.func_02013370(2);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "TitleScreen/TitleScreen.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "Game/GameMode.hpp"
|
||||
#include "Unknown/UnkStruct_02049be0.hpp"
|
||||
#include "Unknown/UnkStruct_0204a060.hpp"
|
||||
@@ -11,11 +12,6 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
extern "C" {
|
||||
void func_ov000_0205be34(void *param1, unk32 param2);
|
||||
void func_ov000_0205bedc(void *param1, void *param2, void *param3, void *param4, unk32 param5, int);
|
||||
}
|
||||
|
||||
static TitleScreenPTMF<TitleScreen> data_ov025_020c5aec[TitleScreenState_Max] = {
|
||||
&TitleScreen::func_ov025_020c5200, // TitleScreenState_None
|
||||
&TitleScreen::func_ov025_020c5204, // TitleScreenState_IdleBeforeUI
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorBlast.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -14,10 +15,7 @@ struct UnkStruct_ov031_020e5d18_00 {
|
||||
/* 18 */
|
||||
};
|
||||
|
||||
extern "C" VecFx32 data_027e07d4;
|
||||
|
||||
extern "C" void func_01ffe6c4(UnkStruct_ov031_020e5d18_00 *, ActorRef, VecFx32 *, VecFx32 *, s32, VecFx32 *,
|
||||
UnkStruct_ov031_Items_00_Base *);
|
||||
extern VecFx32 data_027e07d4;
|
||||
|
||||
DECL_PROFILE(ActorProfileBlast);
|
||||
|
||||
@@ -114,7 +112,7 @@ void ActorBlast::Update() {
|
||||
UnkStruct_ov031_020e5d18_00 sp14;
|
||||
sp14.mUnk_00 = NULL;
|
||||
|
||||
func_01ffe6c4(&sp14, this->mRef, &data_027e07d4, &data_027e07d4, 0x1C, NULL, &this->mUnk_E8);
|
||||
func_01ffe6c4(&sp14.mUnk_00, this->mRef, &data_027e07d4, &data_027e07d4, 0x1C, NULL, &this->mUnk_E8);
|
||||
|
||||
sp14.mUnk_00->func_ov000_0207df88(&this->mUnk_C8, 0x0);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorBomb.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include "Actor/ActorBlast.hpp"
|
||||
#include "Actor/ActorManager.hpp"
|
||||
@@ -23,25 +24,13 @@ struct UnkStruct_ov031_020e5d18_00 {
|
||||
/* 18 */
|
||||
};
|
||||
|
||||
extern "C" VecFx32 data_027e07d4;
|
||||
extern "C" unk32 data_ov000_020aecf8;
|
||||
extern "C" VecFx32 data_ov031_02110a10;
|
||||
extern "C" VecFx32 data_ov031_02110a28;
|
||||
extern "C" char data_ov031_02110a50;
|
||||
extern "C" char data_ov031_02110a60;
|
||||
extern "C" char data_ov031_02110a70;
|
||||
|
||||
extern "C" bool func_01ff916c(void *, int, int);
|
||||
extern "C" void func_01ff9218(fx32 *, fx32, fx32);
|
||||
extern "C" unk32 func_01ff9258(fx32, fx32);
|
||||
extern "C" void func_01ff94cc(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
extern "C" fx32 func_01ffb464(fx32);
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ffb974(unk32, VecFx32 *, VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ffc5a0(ModelRender *, unk32, UnkAngleStruct, void *);
|
||||
extern "C" void func_01ffe6c4(UnkStruct_ov031_020e5d18_00 *, ActorRef, VecFx32 *, VecFx32 *, s32, VecFx32 *,
|
||||
UnkStruct_ov031_Items_00_Base *);
|
||||
extern "C" void func_0200b578(G3d_RenderObject *, void (*)(), unk32, unk32, unk32);
|
||||
extern VecFx32 data_027e07d4;
|
||||
extern unk32 data_ov000_020aecf8;
|
||||
extern VecFx32 data_ov031_02110a10;
|
||||
extern VecFx32 data_ov031_02110a28;
|
||||
extern char data_ov031_02110a50;
|
||||
extern char data_ov031_02110a60;
|
||||
extern char data_ov031_02110a70;
|
||||
|
||||
static ActorUnkZLSL_AnimationTag data_ov031_02112be8 = {.index = 0, .name = "bomb_clanim", .unknown = 0};
|
||||
static PTMF<ActorBomb> data_ov031_02112c00[ActorBombState_Max] = {
|
||||
@@ -691,7 +680,7 @@ fx32 ActorBomb::func_ov031_020e2820(UnkStruct_ov031_Items_00 *param1) {
|
||||
func_01ffb974(sp3CLength, &sp18, &sp24, &sp24);
|
||||
sp3CLength = FX_F32_TO_FX32(0.0f);
|
||||
}
|
||||
func_01ffe6c4(&sp60, this->mRef, &sp24, &sp30, (s16) this->mUnk_44, &this->mPos, param1);
|
||||
func_01ffe6c4(&sp60.mUnk_00, this->mRef, &sp24, &sp30, (s16) this->mUnk_44, &this->mPos, param1);
|
||||
|
||||
if (!this->Actor::func_ov000_0207e294(this->mUnk_30)) {
|
||||
VecFx32_Copy(&sp24, &sp30);
|
||||
@@ -727,7 +716,7 @@ fx32 ActorBomb::func_ov031_020e295c(UnkStruct_ov031_Items_00 *param1) {
|
||||
func_01ffb974(sp3CLength, &sp18, &sp24, &sp24);
|
||||
sp3CLength = FX_F32_TO_FX32(0.0f);
|
||||
}
|
||||
func_01ffe6c4(&sp60, this->mRef, &sp24, &sp30, (s16) this->mUnk_44, &this->mPos, param1);
|
||||
func_01ffe6c4(&sp60.mUnk_00, this->mRef, &sp24, &sp30, (s16) this->mUnk_44, &this->mPos, param1);
|
||||
|
||||
if (!this->Actor::func_ov000_0207df88(this->mUnk_30, 0x10)) {
|
||||
VecFx32_Copy(&sp24, &sp30);
|
||||
@@ -744,7 +733,7 @@ void ActorBomb::func_ov031_020e2a9c() {
|
||||
|
||||
VecFx32_Init(FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), FX_F32_TO_FX32(0.0f), &this->mUnk_180.mUnk_0C);
|
||||
|
||||
func_01ffe6c4(&s0C, this->mRef, &this->mPos, &this->mPrevPos, (s16) this->mUnk_44, &this->mPos, &this->mUnk_180);
|
||||
func_01ffe6c4(&s0C.mUnk_00, this->mRef, &this->mPos, &this->mPrevPos, (s16) this->mUnk_44, &this->mPos, &this->mUnk_180);
|
||||
|
||||
unk32 value = this->func_ov031_020e295c(&this->mUnk_180) | this->func_ov031_020e2820(&this->mUnk_180);
|
||||
if (this->mUnk_1E0.type_index != 0x0) {
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
#include "Actor/ActorHeart.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/Random.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a8.hpp"
|
||||
#include "Unknown/UnkStruct_027e0cd8.hpp"
|
||||
#include "Unknown/UnkStruct_027e0ce0.hpp"
|
||||
#include "nitro/fx.h"
|
||||
|
||||
typedef struct {
|
||||
typedef struct UnkStruct_ov031_020eeee8 {
|
||||
unk16 mUnk_00;
|
||||
unk16 mUnk_02;
|
||||
unk16 mUnk_04;
|
||||
@@ -22,17 +23,6 @@ typedef struct {
|
||||
PAD(0x2A, 0x3C);
|
||||
} UnkStruct_ov031_020eeee8;
|
||||
|
||||
extern "C" void func_01ffce1c(unk16 *, unk16 *);
|
||||
extern "C" int func_01ffcea0(unk32, UnkStruct_ov031_020eeee8 *);
|
||||
extern "C" void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
extern "C" void func_01fff17c(UnkStruct_ov031_020eeee8 *, UnkStruct_027e0ce0 *, unk32);
|
||||
extern "C" void func_02018114(unk16 *, unk16);
|
||||
extern "C" void func_02098388(void);
|
||||
extern "C" void func_02097bb8(void);
|
||||
extern "C" void func_ov000_0205c1f0(unk32 *, unk16);
|
||||
extern "C" void func_ov000_0205c204(unk32 *, VecFx32 *, unk32, unk32, unk32);
|
||||
extern "C" void func_ov000_0208bc00(UnkStruct_027e0ce0 *, unk16, unk16 *);
|
||||
|
||||
const Cylinder data_ov031_02113d64(0x800);
|
||||
|
||||
DECL_PROFILE(ActorProfileHeart);
|
||||
@@ -110,7 +100,7 @@ void ActorHeart::Update() {
|
||||
stack.mUnk_04 = 0x666;
|
||||
stack.mUnk_06 = 0xFB33;
|
||||
|
||||
func_01fff17c(&stack, data_027e0ce0, 0);
|
||||
func_01fff17c(&stack.mUnk_00, data_027e0ce0, 0);
|
||||
func_02018114(&stack.mUnk_02, stack.mUnk_00);
|
||||
|
||||
this->mUnk_C8.mUnk_08 = stack.mUnk_02; // d0
|
||||
@@ -142,7 +132,7 @@ void ActorHeart::Update() {
|
||||
if (this->mState == ActorHeartState_1) {
|
||||
func_ov000_0208bc00(data_027e0ce0, 0, &stack.mUnk_08);
|
||||
|
||||
func_01ffce1c(&stack.mUnk_18, &stack.mUnk_08);
|
||||
func_01ffce1c((Cylinder *) &stack.mUnk_18, (Cylinder *) &stack.mUnk_08);
|
||||
|
||||
stack.mUnk_28 += stack.mUnk_14 + (stack.mUnk_14 << 1);
|
||||
stack.mUnk_1C -= stack.mUnk_14;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorItemBoomerang.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include "MapObject/MapObjectManager.hpp"
|
||||
#include "MapObject/MapObjectUnkICEB.hpp"
|
||||
@@ -10,15 +11,6 @@
|
||||
#include "Unknown/UnkStruct_027e0cec.hpp"
|
||||
#include "Unknown/UnkStruct_027e0d2c.hpp"
|
||||
|
||||
extern "C" void func_01ff916c(void *, int, int);
|
||||
extern "C" void func_01ff93c0(VecFx32 *, unk32);
|
||||
extern "C" void func_01ff97c8(VecFx32 *, int);
|
||||
extern "C" void func_01ffb714(VecFx32 *, VecFx32 *, void *);
|
||||
extern "C" unk32 func_01ffb9cc(VecFx32 *, VecFx32 *);
|
||||
extern "C" void func_01ffe6c4(Actor **, ActorRef, VecFx32 *, VecFx32 *, s32, VecFx32 *, UnkStruct_ov031_Items_00 *);
|
||||
extern "C" void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
extern "C" bool func_ov000_0205aeac();
|
||||
|
||||
DECL_PROFILE(ActorProfileItemBoomerang);
|
||||
|
||||
Actor *ActorProfileItemBoomerang::Create() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorItemDrop.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
@@ -10,11 +11,6 @@
|
||||
#include "nitro/fx.h"
|
||||
#include "versions.h"
|
||||
|
||||
extern "C" void func_01ffedac(Vec2bCpp *, VecFx32 *);
|
||||
extern "C" void func_01fff05c(u32 *, UnkStruct_027e0cd8_0C_Base *, VecFx32 *);
|
||||
extern "C" void func_ov000_0205c1f0(unk32 *, u16);
|
||||
extern "C" void func_ov000_0205c204(unk32 *, VecFx32 *, unk32, unk32, unk32);
|
||||
|
||||
static const Cylinder data_ov031_02114ba0(0x800);
|
||||
|
||||
static const u32 data_ov031_02110bc8[] = {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorItemTornado.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
#include "System/SysNew.hpp"
|
||||
#include "Unknown/UnkStruct_027e0958.hpp"
|
||||
#include "Unknown/UnkStruct_027e09a8.hpp"
|
||||
@@ -12,19 +13,8 @@ struct UnkStruct_ov031_020e5d18_00 {
|
||||
u8 mUnk_04[0x14];
|
||||
};
|
||||
|
||||
extern "C" char *data_ov031_02110a88;
|
||||
extern "C" Cylinder data_ov031_02112fdc;
|
||||
|
||||
extern "C" void func_01ff916c(void *, unk32, unk32);
|
||||
extern "C" void func_01ff93c0(VecFx32 *, unk32);
|
||||
extern "C" void func_01ff993c(VecFx32 *, VecFx32 *, unk32);
|
||||
extern "C" fx32 func_01ffb66c(unk32, u16);
|
||||
extern "C" void func_01ffe6c4(UnkStruct_ov031_020e5d18_00 *, ActorRef, VecFx32 *, VecFx32 *, s32, VecFx32 *,
|
||||
UnkStruct_ov031_Items_00 *);
|
||||
extern "C" void func_0200ea38(G3d_Model *, unk32, unk32);
|
||||
extern "C" void func_0200ef9c(G3d_Model *);
|
||||
|
||||
extern "C" bool func_ov000_02080998(VecFx32 *);
|
||||
extern char *data_ov031_02110a88;
|
||||
extern Cylinder data_ov031_02112fdc;
|
||||
|
||||
DECL_PROFILE(ActorProfileItemTornado);
|
||||
|
||||
@@ -199,7 +189,7 @@ void ActorItemTornado::func_ov031_020e5d18(unk32 param1) {
|
||||
} else {
|
||||
UnkStruct_ov031_020e5d18_00 var_sp0C;
|
||||
var_sp0C.mUnk_00 = NULL;
|
||||
func_01ffe6c4(&var_sp0C, this->mRef, &this->mPos, &this->mPrevPos, (s32) (s16) this->mUnk_44, &this->mPos,
|
||||
func_01ffe6c4(&var_sp0C.mUnk_00, this->mRef, &this->mPos, &this->mPrevPos, (s32) (s16) this->mUnk_44, &this->mPos,
|
||||
&this->mUnk_174);
|
||||
Actor *actor = var_sp0C.mUnk_00;
|
||||
unk32 temp_r5 = actor->func_ov000_0207df88(this->mUnk_30, 4);
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "Actor/ActorRollingStone.hpp"
|
||||
#include "CommonFuncs.hpp"
|
||||
|
||||
#include "Actor/ActorManager.hpp"
|
||||
#include "Physics/Cylinder.hpp"
|
||||
@@ -10,18 +11,13 @@
|
||||
#include "Unknown/UnkStruct_027e0d38.hpp"
|
||||
#include "Unknown/UnkStruct_027e0d8c.hpp"
|
||||
|
||||
extern "C" MtxFx33 data_027e0130;
|
||||
extern "C" unk32 data_ov000_020aecf8;
|
||||
extern MtxFx33 data_027e0130;
|
||||
extern unk32 data_ov000_020aecf8;
|
||||
|
||||
extern "C" VecFx32 data_ov031_02110b98;
|
||||
extern "C" VecFx32 data_ov031_02110ba4;
|
||||
extern "C" VecFx32 data_ov031_02110bb0;
|
||||
extern "C" VecFx32 data_ov031_02110bbc;
|
||||
|
||||
extern "C" void func_01ff916c(unk32 *, unk32, unk32);
|
||||
extern "C" void func_01ffa60c(const MtxFx33 *, MtxFx33 *, MtxFx33 *);
|
||||
extern "C" unk32 func_01ffb9cc(VecFx32 *, VecFx32 *);
|
||||
extern "C" unk8 func_02017e8c(unk16 *);
|
||||
extern VecFx32 data_ov031_02110b98;
|
||||
extern VecFx32 data_ov031_02110ba4;
|
||||
extern VecFx32 data_ov031_02110bb0;
|
||||
extern VecFx32 data_ov031_02110bbc;
|
||||
|
||||
static PTMF<ActorRollingStone> data_ov031_02114aec[0xB] = {
|
||||
&ActorRollingStone::func_ov031_020f89f4, // ActorRollingStoneState_0
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user