mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 20:57:46 -04:00
MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)
* cleanup SSystem files * MSL_C fully matched * fix build * remove asm * reorganize MSL_C/Runtime libs into more accurate setup * little more cleanup * cleanup some MSL headers * obj_rgate OK * remove asm * some rgate documentation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// Generated By: dol2asm
|
||||
// Translation Unit: c_tree_iter
|
||||
//
|
||||
/**
|
||||
* c_tree_iter.cpp
|
||||
*
|
||||
*/
|
||||
|
||||
#include "SSystem/SComponent/c_tree_iter.h"
|
||||
#include "SSystem/SComponent/c_list.h"
|
||||
@@ -9,18 +9,14 @@
|
||||
#include "SSystem/SComponent/c_tree.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
//
|
||||
|
||||
/* 80266540-802665B4 0074+00 s=0 e=2 z=0 None .text
|
||||
* cTrIt_Method__FP21node_lists_tree_classPFP10node_classPv_iPv */
|
||||
int cTrIt_Method(node_lists_tree_class* pTree, cNdIt_MethodFunc pMethod, void* pUserData) {
|
||||
node_list_class* pList = pTree->mpLists;
|
||||
int i = pTree->mNumLists;
|
||||
int cTrIt_Method(node_lists_tree_class* tree, cNdIt_MethodFunc method, void* data) {
|
||||
node_list_class* list = tree->mpLists;
|
||||
int i = tree->mNumLists;
|
||||
int ret = 1;
|
||||
while (i-- > 0) {
|
||||
int sub = cLsIt_Method(pList++, pMethod, pUserData);
|
||||
int sub = cLsIt_Method(list++, method, data);
|
||||
if (sub == 0)
|
||||
ret = 0;
|
||||
}
|
||||
@@ -29,11 +25,11 @@ int cTrIt_Method(node_lists_tree_class* pTree, cNdIt_MethodFunc pMethod, void* p
|
||||
|
||||
/* 802665B4-80266624 0070+00 s=0 e=2 z=0 None .text
|
||||
* cTrIt_Judge__FP21node_lists_tree_classPFP10node_classPv_PvPv */
|
||||
void* cTrIt_Judge(node_lists_tree_class* pTree, cNdIt_JudgeFunc pJudge, void* pUserData) {
|
||||
node_list_class* pList = pTree->mpLists;
|
||||
int i = pTree->mNumLists;
|
||||
void* cTrIt_Judge(node_lists_tree_class* tree, cNdIt_JudgeFunc judge, void* data) {
|
||||
node_list_class* list = tree->mpLists;
|
||||
int i = tree->mNumLists;
|
||||
while (i-- > 0) {
|
||||
void* pJudgeRet = cLsIt_Judge(pList++, pJudge, pUserData);
|
||||
void* pJudgeRet = cLsIt_Judge(list++, judge, data);
|
||||
if (pJudgeRet != NULL)
|
||||
return pJudgeRet;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user