summaryrefslogtreecommitdiff
path: root/libs/JSystem/JGadget/binary.cpp
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2021-11-26 06:50:22 -0800
committerGitHub <noreply@github.com>2021-11-26 15:50:22 +0100
commitc4ef30bc95d3e69eb84cb5efa76598bb6e900662 (patch)
treeac0cfa4dd5179c8ada61a511fe859b83c363008d /libs/JSystem/JGadget/binary.cpp
parent74ed2da8bc93804373cddf64c0c878603150b699 (diff)
Port JStudio work to new branch (#160)
* build fix * stb * functionvalue * fvb * jstudio cleanup * d
Diffstat (limited to 'libs/JSystem/JGadget/binary.cpp')
-rw-r--r--libs/JSystem/JGadget/binary.cpp27
1 files changed, 4 insertions, 23 deletions
diff --git a/libs/JSystem/JGadget/binary.cpp b/libs/JSystem/JGadget/binary.cpp
index 92eb490ca3..744effc3f8 100644
--- a/libs/JSystem/JGadget/binary.cpp
+++ b/libs/JSystem/JGadget/binary.cpp
@@ -8,25 +8,6 @@
#include "dolphin/types.h"
//
-// Types:
-//
-
-namespace JGadget {
-struct binary {
- struct TEBit {};
-
- struct TParse_header_block {
- /* 802DC8C8 */ ~TParse_header_block();
- /* 802DC910 */ void parse_next(void const**, u32);
- };
-
- /* 802DC864 */ void parseVariableUInt_16_32_following(void const*, u32*, u32*,
- JGadget::binary::TEBit*);
-};
-
-}; // namespace JGadget
-
-//
// Forward References:
//
@@ -53,9 +34,9 @@ extern "C" extern void* __vt__Q37JGadget6binary19TParse_header_block[5];
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
-asm void JGadget::binary::parseVariableUInt_16_32_following(void const* param_0, u32* param_1,
- u32* param_2,
- JGadget::binary::TEBit* param_3) {
+asm const void*
+JGadget::binary::parseVariableUInt_16_32_following(void const* param_0, u32* param_1, u32* param_2,
+ JGadget::binary::TEBit* param_3) {
nofralloc
#include "asm/JSystem/JGadget/binary/parseVariableUInt_16_32_following__Q27JGadget6binaryFPCvPUlPUlPQ37JGadget6binary5TEBit.s"
}
@@ -77,7 +58,7 @@ asm JGadget::binary::TParse_header_block::~TParse_header_block() {
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
-asm void JGadget::binary::TParse_header_block::parse_next(void const** param_0, u32 param_1) {
+asm bool JGadget::binary::TParse_header_block::parse_next(void const** param_0, u32 param_1) {
nofralloc
#include "asm/JSystem/JGadget/binary/parse_next__Q37JGadget6binary19TParse_header_blockFPPCvUl.s"
}