summaryrefslogtreecommitdiff
path: root/src/Z2AudioLib/Z2FxLineMgr.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-10-10 07:29:58 -0700
committerGitHub <noreply@github.com>2024-10-10 08:29:58 -0600
commit12eb254d769d84743b5cc6cd5424057c57eaf0ad (patch)
tree4509be332b2ccfc6fe939f47740d68f7746eca3e /src/Z2AudioLib/Z2FxLineMgr.cpp
parent2fd702c0ac170a789af879b8b92a82d4dcc9080c (diff)
switch to dtk setup (#2203)
* switch to dtk setup * some cleanup / fixes * cleanup d_a_alink literals * Restore doxygen, update CI & README.md (#1) * Fix build image ref (#2) --------- Co-authored-by: Luke Street <luke@street.dev>
Diffstat (limited to 'src/Z2AudioLib/Z2FxLineMgr.cpp')
-rw-r--r--src/Z2AudioLib/Z2FxLineMgr.cpp183
1 files changed, 183 insertions, 0 deletions
diff --git a/src/Z2AudioLib/Z2FxLineMgr.cpp b/src/Z2AudioLib/Z2FxLineMgr.cpp
new file mode 100644
index 0000000000..8a92d1f9d0
--- /dev/null
+++ b/src/Z2AudioLib/Z2FxLineMgr.cpp
@@ -0,0 +1,183 @@
+//
+// Generated By: dol2asm
+// Translation Unit: Z2FxLineMgr
+//
+
+#include "Z2AudioLib/Z2FxLineMgr.h"
+#include "dol2asm.h"
+
+//
+// Types:
+//
+
+struct JSUMemoryInputStream {
+ /* 802DC520 */ void setBuffer(void const*, s32);
+};
+
+struct JSUInputStream {
+ /* 802DC23C */ ~JSUInputStream();
+ /* 802DC298 */ void read(void*, s32);
+};
+
+struct JASDsp {
+ struct FxlineConfig_ {};
+
+ /* 8029DB78 */ void setFXLine(u8, s16*, JASDsp::FxlineConfig_*);
+};
+
+//
+// Forward References:
+//
+
+extern "C" void __ct__11Z2FxLineMgrFv();
+extern "C" void initDataArc__11Z2FxLineMgrFP10JKRArchiveP7JKRHeap();
+extern "C" void setLineID__11Z2FxLineMgrFScbb();
+extern "C" void setLine__11Z2FxLineMgrFP14Z2FxLineConfigbb();
+extern "C" void setFxForceOff__11Z2FxLineMgrFb();
+extern "C" void setUnderWaterFx__11Z2FxLineMgrFb();
+extern "C" void setSceneFx__11Z2FxLineMgrFl();
+
+//
+// External References:
+//
+
+extern "C" void setFXLine__6JASDspFUcPsPQ26JASDsp13FxlineConfig_();
+extern "C" void free__7JKRHeapFPvP7JKRHeap();
+extern "C" void* __nwa__FUlP7JKRHeapi();
+extern "C" void getResource__10JKRArchiveFUs();
+extern "C" void countResource__10JKRArchiveCFv();
+extern "C" void __dt__14JSUInputStreamFv();
+extern "C" void read__14JSUInputStreamFPvl();
+extern "C" void setBuffer__20JSUMemoryInputStreamFPCvl();
+extern "C" void _savegpr_22();
+extern "C" void _savegpr_28();
+extern "C" void _restgpr_22();
+extern "C" void _restgpr_28();
+extern "C" extern void* __vt__10JSUIosBase[3];
+extern "C" extern void* __vt__20JSURandomInputStream[9];
+extern "C" extern void* __vt__14JSUInputStream[6 + 1 /* padding */];
+extern "C" extern void* __vt__20JSUMemoryInputStream[9 + 1 /* padding */];
+extern "C" extern u8 data_80450B80[4];
+extern "C" extern u8 __OSReport_disable;
+
+//
+// Declarations:
+//
+
+/* 802BA7DC-802BA7FC 2B511C 0020+00 0/0 1/1 0/0 .text __ct__11Z2FxLineMgrFv */
+Z2FxLineMgr::Z2FxLineMgr() : JASGlobalInstance<Z2FxLineMgr>(this) {
+ // NONMATCHING
+}
+
+/* 802BA7FC-802BAC28 2B513C 042C+00 0/0 1/1 0/0 .text
+ * initDataArc__11Z2FxLineMgrFP10JKRArchiveP7JKRHeap */
+void Z2FxLineMgr::initDataArc(JKRArchive* param_0, JKRHeap* param_1) {
+ // NONMATCHING
+}
+
+/* 802BAC28-802BAC74 2B5568 004C+00 4/4 0/0 0/0 .text setLineID__11Z2FxLineMgrFScbb */
+void Z2FxLineMgr::setLineID(s8 param_0, bool param_1, bool param_2) {
+ // NONMATCHING
+}
+
+/* 802BAC74-802BAE1C 2B55B4 01A8+00 1/1 0/0 0/0 .text setLine__11Z2FxLineMgrFP14Z2FxLineConfigbb
+ */
+void Z2FxLineMgr::setLine(Z2FxLineConfig* param_0, bool param_1, bool param_2) {
+ // NONMATCHING
+}
+
+/* 802BAE1C-802BAE48 2B575C 002C+00 0/0 1/1 0/0 .text setFxForceOff__11Z2FxLineMgrFb */
+void Z2FxLineMgr::setFxForceOff(bool param_0) {
+ // NONMATCHING
+}
+
+/* 802BAE48-802BAEB8 2B5788 0070+00 0/0 1/1 0/0 .text setUnderWaterFx__11Z2FxLineMgrFb */
+void Z2FxLineMgr::setUnderWaterFx(bool param_0) {
+ // NONMATCHING
+}
+
+/* ############################################################################################## */
+/* 803CAB18-803CAC48 -00001 0130+00 1/1 0/0 0/0 .data @3566 */
+SECTION_DATA static void* lit_3566[76] = {
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x88),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x68),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x68),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x68),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xB0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x68),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x68),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x54),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x9C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x9C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x9C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xB0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xB0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xB0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xD0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xD0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xD0),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xE4),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xE4),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xE4),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xF8),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xF8),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xF8),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x10C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x10C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x10C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x120),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x120),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0xE4),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x9C),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x134),
+ (void*)(((char*)setSceneFx__11Z2FxLineMgrFl) + 0x7C),
+};
+
+/* 802BAEB8-802BB00C 2B57F8 0154+00 2/1 1/1 0/0 .text setSceneFx__11Z2FxLineMgrFl */
+void Z2FxLineMgr::setSceneFx(s32 param_0) {
+ // NONMATCHING
+} \ No newline at end of file