SSBM Decomp
Loading...
Searching...
No Matches
inlines.h
Go to the documentation of this file.
1#ifndef MELEE_GM_INLINES_H
2#define MELEE_GM_INLINES_H
3
5#include <melee/ty/toy.h>
6
7static inline s32 gmClampResultStat(s32 value)
8{
9 if (value > 999999) {
10 value = 999999;
11 } else if (value < -999999) {
12 value = -999999;
13 }
14 return value;
15}
16
18static inline s32 fn_801A7FB4_inline(void)
19{
20 s32 i;
21 s32 count;
22 count = 0;
23 for (i = count; i < 0x1A; i++) {
24 if (Toy_803048C0(gm_801A659C(i)) ? true : false) {
25 count++;
26 }
27 }
28 return count;
29}
30
31static inline s32 fn_801A7FB4_inline2(void)
32{
33 s32 count;
34 s32 i;
35 count = 0;
36 for (i = count; i < 0x1A; i++) {
37 if (Toy_803048C0(gm_801A659C(i)) ? true : false) {
38 count++;
39 }
40 }
41 return count;
42}
43
44#endif
signed long s32
Definition types.h:8
static s32 fn_801A7FB4_inline(void)
Definition inlines.h:18
static s32 gmClampResultStat(s32 value)
Definition inlines.h:7
static s32 fn_801A7FB4_inline2(void)
Definition inlines.h:31
bool gm_801A659C(int arg0)
Definition gmregtyfall.c:93
s32 Toy_803048C0(int arg0)
Definition toy.c:576