mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-11 19:08:54 -04:00
delete unused asm, c_m3d_g
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "SSystem/SStandard/s_basic.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
|
||||
// hack to make functions that return comparisons as int match
|
||||
extern int __cntlzw(unsigned int);
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_create_req.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_create_iter.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "f_pc/f_pc_deletor.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
|
||||
// hack to make functions that return comparisons as int match
|
||||
extern int __cntlzw(unsigned int);
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include "f_pc/f_pc_creator.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_create_req.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_create_req.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
|
||||
// hack to make functions that return comparisons as int match
|
||||
extern int __cntlzw(unsigned int);
|
||||
inline BOOL checkEqual(s32 a, s32 b) {
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_deletor.h"
|
||||
#include "SSystem/SComponent/c_list_iter.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "SSystem/SComponent/c_list_iter.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_creator.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_draw.h"
|
||||
#include "SSystem/SComponent/c_API_graphic.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "SSystem/SComponent/c_API_graphic.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
#include "f_pc/f_pc_leaf.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_searcher.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
#include "f_pc/f_pc_pause.h"
|
||||
#include "f_pc/f_pc_searcher.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -31,11 +31,8 @@ s32 fpcFCtRq_Delete(fast_create_request* pFstCreateReq) {
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 803A3AE0-803A3AF0 000C+04 s=1 e=0 z=0 None .data submethod$2214 */
|
||||
create_request_method_class submethod = {
|
||||
(cPhs__Handler)fpcFCtRq_Do,
|
||||
NULL,
|
||||
(process_method_func)fpcFCtRq_Delete
|
||||
};
|
||||
create_request_method_class submethod = {(cPhs__Handler)fpcFCtRq_Do, NULL,
|
||||
(process_method_func)fpcFCtRq_Delete};
|
||||
|
||||
/* 80023AA0-80023B70 00D0+00 s=0 e=3 z=43 None .text
|
||||
* fpcFCtRq_Request__FP11layer_classsPFPvPv_iPvPv */
|
||||
|
||||
@@ -6,10 +6,10 @@
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "f_pc/f_pc_method_tag.h"
|
||||
#include "f_pc/f_pc_method_iter.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "f_pc/f_pc_method_iter.h"
|
||||
#include "f_pc/f_pc_method_tag.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
@@ -94,12 +94,7 @@ void fpcLy_CreatedMesg(layer_class* pLayer) {
|
||||
/* ############################################################################################## */
|
||||
/* 803A39B0-803A39DC 002C+00 s=2 e=0 z=0 None .data l_fpcLy_Crear */
|
||||
layer_class l_fpcLy_Crear = {
|
||||
NULL, NULL, 0,
|
||||
0xFFFFFFFF,
|
||||
NULL, 0,
|
||||
NULL,
|
||||
NULL, NULL, 0,
|
||||
0, 0,
|
||||
NULL, NULL, 0, 0xFFFFFFFF, NULL, 0, NULL, NULL, NULL, 0, 0, 0,
|
||||
};
|
||||
|
||||
/* 803A39DC-803A39E8 000C+00 s=3 e=0 z=0 None .data l_fpcLy_LayerList */
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "SSystem/SComponent/c_tree_iter.h"
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
#include "SSystem/SComponent/c_tag_iter.h"
|
||||
#include "SSystem/SComponent/c_tree_iter.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -66,14 +66,7 @@ s32 fpcLyTg_Move(layer_management_tag_class* pTag, unsigned int layerID, u16 lis
|
||||
/* ############################################################################################## */
|
||||
/* 803A3A00-803A3A20 001C+04 s=1 e=0 z=0 None .data crear$2239 */
|
||||
layer_management_tag_class crear = {
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
NULL,
|
||||
0,
|
||||
NULL,
|
||||
0xFFFF,
|
||||
0xFFFF,
|
||||
NULL, NULL, NULL, NULL, 0, NULL, 0xFFFF, 0xFFFF,
|
||||
};
|
||||
|
||||
/* 80021EB0-80021F64 00B4+00 s=0 e=1 z=0 None .text
|
||||
|
||||
@@ -69,9 +69,7 @@ s32 fpcLf_Create(leafdraw_class* pLeaf) {
|
||||
/* ############################################################################################## */
|
||||
/* 803A39E8-803A3A00 0014+04 s=0 e=27 z=756 None .data g_fpcLf_Method */
|
||||
leafdraw_method_class g_fpcLf_Method = {
|
||||
(process_method_func)fpcLf_Create,
|
||||
(process_method_func)fpcLf_Delete,
|
||||
(process_method_func)fpcLf_Execute,
|
||||
(process_method_func)fpcLf_IsDelete,
|
||||
(process_method_func)fpcLf_Create, (process_method_func)fpcLf_Delete,
|
||||
(process_method_func)fpcLf_Execute, (process_method_func)fpcLf_IsDelete,
|
||||
(process_method_func)fpcLf_Draw,
|
||||
};
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_line_iter.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_line.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "SSystem/SComponent/c_tag_iter.h"
|
||||
#include "SSystem/SComponent/c_tree_iter.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_line.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
|
||||
extern s32 cDyl_IsLinked(s16 procName);
|
||||
extern s32 cDyl_Unlink(s16 procName);
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
#include "f_pc/f_pc_draw.h"
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_fstcreate_req.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "f_pc/f_pc_layer_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_line.h"
|
||||
#include "f_pc/f_pc_line_iter.h"
|
||||
#include "f_pc/f_pc_line_tag.h"
|
||||
@@ -82,7 +82,6 @@ extern "C" void fpcM_JudgeInLayer__FUiPFPvPv_PvPv();
|
||||
// External References:
|
||||
//
|
||||
|
||||
|
||||
extern "C" void fpcCtIt_JudgeInLayer__FUiPFPvPv_PvPv();
|
||||
extern "C" void fpcCt_IsCreatingByID__FUi();
|
||||
extern "C" void fpcCt_Handler__Fv();
|
||||
|
||||
@@ -117,9 +117,7 @@ s32 fpcNd_Create(process_node_class* pProcNode1) {
|
||||
/* ############################################################################################## */
|
||||
/* 803A3A20-803A3A38 0014+04 s=0 e=9 z=0 None .data g_fpcNd_Method */
|
||||
nodedraw_method_class g_fpcNd_Method = {
|
||||
(process_method_func)fpcNd_Create,
|
||||
(process_method_func)fpcNd_Delete,
|
||||
(process_method_func)fpcNd_Execute,
|
||||
(process_method_func)fpcNd_IsDelete,
|
||||
(process_method_func)fpcNd_Create, (process_method_func)fpcNd_Delete,
|
||||
(process_method_func)fpcNd_Execute, (process_method_func)fpcNd_IsDelete,
|
||||
(process_method_func)fpcNd_Draw,
|
||||
};
|
||||
|
||||
+10
-20
@@ -4,6 +4,8 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_node_req.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "SSystem/SStandard/s_basic.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
@@ -13,8 +15,6 @@
|
||||
#include "f_pc/f_pc_executor.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_stdcreate_req.h"
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "SSystem/SStandard/s_basic.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
@@ -30,9 +30,7 @@ void fpcNdRq_RequestQTo(node_create_request* pNodeCreateReq) {
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 803A3A38-803A3A44 000C+00 s=5 e=0 z=0 None .data l_fpcNdRq_Queue */
|
||||
static node_list_class l_fpcNdRq_Queue = {
|
||||
NULL, NULL, 0
|
||||
};
|
||||
static node_list_class l_fpcNdRq_Queue = {NULL, NULL, 0};
|
||||
|
||||
/* 80022804-80022850 004C+00 s=1 e=0 z=0 None .text fpcNdRq_ToRequestQ__FP19node_create_request
|
||||
*/
|
||||
@@ -201,15 +199,10 @@ s32 fpcNdRq_IsIng(process_node_class* pProcNode) {
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 803A3A44-803A3AA8 0064+00 s=1 e=0 z=0 None .data clear$2359 */
|
||||
static node_create_request clear = {
|
||||
NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, NULL, NULL,
|
||||
NULL, 0, 0,
|
||||
NULL, 5, 0xFFFFFFFF,
|
||||
NULL, 0xFFFFFFFE,
|
||||
NULL, 0xFFFFFFFE,
|
||||
0x7FFF, NULL,
|
||||
0x7FFF
|
||||
};
|
||||
static node_create_request clear = {NULL, NULL, NULL, NULL, 0, NULL, NULL,
|
||||
NULL, NULL, 0, NULL, NULL, NULL, 0,
|
||||
0, NULL, 5, 0xFFFFFFFF, NULL, 0xFFFFFFFE, NULL,
|
||||
0xFFFFFFFE, 0x7FFF, NULL, 0x7FFF};
|
||||
|
||||
/* 80022C9C-80022E14 0178+00 s=3 e=0 z=0 None .text fpcNdRq_Create__FUl */
|
||||
node_create_request* fpcNdRq_Create(u32 pRequestSize) {
|
||||
@@ -228,12 +221,9 @@ node_create_request* fpcNdRq_Create(u32 pRequestSize) {
|
||||
/* ############################################################################################## */
|
||||
/* 803A3AA8-803A3AC0 0018+00 s=1 e=0 z=0 None .data methods$2376 */
|
||||
static cPhs__Handler methods_2376[6] = {
|
||||
(cPhs__Handler)fpcNdRq_phase_IsDeleteTiming,
|
||||
(cPhs__Handler)fpcNdRq_phase_Delete,
|
||||
(cPhs__Handler)fpcNdRq_phase_IsDeleted,
|
||||
(cPhs__Handler)fpcNdRq_phase_Create,
|
||||
(cPhs__Handler)fpcNdRq_phase_IsCreated,
|
||||
NULL,
|
||||
(cPhs__Handler)fpcNdRq_phase_IsDeleteTiming, (cPhs__Handler)fpcNdRq_phase_Delete,
|
||||
(cPhs__Handler)fpcNdRq_phase_IsDeleted, (cPhs__Handler)fpcNdRq_phase_Create,
|
||||
(cPhs__Handler)fpcNdRq_phase_IsCreated, NULL,
|
||||
};
|
||||
|
||||
/* 80022E14-80022EB0 009C+00 s=1 e=0 z=0 None .text
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include "f_pc/f_pc_stdcreate_req.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_load.h"
|
||||
#include "f_pc/f_pc_node.h"
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user