Kinoko
A reimplementation of Mario Kart Wii's physics engine in C++
Toggle main menu visibility
Loading...
Searching...
No Matches
Decomp.hh
1
#pragma once
2
3
#include <
Common.hh
>
4
5
namespace
Kinoko::EGG::Decomp {
6
14
[[nodiscard]]
inline
constexpr
bool
CheckCompressed(
const
u8 *src) {
15
return
src[0] ==
'Y'
&& src[1] ==
'a'
&& src[2] ==
'z'
;
16
}
17
19
[[nodiscard]]
inline
constexpr
s32 GetExpandSize(
const
u8 *src) {
20
return
CheckCompressed(src) ? form<s32>(&src[4]) : -1;
21
}
22
23
s32 DecodeSZS(
const
u8 *src, u8 *dst);
24
25
}
// namespace Kinoko::EGG::Decomp
Common.hh
This header houses common data types such as our integral types and enums.
egg
core
Decomp.hh
Made by
Malleo
. Logo by
vabold
. Website generated by
Doxygen
1.17.0