NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
f_helper_unk.cpp
1#include <types.h>
2#include <dol/framework/f_helper_unk.hpp>
3
5 if (mpArr == nullptr || mStatus == 0) {
6 return;
7 }
8
9 mCount--;
10 while (mCount >= 0) {
11 vf_0x10(mpArr[mCount]);
12 mCount--;
13 }
14}
15
16int fBaHelper_c::Load(int value) {
17 if (mpArr == nullptr || mStatus == 2) {
18 return 2;
19 }
20
21 while (mpArr[mCount]) {
22 mStatus = vf_0xc(mpArr[mCount]);
23 if (mStatus != 2) break;
24 mCount++;
25 mUnknown = 0;
26 if (value == 0) break;
27 }
28
29 return mStatus;
30}
31
33 if (mStatus == 1) {
34 mStatus = Load(0);
35 }
36
37 if (mStatus == 1) {
38 return false;
39 } else {
40 return true;
41 }
42}
bool LoadOnlyOne()
[Unused].
int Load(int)
[Unused].
virtual void vf_0x10(void *)
[Unused]. [Stripped out of binary].
virtual int vf_0xc(void *)
[Unused]. [Stripped out of binary].
void Delete()
[Unused].