dol2asm OK

This commit is contained in:
Julgodis
2021-03-28 22:49:05 +02:00
parent 88eb837a9c
commit d244b7cb0d
60106 changed files with 4755965 additions and 1107375 deletions
+39 -17
View File
@@ -1,22 +1,44 @@
#include "SComponent/c_counter.h"
//
// Generated By: dol2asm
// Translation Unit: c_counter
//
struct counter_class {
int mCounter0;
int mCounter1;
int mTimer;
};
#include "dol2asm.h"
#include "dolphin/types.h"
#include "SSystem/SComponent/c_counter.h"
// g_Counter
extern counter_class lbl_80430CD8;
//
// Forward References:
//
extern "C" {
void cCt_Counter(int resetCounter1) {
if (resetCounter1 == 1) {
lbl_80430CD8.mCounter1 = 0;
} else {
lbl_80430CD8.mCounter1++;
}
void cCt_Counter(int);
extern "C" extern u8 g_Counter[12 + 4 /* padding */];
lbl_80430CD8.mCounter0++;
extern "C" void cCt_Counter__Fi();
extern "C" extern u8 g_Counter[12 + 4 /* padding */];
//
// External References:
//
//
// Declarations:
//
/* ############################################################################################## */
/* 80430CD8-80430CE8 000C+04 s=1 e=12 z=22 None .bss g_Counter */
u8 g_Counter[12 + 4 /* padding */];
/* 80265E1C-80265E64 0048+00 s=0 e=1 z=0 None .text cCt_Counter__Fi */
#pragma push
#pragma optimization_level 0
#pragma optimizewithasm off
asm void cCt_Counter(int param_0) {
nofralloc
#include "asm/SSystem/SComponent/c_counter/cCt_Counter__Fi.s"
}
};
#pragma pop