mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
308 lines
7.2 KiB
C++
308 lines
7.2 KiB
C++
//
|
|
// Generated By: dol2asm
|
|
// Translation Unit: JPAResourceLoader
|
|
//
|
|
|
|
#include "dol2asm.h"
|
|
#include "dolphin/types.h"
|
|
#include "JSystem/JParticle/JPAResourceLoader.h"
|
|
|
|
//
|
|
// Types:
|
|
//
|
|
|
|
struct JPATexture {
|
|
/* 8027D7D4 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPATexture(u8 const*);
|
|
};
|
|
|
|
struct JKRHeap {
|
|
};
|
|
|
|
struct JPAResource {
|
|
/* 80274010 */ // False False
|
|
JPAResource();
|
|
/* 80274080 */ // False False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
void init(JKRHeap*);
|
|
};
|
|
|
|
struct JPAResourceManager {
|
|
/* 80273F8C */ // False False
|
|
// JPAResource* False
|
|
// JPAResource False
|
|
void registRes(JPAResource*);
|
|
/* 80273FAC */ // False False
|
|
// JPATexture* False
|
|
// JPATexture False
|
|
void registTex(JPATexture*);
|
|
};
|
|
|
|
struct JPAResourceLoader {
|
|
/* 8027D8A0 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
JPAResourceLoader(u8 const*, JPAResourceManager*);
|
|
/* 8027D8E0 */ // True False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
void load_jpc(u8 const*, JPAResourceManager*);
|
|
};
|
|
|
|
struct JPAKeyBlock {
|
|
/* 8027D730 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPAKeyBlock(u8 const*);
|
|
};
|
|
|
|
struct JPAFieldBlock {
|
|
/* 8027D088 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
JPAFieldBlock(u8 const*, JKRHeap*);
|
|
};
|
|
|
|
struct JPAExtraShape {
|
|
/* 8027AD88 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPAExtraShape(u8 const*);
|
|
};
|
|
|
|
struct JPAExTexShape {
|
|
/* 8027B13C */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPAExTexShape(u8 const*);
|
|
};
|
|
|
|
struct JPADynamicsBlock {
|
|
/* 8027BB18 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPADynamicsBlock(u8 const*);
|
|
};
|
|
|
|
struct JPAChildShape {
|
|
/* 8027B038 */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
JPAChildShape(u8 const*);
|
|
};
|
|
|
|
struct JPABaseShape {
|
|
/* 8027A6DC */ // False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
JPABaseShape(u8 const*, JKRHeap*);
|
|
};
|
|
|
|
//
|
|
// Forward References:
|
|
//
|
|
|
|
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
extern "C" void __ct__17JPAResourceLoaderFPCUcP18JPAResourceManager();
|
|
// True False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
extern "C" void load_jpc__17JPAResourceLoaderFPCUcP18JPAResourceManager();
|
|
|
|
//
|
|
// External References:
|
|
//
|
|
|
|
// False False
|
|
// void* False
|
|
// void False
|
|
// u32 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
// int False
|
|
void* operator new(u32, JKRHeap*, int);
|
|
// False False
|
|
// void* False
|
|
// void False
|
|
// u32 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
// int False
|
|
void* operator new[](u32, JKRHeap*, int);
|
|
|
|
// False False
|
|
// JPAResource* False
|
|
// JPAResource False
|
|
extern "C" void registRes__18JPAResourceManagerFP11JPAResource();
|
|
// False False
|
|
// JPATexture* False
|
|
// JPATexture False
|
|
extern "C" void registTex__18JPAResourceManagerFP10JPATexture();
|
|
// False False
|
|
extern "C" void __ct__11JPAResourceFv();
|
|
// False False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
extern "C" void init__11JPAResourceFP7JKRHeap();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
extern "C" void __ct__12JPABaseShapeFPCUcP7JKRHeap();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__13JPAExtraShapeFPCUc();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__13JPAChildShapeFPCUc();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__13JPAExTexShapeFPCUc();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__16JPADynamicsBlockFPCUc();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
extern "C" void __ct__13JPAFieldBlockFPCUcP7JKRHeap();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__11JPAKeyBlockFPCUc();
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
extern "C" void __ct__10JPATextureFPCUc();
|
|
// False False
|
|
// void* False
|
|
// void False
|
|
// u32 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
// int False
|
|
extern "C" void* __nw__FUlP7JKRHeapi();
|
|
// False False
|
|
// void* False
|
|
// void False
|
|
// u32 False
|
|
// JKRHeap* False
|
|
// JKRHeap False
|
|
// int False
|
|
extern "C" void* __nwa__FUlP7JKRHeapi();
|
|
// False False
|
|
extern "C" void _savegpr_18();
|
|
// False False
|
|
extern "C" void _restgpr_18();
|
|
|
|
//
|
|
// Declarations:
|
|
//
|
|
|
|
/* 8027D8A0-8027D8E0 0040+00 s=0 e=1 z=0 None .text __ct__17JPAResourceLoaderFPCUcP18JPAResourceManager */
|
|
// 8027D8C4: 8027D8E0 (load_jpc__17JPAResourceLoaderFPCUcP18JPAResourceManager)
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
// False False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
asm JPAResourceLoader::JPAResourceLoader(u8 const* param_0, JPAResourceManager* param_1) {
|
|
nofralloc
|
|
#include "asm/JSystem/JParticle/JPAResourceLoader/__ct__17JPAResourceLoaderFPCUcP18JPAResourceManager.s"
|
|
}
|
|
#pragma pop
|
|
|
|
|
|
/* 8027D8E0-8027DCA0 03C0+00 s=1 e=0 z=0 None .text load_jpc__17JPAResourceLoaderFPCUcP18JPAResourceManager */
|
|
// 8027D8F0: 803621B0 (_savegpr_18)
|
|
// 8027D920: 802CED10 (__nwa__FUlP7JKRHeapi)
|
|
// 8027D938: 802CED10 (__nwa__FUlP7JKRHeapi)
|
|
// 8027D968: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027D974: 80274010 (__ct__11JPAResourceFv)
|
|
// 8027D99C: 802CED10 (__nwa__FUlP7JKRHeapi)
|
|
// 8027D9CC: 802CED10 (__nwa__FUlP7JKRHeapi)
|
|
// 8027DAB4: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DAC8: 8027D088 (__ct__13JPAFieldBlockFPCUcP7JKRHeap)
|
|
// 8027DAEC: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DAFC: 8027D730 (__ct__11JPAKeyBlockFPCUc)
|
|
// 8027DB20: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DB30: 8027BB18 (__ct__16JPADynamicsBlockFPCUc)
|
|
// 8027DB4C: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DB60: 8027A6DC (__ct__12JPABaseShapeFPCUcP7JKRHeap)
|
|
// 8027DB7C: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DB8C: 8027AD88 (__ct__13JPAExtraShapeFPCUc)
|
|
// 8027DBA8: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DBB8: 8027B038 (__ct__13JPAChildShapeFPCUc)
|
|
// 8027DBD4: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DBE4: 8027B13C (__ct__13JPAExTexShapeFPCUc)
|
|
// 8027DC18: 80274080 (init__11JPAResourceFP7JKRHeap)
|
|
// 8027DC24: 80273F8C (registRes__18JPAResourceManagerFP11JPAResource)
|
|
// 8027DC58: 802CEC98 (__nw__FUlP7JKRHeapi)
|
|
// 8027DC68: 8027D7D4 (__ct__10JPATextureFPCUc)
|
|
// 8027DC74: 80273FAC (registTex__18JPAResourceManagerFP10JPATexture)
|
|
// 8027DC8C: 803621FC (_restgpr_18)
|
|
#pragma push
|
|
#pragma optimization_level 0
|
|
#pragma optimizewithasm off
|
|
// True False
|
|
// u8 const* False
|
|
// u8 const False
|
|
// u8 False
|
|
// JPAResourceManager* False
|
|
// JPAResourceManager False
|
|
asm void JPAResourceLoader::load_jpc(u8 const* param_0, JPAResourceManager* param_1) {
|
|
nofralloc
|
|
#include "asm/JSystem/JParticle/JPAResourceLoader/load_jpc__17JPAResourceLoaderFPCUcP18JPAResourceManager.s"
|
|
}
|
|
#pragma pop
|
|
|
|
|