Compare commits
8 Commits
agent/data
...
cleanup/bt
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6d9b91295 | ||
|
|
2aab31c1f9 | ||
|
|
24c84f5bfc | ||
|
|
73de5786da | ||
|
|
3abcd34252 | ||
|
|
5c20a11fa8 | ||
|
|
f85a98a6e3 | ||
|
|
137ee3242a |
@@ -1761,7 +1761,7 @@ update_sd_app_location_async__Q23ipl12NandSDWorkerFPUl = .text:0x81348E30; // ty
|
|||||||
read_sd_app_location_async__Q23ipl12NandSDWorkerFPUl = .text:0x81348E44; // type:function size:0x14
|
read_sd_app_location_async__Q23ipl12NandSDWorkerFPUl = .text:0x81348E44; // type:function size:0x14
|
||||||
check_for_sd_app_to_nand_async__Q23ipl12NandSDWorkerFUxPQ33ipl12NandSDWorker13AppBlocksInfoPQ33ipl12NandSDWorker13AppBlocksInfo = .text:0x81348E58; // type:function size:0x30
|
check_for_sd_app_to_nand_async__Q23ipl12NandSDWorkerFUxPQ33ipl12NandSDWorker13AppBlocksInfoPQ33ipl12NandSDWorker13AppBlocksInfo = .text:0x81348E58; // type:function size:0x30
|
||||||
check_backup_fits_async__Q23ipl12NandSDWorkerFPQ33ipl12NandSDWorker11TitleIdListPQ33ipl12NandSDWorker11TitleIdList = .text:0x81348E88; // type:function size:0x20
|
check_backup_fits_async__Q23ipl12NandSDWorkerFPQ33ipl12NandSDWorker11TitleIdListPQ33ipl12NandSDWorker11TitleIdList = .text:0x81348E88; // type:function size:0x20
|
||||||
iplNandSD_81348EA8__Q23ipl12NandSDWorkerFPvPvPv = .text:0x81348EA8; // type:function size:0x2C
|
check_sd_app_titles_async__Q23ipl12NandSDWorkerFPvPvPv = .text:0x81348EA8; // type:function size:0x2C
|
||||||
get_nand_save_size_async__Q23ipl12NandSDWorkerFUx = .text:0x81348ED4; // type:function size:0x18
|
get_nand_save_size_async__Q23ipl12NandSDWorkerFUx = .text:0x81348ED4; // type:function size:0x18
|
||||||
get_nand_app_size_async__Q23ipl12NandSDWorkerFUx = .text:0x81348EEC; // type:function size:0x18
|
get_nand_app_size_async__Q23ipl12NandSDWorkerFUx = .text:0x81348EEC; // type:function size:0x18
|
||||||
delete_nand_save_async__Q23ipl12NandSDWorkerFUx = .text:0x81348F04; // type:function size:0x18
|
delete_nand_save_async__Q23ipl12NandSDWorkerFUx = .text:0x81348F04; // type:function size:0x18
|
||||||
@@ -1823,7 +1823,7 @@ do_read_sd_app_location__Q23ipl12NandSDWorkerFv = .text:0x8134BC60; // type:func
|
|||||||
do_check_for_sd_app_to_nand__Q23ipl12NandSDWorkerFv = .text:0x8134BED0; // type:function size:0x3C8
|
do_check_for_sd_app_to_nand__Q23ipl12NandSDWorkerFv = .text:0x8134BED0; // type:function size:0x3C8
|
||||||
check_backup_fits__Q23ipl12NandSDWorkerFv = .text:0x8134C298; // type:function size:0x3D8
|
check_backup_fits__Q23ipl12NandSDWorkerFv = .text:0x8134C298; // type:function size:0x3D8
|
||||||
do_list_nand_apps_usage__Q23ipl12NandSDWorkerFv = .text:0x8134C670; // type:function size:0x1C8
|
do_list_nand_apps_usage__Q23ipl12NandSDWorkerFv = .text:0x8134C670; // type:function size:0x1C8
|
||||||
do_unk_8134C838__Q23ipl12NandSDWorkerFv = .text:0x8134C838; // type:function size:0x2D0
|
do_check_sd_app_titles__Q23ipl12NandSDWorkerFv = .text:0x8134C838; // type:function size:0x2D0
|
||||||
do_get_nand_save_size__Q23ipl12NandSDWorkerFv = .text:0x8134CB08; // type:function size:0x260
|
do_get_nand_save_size__Q23ipl12NandSDWorkerFv = .text:0x8134CB08; // type:function size:0x260
|
||||||
do_get_nand_app_size__Q23ipl12NandSDWorkerFv = .text:0x8134CD68; // type:function size:0x1F4
|
do_get_nand_app_size__Q23ipl12NandSDWorkerFv = .text:0x8134CD68; // type:function size:0x1F4
|
||||||
get_sd_save_size__Q23ipl12NandSDWorkerFUl = .text:0x8134CF5C; // type:function size:0x140
|
get_sd_save_size__Q23ipl12NandSDWorkerFUl = .text:0x8134CF5C; // type:function size:0x140
|
||||||
@@ -5267,10 +5267,10 @@ start_focusout_anm__Q33ipl5scene13SettingSelectFi = .text:0x814093D0; // type:fu
|
|||||||
start_selected_anm__Q33ipl5scene13SettingSelectFi = .text:0x81409480; // type:function size:0x274
|
start_selected_anm__Q33ipl5scene13SettingSelectFi = .text:0x81409480; // type:function size:0x274
|
||||||
is_stopped_all_anm__Q33ipl5scene13SettingSelectCFv = .text:0x814096F4; // type:function size:0x74
|
is_stopped_all_anm__Q33ipl5scene13SettingSelectCFv = .text:0x814096F4; // type:function size:0x74
|
||||||
onEvent__Q33ipl5scene13SettingSelectFUlUlPv = .text:0x81409768; // type:function size:0xFC
|
onEvent__Q33ipl5scene13SettingSelectFUlUlPv = .text:0x81409768; // type:function size:0xFC
|
||||||
fn_81409864__Q33ipl5scene13SettingSelectFv = .text:0x81409864; // type:function size:0x90
|
calc_exit_sequence__Q33ipl5scene13SettingSelectFv = .text:0x81409864; // type:function size:0x90
|
||||||
fn_814098F4__Q33ipl5scene13SettingSelectFv = .text:0x814098F4; // type:function size:0x94
|
prepare_exit_abort__Q33ipl5scene13SettingSelectFv = .text:0x814098F4; // type:function size:0x94
|
||||||
fn_81409988__Q33ipl5scene13SettingSelectFv = .text:0x81409988; // type:function size:0x64
|
start_exit_fade__Q33ipl5scene13SettingSelectFv = .text:0x81409988; // type:function size:0x64
|
||||||
fn_814099EC__Q33ipl5scene13SettingSelectFv = .text:0x814099EC; // type:function size:0x198
|
finish_exit_reboot__Q33ipl5scene13SettingSelectFv = .text:0x814099EC; // type:function size:0x198
|
||||||
__dt__Q33ipl5scene13SettingSelectFv = .text:0x81409B84; // type:function size:0x58 scope:weak
|
__dt__Q33ipl5scene13SettingSelectFv = .text:0x81409B84; // type:function size:0x58 scope:weak
|
||||||
@20@__dt__Q33ipl5scene13SettingSelectFv = .text:0x81409BDC; // type:function size:0x8 scope:weak
|
@20@__dt__Q33ipl5scene13SettingSelectFv = .text:0x81409BDC; // type:function size:0x8 scope:weak
|
||||||
@84@onEvent__Q33ipl5scene13SettingSelectFUlUlPv = .text:0x81409BE4; // type:function size:0x8 scope:weak
|
@84@onEvent__Q33ipl5scene13SettingSelectFUlUlPv = .text:0x81409BE4; // type:function size:0x8 scope:weak
|
||||||
@@ -5576,7 +5576,7 @@ __sinit_\tiPcKeyboard_cpp = .text:0x81416F34; // type:function size:0x1B0
|
|||||||
@68@calc__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x814170FC; // type:function size:0x8
|
@68@calc__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x814170FC; // type:function size:0x8
|
||||||
@68@draw__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x81417104; // type:function size:0x8
|
@68@draw__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x81417104; // type:function size:0x8
|
||||||
@68@init__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x8141710C; // type:function size:0x8
|
@68@init__Q49textinput8keyboard6pctype12LayoutByNW4RFv = .text:0x8141710C; // type:function size:0x8
|
||||||
@236@onEvent__Q49textinput8keyboard6pctype12LayoutByNW4RFPQ49textinput8keyboard6pctype5 = .text:0x81417114; // type:function size:0x8
|
@236@onEvent__Q49textinput8keyboard6pctype12LayoutByNW4RFPQ49textinput8keyboard6pctype5UIObjUlPv = .text:0x81417114; // type:function size:0x8
|
||||||
create__Q49textinput8keyboard13cellphonetype4BaseFP12MEMAllocator = .text:0x8141711C; // type:function size:0xAC
|
create__Q49textinput8keyboard13cellphonetype4BaseFP12MEMAllocator = .text:0x8141711C; // type:function size:0xAC
|
||||||
init__Q49textinput8keyboard13cellphonetype4BaseFv = .text:0x814171C8; // type:function size:0xA8
|
init__Q49textinput8keyboard13cellphonetype4BaseFv = .text:0x814171C8; // type:function size:0xA8
|
||||||
calc__Q49textinput8keyboard13cellphonetype4BaseFv = .text:0x81417270; // type:function size:0x4
|
calc__Q49textinput8keyboard13cellphonetype4BaseFv = .text:0x81417270; // type:function size:0x4
|
||||||
@@ -15655,15 +15655,15 @@ lbl_8164C424 = .data:0x8164C424; // type:object size:0xB data:string
|
|||||||
lbl_8164C42F = .data:0x8164C42F; // type:object size:0xD data:string
|
lbl_8164C42F = .data:0x8164C42F; // type:object size:0xD data:string
|
||||||
lbl_8164C43C = .data:0x8164C43C; // type:object size:0xD data:string
|
lbl_8164C43C = .data:0x8164C43C; // type:object size:0xD data:string
|
||||||
lbl_8164C449 = .data:0x8164C449; // type:object size:0xD data:string
|
lbl_8164C449 = .data:0x8164C449; // type:object size:0xD data:string
|
||||||
lbl_8164C458 = .data:0x8164C458; // type:object size:0xC data:4byte
|
scPaneName_T_CalMonth = .data:0x8164C458; // type:object size:0xC data:4byte
|
||||||
lbl_8164C464 = .data:0x8164C464; // type:object size:0x9 data:string
|
lbl_8164C464 = .data:0x8164C464; // type:object size:0x9 data:string
|
||||||
lbl_8164C46D = .data:0x8164C46D; // type:object size:0x9 data:string
|
lbl_8164C46D = .data:0x8164C46D; // type:object size:0x9 data:string
|
||||||
lbl_8164C476 = .data:0x8164C476; // type:object size:0x9 data:string
|
lbl_8164C476 = .data:0x8164C476; // type:object size:0x9 data:string
|
||||||
lbl_8164C480 = .data:0x8164C480; // type:object size:0xC
|
scPaneName_N_Cal = .data:0x8164C480; // type:object size:0xC
|
||||||
lbl_8164C48C = .data:0x8164C48C; // type:object size:0xB data:string
|
lbl_8164C48C = .data:0x8164C48C; // type:object size:0xB data:string
|
||||||
lbl_8164C497 = .data:0x8164C497; // type:object size:0xB data:string
|
lbl_8164C497 = .data:0x8164C497; // type:object size:0xB data:string
|
||||||
lbl_8164C4A2 = .data:0x8164C4A2; // type:object size:0xB data:string
|
lbl_8164C4A2 = .data:0x8164C4A2; // type:object size:0xB data:string
|
||||||
lbl_8164C4B0 = .data:0x8164C4B0; // type:object size:0xC
|
scPaneName_N_CalPos = .data:0x8164C4B0; // type:object size:0xC
|
||||||
lbl_8164C4BC = .data:0x8164C4BC; // type:object size:0x43
|
lbl_8164C4BC = .data:0x8164C4BC; // type:object size:0x43
|
||||||
lbl_8164C4FF = .data:0x8164C4FF; // type:object size:0xF data:string
|
lbl_8164C4FF = .data:0x8164C4FF; // type:object size:0xF data:string
|
||||||
lbl_8164C50E = .data:0x8164C50E; // type:object size:0x14 data:string
|
lbl_8164C50E = .data:0x8164C50E; // type:object size:0x14 data:string
|
||||||
@@ -18149,7 +18149,7 @@ lbl_8166A6B1 = .data:0x8166A6B1; // type:object size:0xD data:string
|
|||||||
lbl_8166A6BE = .data:0x8166A6BE; // type:object size:0xD data:string
|
lbl_8166A6BE = .data:0x8166A6BE; // type:object size:0xD data:string
|
||||||
lbl_8166A6CB = .data:0x8166A6CB; // type:object size:0xC data:string
|
lbl_8166A6CB = .data:0x8166A6CB; // type:object size:0xC data:string
|
||||||
lbl_8166A6D7 = .data:0x8166A6D7; // type:object size:0xC data:string
|
lbl_8166A6D7 = .data:0x8166A6D7; // type:object size:0xC data:string
|
||||||
lbl_8166A6E3 = .data:0x8166A6E3; // type:object size:0x41 data:string
|
scCsFatalMsg = .data:0x8166A6E3; // type:object size:0x41 data:string
|
||||||
lbl_8166A728 = .data:0x8166A728; // type:object size:0xB data:string
|
lbl_8166A728 = .data:0x8166A728; // type:object size:0xB data:string
|
||||||
lbl_8166A733 = .data:0x8166A733; // type:object size:0x9 data:string
|
lbl_8166A733 = .data:0x8166A733; // type:object size:0x9 data:string
|
||||||
lbl_8166A73C = .data:0x8166A73C; // type:object size:0xB data:string
|
lbl_8166A73C = .data:0x8166A73C; // type:object size:0xB data:string
|
||||||
@@ -20741,7 +20741,7 @@ lbl_81694FA0 = .sdata2:0x81694FA0; // type:object size:0x7 data:string
|
|||||||
lbl_81694FA7 = .sdata2:0x81694FA7; // type:object size:0x5 data:string
|
lbl_81694FA7 = .sdata2:0x81694FA7; // type:object size:0x5 data:string
|
||||||
lbl_81694FAC = .sdata2:0x81694FAC; // type:object size:0xC align:4
|
lbl_81694FAC = .sdata2:0x81694FAC; // type:object size:0xC align:4
|
||||||
lbl_81694FB8 = .sdata2:0x81694FB8; // type:object size:0x8 align:8 data:double
|
lbl_81694FB8 = .sdata2:0x81694FB8; // type:object size:0x8 align:8 data:double
|
||||||
lbl_81694FC0 = .sdata2:0x81694FC0; // type:object size:0x4 align:4 data:float
|
scCsZeroF = .sdata2:0x81694FC0; // type:object size:0x4 align:4 data:float
|
||||||
@10105 = .sdata2:0x81694FC8; // type:object size:0x4 scope:local align:4 data:float
|
@10105 = .sdata2:0x81694FC8; // type:object size:0x4 scope:local align:4 data:float
|
||||||
@9941 = .sdata2:0x81694FD0; // type:object size:0x8 scope:local data:4byte
|
@9941 = .sdata2:0x81694FD0; // type:object size:0x8 scope:local data:4byte
|
||||||
@10304 = .sdata2:0x81694FD8; // type:object size:0x8 scope:local align:8 data:double
|
@10304 = .sdata2:0x81694FD8; // type:object size:0x8 scope:local align:8 data:double
|
||||||
@@ -22466,10 +22466,10 @@ lbl_81697824 = .sdata:0x81697824; // type:object size:0x8 data:string
|
|||||||
lbl_8169782C = .sdata:0x8169782C; // type:object size:0x8 data:string
|
lbl_8169782C = .sdata:0x8169782C; // type:object size:0x8 data:string
|
||||||
lbl_81697834 = .sdata:0x81697834; // type:object size:0x8 data:string
|
lbl_81697834 = .sdata:0x81697834; // type:object size:0x8 data:string
|
||||||
lbl_8169783C = .sdata:0x8169783C; // type:object size:0x8 data:string
|
lbl_8169783C = .sdata:0x8169783C; // type:object size:0x8 data:string
|
||||||
lbl_81697844 = .sdata:0x81697844; // type:object size:0x1 data:byte
|
scCsFatalColorR = .sdata:0x81697844; // type:object size:0x1 data:byte
|
||||||
lbl_81697845 = .sdata:0x81697845; // type:object size:0x1 data:byte
|
scCsFatalColorG = .sdata:0x81697845; // type:object size:0x1 data:byte
|
||||||
lbl_81697846 = .sdata:0x81697846; // type:object size:0x1 data:byte
|
scCsFatalColorB = .sdata:0x81697846; // type:object size:0x1 data:byte
|
||||||
lbl_81697847 = .sdata:0x81697847; // type:object size:0x1 data:byte
|
scCsFatalColorA = .sdata:0x81697847; // type:object size:0x1 data:byte
|
||||||
lbl_81697848 = .sdata:0x81697848; // type:object size:0x8 data:string
|
lbl_81697848 = .sdata:0x81697848; // type:object size:0x8 data:string
|
||||||
lbl_81697850 = .sdata:0x81697850; // type:object size:0x6 data:string
|
lbl_81697850 = .sdata:0x81697850; // type:object size:0x6 data:string
|
||||||
lbl_81697858 = .sdata:0x81697858; // type:object size:0x6 data:string
|
lbl_81697858 = .sdata:0x81697858; // type:object size:0x6 data:string
|
||||||
|
|||||||
@@ -35,8 +35,8 @@ namespace ext_ead {
|
|||||||
|
|
||||||
class SurfaceManager {
|
class SurfaceManager {
|
||||||
public:
|
public:
|
||||||
static void CreateManager(int rectW0, int rectH0, int rectW1, int rectH1, void* mem1Buf, u32 mem1BufSize, void* mem2Buf, u32 mem2BufSize,
|
static void CreateManager(int surfaceW, int surfaceH, int browserW, int browserH, void* mem1Buf, u32 mem1BufSize, void* mem2Buf, u32 mem2BufSize,
|
||||||
void* libBuf, const char* param_10);
|
void* libBuf, const char* arcPath);
|
||||||
static void DisposeManager();
|
static void DisposeManager();
|
||||||
|
|
||||||
static void RegisterArcFile(void* fileBuf);
|
static void RegisterArcFile(void* fileBuf);
|
||||||
|
|||||||
@@ -167,12 +167,12 @@ namespace ipl {
|
|||||||
|
|
||||||
bool is_stopped_all_anm() const;
|
bool is_stopped_all_anm() const;
|
||||||
|
|
||||||
void fn_81409864();
|
void calc_exit_sequence();
|
||||||
|
|
||||||
void fn_814098F4();
|
void prepare_exit_abort();
|
||||||
void fn_unk_inline();
|
void wait_decide_se();
|
||||||
void fn_81409988();
|
void start_exit_fade();
|
||||||
void fn_814099EC();
|
void finish_exit_reboot();
|
||||||
|
|
||||||
int mState; // 0x60
|
int mState; // 0x60
|
||||||
int mPrevState; // 0x64
|
int mPrevState; // 0x64
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ namespace ipl {
|
|||||||
void read_sd_app_location_async(ESTitleId32* titleIds);
|
void read_sd_app_location_async(ESTitleId32* titleIds);
|
||||||
void check_for_sd_app_to_nand_async(ESTitleId titleId, AppBlocksInfo* usedBlocks, AppBlocksInfo* freeBlocks);
|
void check_for_sd_app_to_nand_async(ESTitleId titleId, AppBlocksInfo* usedBlocks, AppBlocksInfo* freeBlocks);
|
||||||
void check_backup_fits_async(TitleIdList* newTitles, TitleIdList* replacingTitles);
|
void check_backup_fits_async(TitleIdList* newTitles, TitleIdList* replacingTitles);
|
||||||
void iplNandSD_81348EA8(void* ptrA, void* ptrB, void* ptrC);
|
void check_sd_app_titles_async(void* ptrA, void* ptrB, void* ptrC);
|
||||||
|
|
||||||
void list_nand_apps_usage_async(void* ptrA, void* ptr);
|
void list_nand_apps_usage_async(void* ptrA, void* ptr);
|
||||||
|
|
||||||
@@ -514,7 +514,7 @@ namespace ipl {
|
|||||||
void do_check_for_sd_app_to_nand();
|
void do_check_for_sd_app_to_nand();
|
||||||
void check_backup_fits();
|
void check_backup_fits();
|
||||||
void do_list_nand_apps_usage();
|
void do_list_nand_apps_usage();
|
||||||
void do_unk_8134C838();
|
void do_check_sd_app_titles();
|
||||||
|
|
||||||
void do_move_nand_app_to_sd();
|
void do_move_nand_app_to_sd();
|
||||||
void do_move_sd_app_to_nand();
|
void do_move_sd_app_to_nand();
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ void bte_hcisu_send(HC_BT_HDR *p_msg, UINT16 event)
|
|||||||
GKI_freebuf(p_msg);
|
GKI_freebuf(p_msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
void bte_hcisu_task(int param_1)
|
void bte_hcisu_task(int unused)
|
||||||
{
|
{
|
||||||
if (p_hcisu_if)
|
if (p_hcisu_if)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -371,9 +371,9 @@ static BOOL NHTTPi_RecvProxyConnectHeader(NHTTPThreadContext* context)
|
|||||||
response->httpStatus = NHTTPi_strToInt(header + 9, 3);
|
response->httpStatus = NHTTPi_strToInt(header + 9, 3);
|
||||||
if (NHTTPi_strnicmp(header, "HTTP/", 5) == 0 && header[8] == ' '
|
if (NHTTPi_strnicmp(header, "HTTP/", 5) == 0 && header[8] == ' '
|
||||||
&& response->httpStatus == 200) accepted = TRUE;
|
&& response->httpStatus == 200) accepted = TRUE;
|
||||||
ended = FALSE;
|
|
||||||
cursor = header;
|
cursor = header;
|
||||||
index = 0;
|
index = 0;
|
||||||
|
ended = FALSE;
|
||||||
while (index < used)
|
while (index < used)
|
||||||
{
|
{
|
||||||
if (index > 1 && cursor[-1] == '\r' && *cursor == '\r') ended = TRUE;
|
if (index > 1 && cursor[-1] == '\r' && *cursor == '\r') ended = TRUE;
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
#include <revolution/gx/GXStruct.h>
|
#include <revolution/gx/GXStruct.h>
|
||||||
#include <revolution/os/OSError.h>
|
#include <revolution/os/OSError.h>
|
||||||
|
|
||||||
extern "C" const char lbl_8166A6E3[];
|
extern "C" const char scCsFatalMsg[];
|
||||||
extern "C" const u8 lbl_81697844;
|
extern "C" const u8 scCsFatalColorR;
|
||||||
extern "C" const u8 lbl_81697845;
|
extern "C" const u8 scCsFatalColorG;
|
||||||
extern "C" const u8 lbl_81697846;
|
extern "C" const u8 scCsFatalColorB;
|
||||||
extern "C" const u8 lbl_81697847;
|
extern "C" const u8 scCsFatalColorA;
|
||||||
|
|
||||||
#define NW4R_DB_ASSERT_H
|
#define NW4R_DB_ASSERT_H
|
||||||
#define NW4R_ASSERT(x) \
|
#define NW4R_ASSERT(x) \
|
||||||
{ \
|
{ \
|
||||||
if (!(x)) { \
|
if (!(x)) { \
|
||||||
GXColor front = {lbl_81697844, lbl_81697845, lbl_81697846, lbl_81697847}; \
|
GXColor front = {scCsFatalColorR, scCsFatalColorG, scCsFatalColorB, scCsFatalColorA}; \
|
||||||
GXColor back = {0, 0, 0, 0}; \
|
GXColor back = {0, 0, 0, 0}; \
|
||||||
OSFatal((GXColor)front, (GXColor)back, lbl_8166A6E3); \
|
OSFatal((GXColor)front, (GXColor)back, scCsFatalMsg); \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ extern "C" const u8 lbl_81697847;
|
|||||||
|
|
||||||
#include "math/iplMathTypes.h"
|
#include "math/iplMathTypes.h"
|
||||||
|
|
||||||
extern "C" const f32 lbl_81694FC0 = 0.0f;
|
extern "C" const f32 scCsZeroF = 0.0f;
|
||||||
|
|
||||||
extern "C" nw4r::ut::Color GetTextColor__Q34nw4r3lyt7TextBoxCFUl(const nw4r::lyt::TextBox*, u32);
|
extern "C" nw4r::ut::Color GetTextColor__Q34nw4r3lyt7TextBoxCFUl(const nw4r::lyt::TextBox*, u32);
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ namespace ipl {
|
|||||||
nw4r::math::VEC2 scale;
|
nw4r::math::VEC2 scale;
|
||||||
scale.x = pane->GetScale().x;
|
scale.x = pane->GetScale().x;
|
||||||
scale.y = pane->GetScale().y;
|
scale.y = pane->GetScale().y;
|
||||||
result = vec3::_ctor(VmInst, VmReturnObj, scale.x, scale.y, lbl_81694FC0) == TRUE;
|
result = vec3::_ctor(VmInst, VmReturnObj, scale.x, scale.y, scCsZeroF) == TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@@ -514,7 +514,7 @@ namespace ipl {
|
|||||||
nw4r::math::VEC3 get_vec_(CHANSVm* vm) {
|
nw4r::math::VEC3 get_vec_(CHANSVm* vm) {
|
||||||
u32 argc = CHANSVmGetArgc(vm);
|
u32 argc = CHANSVmGetArgc(vm);
|
||||||
CHANSVmObjHdr* arg = CHANSVmGetArg(vm, 0);
|
CHANSVmObjHdr* arg = CHANSVmGetArg(vm, 0);
|
||||||
nw4r::math::VEC3 out(lbl_81694FC0, lbl_81694FC0, lbl_81694FC0);
|
nw4r::math::VEC3 out(scCsZeroF, scCsZeroF, scCsZeroF);
|
||||||
if (argc == 1 && util::is_valid_class(arg, "VEC3")) {
|
if (argc == 1 && util::is_valid_class(arg, "VEC3")) {
|
||||||
f32* src = static_cast<f32*>(*arg->value.ptr_v);
|
f32* src = static_cast<f32*>(*arg->value.ptr_v);
|
||||||
out.x = src[0];
|
out.x = src[0];
|
||||||
@@ -540,7 +540,7 @@ namespace ipl {
|
|||||||
nw4r::lyt::Size get_size_(CHANSVm* vm) {
|
nw4r::lyt::Size get_size_(CHANSVm* vm) {
|
||||||
u32 argc = CHANSVmGetArgc(vm);
|
u32 argc = CHANSVmGetArgc(vm);
|
||||||
CHANSVmObjHdr* arg = CHANSVmGetArg(vm, 0);
|
CHANSVmObjHdr* arg = CHANSVmGetArg(vm, 0);
|
||||||
nw4r::lyt::Size out(lbl_81694FC0, lbl_81694FC0);
|
nw4r::lyt::Size out(scCsZeroF, scCsZeroF);
|
||||||
if (argc == 1 && util::is_valid_class(arg, "Size")) {
|
if (argc == 1 && util::is_valid_class(arg, "Size")) {
|
||||||
f32* src = static_cast<f32*>(*arg->value.ptr_v);
|
f32* src = static_cast<f32*>(*arg->value.ptr_v);
|
||||||
out.width = src[0];
|
out.width = src[0];
|
||||||
@@ -622,15 +622,15 @@ namespace ipl {
|
|||||||
namespace pane {
|
namespace pane {
|
||||||
#pragma push
|
#pragma push
|
||||||
#pragma section const_type ".data"
|
#pragma section const_type ".data"
|
||||||
extern "C" const char lbl_8166A6E3[] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
|
extern "C" const char scCsFatalMsg[] = "Error#004\nAn error has occurred.\nThe system files are corrupted.";
|
||||||
#pragma pop
|
#pragma pop
|
||||||
|
|
||||||
#pragma push
|
#pragma push
|
||||||
#pragma section data_type ".sdata"
|
#pragma section data_type ".sdata"
|
||||||
extern "C" __declspec(section ".sdata") const u8 lbl_81697844 = 0xff;
|
extern "C" __declspec(section ".sdata") const u8 scCsFatalColorR = 0xff;
|
||||||
extern "C" __declspec(section ".sdata") const u8 lbl_81697845 = 0xff;
|
extern "C" __declspec(section ".sdata") const u8 scCsFatalColorG = 0xff;
|
||||||
extern "C" __declspec(section ".sdata") const u8 lbl_81697846 = 0xff;
|
extern "C" __declspec(section ".sdata") const u8 scCsFatalColorB = 0xff;
|
||||||
extern "C" __declspec(section ".sdata") const u8 lbl_81697847 = 0;
|
extern "C" __declspec(section ".sdata") const u8 scCsFatalColorA = 0;
|
||||||
#pragma pop
|
#pragma pop
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -215,19 +215,19 @@ namespace ipl {
|
|||||||
MESG_CALENDAR_DEC,
|
MESG_CALENDAR_DEC,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char* lbl_8164C458[] = {
|
static const char* scPaneName_T_CalMonth[] = {
|
||||||
"T_CalMonth_a",
|
"T_CalMonth_a",
|
||||||
"T_CalMonth_b",
|
"T_CalMonth_b",
|
||||||
"T_CalMonth_c",
|
"T_CalMonth_c",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char* lbl_8164C480[] = {
|
static const char* scPaneName_N_Cal[] = {
|
||||||
"N_Cal_a1",
|
"N_Cal_a1",
|
||||||
"N_Cal_b1",
|
"N_Cal_b1",
|
||||||
"N_Cal_c1",
|
"N_Cal_c1",
|
||||||
};
|
};
|
||||||
|
|
||||||
static const char* lbl_8164C4B0[] = {
|
static const char* scPaneName_N_CalPos[] = {
|
||||||
"N_CalPos_a",
|
"N_CalPos_a",
|
||||||
"N_CalPos_b",
|
"N_CalPos_b",
|
||||||
"N_CalPos_c",
|
"N_CalPos_c",
|
||||||
@@ -661,9 +661,9 @@ namespace ipl {
|
|||||||
utility::Calendar::getLastMonth(*mpBoardDate, &last);
|
utility::Calendar::getLastMonth(*mpBoardDate, &last);
|
||||||
utility::Calendar::getNextMonth(*mpBoardDate, &next);
|
utility::Calendar::getNextMonth(*mpBoardDate, &next);
|
||||||
|
|
||||||
set_textbox_month(lbl_8164C458[0], last);
|
set_textbox_month(scPaneName_T_CalMonth[0], last);
|
||||||
set_textbox_month(lbl_8164C458[1], *mpBoardDate);
|
set_textbox_month(scPaneName_T_CalMonth[1], *mpBoardDate);
|
||||||
set_textbox_month(lbl_8164C458[2], next);
|
set_textbox_month(scPaneName_T_CalMonth[2], next);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Calendar::set_textbox_month(const char* paneName, const utility::Date& date) {
|
void Calendar::set_textbox_month(const char* paneName, const utility::Date& date) {
|
||||||
@@ -714,31 +714,31 @@ namespace ipl {
|
|||||||
|
|
||||||
OSCalendarTime curTime = System::getCurrentTime();
|
OSCalendarTime curTime = System::getCurrentTime();
|
||||||
|
|
||||||
utility::Date local_64(curTime.year, curTime.mon + 1, curTime.mday);
|
utility::Date todayDate(curTime.year, curTime.mon + 1, curTime.mday);
|
||||||
utility::Date local_70;
|
utility::Date lastMonth;
|
||||||
utility::Date local_7c;
|
utility::Date nextMonth;
|
||||||
|
|
||||||
utility::Calendar::getLastMonth(date, &local_70);
|
utility::Calendar::getLastMonth(date, &lastMonth);
|
||||||
utility::Calendar::getNextMonth(date, &local_7c);
|
utility::Calendar::getNextMonth(date, &nextMonth);
|
||||||
|
|
||||||
int dateIndex;
|
int dateIndex;
|
||||||
int iVar10;
|
int weekOffset;
|
||||||
if (mbAsian || mbUSA) {
|
if (mbAsian || mbUSA) {
|
||||||
iVar10 = 6 - utility::Calendar::getWeek(date.year, date.month, maxDays);
|
weekOffset = 6 - utility::Calendar::getWeek(date.year, date.month, maxDays);
|
||||||
} else {
|
} else {
|
||||||
week--;
|
week--;
|
||||||
if (week < 0) {
|
if (week < 0) {
|
||||||
week = 6;
|
week = 6;
|
||||||
}
|
}
|
||||||
iVar10 = 6 - (utility::Calendar::getWeek(date.year, date.month, maxDays) - 1);
|
weekOffset = 6 - (utility::Calendar::getWeek(date.year, date.month, maxDays) - 1);
|
||||||
if (iVar10 >= 7) {
|
if (weekOffset >= 7) {
|
||||||
iVar10 = 0;
|
weekOffset = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dateIndex = unk == 1 ? 0 : DATE_COUNT;
|
dateIndex = unk == 1 ? 0 : DATE_COUNT;
|
||||||
|
|
||||||
utility::Date local_88;
|
utility::Date cellDate;
|
||||||
|
|
||||||
u32 attr;
|
u32 attr;
|
||||||
int val2;
|
int val2;
|
||||||
@@ -750,25 +750,25 @@ namespace ipl {
|
|||||||
|
|
||||||
val = (maxDays + week);
|
val = (maxDays + week);
|
||||||
attr = 0;
|
attr = 0;
|
||||||
val2 = (iVar10 + val);
|
val2 = (weekOffset + val);
|
||||||
if ((week - i) > 0) {
|
if ((week - i) > 0) {
|
||||||
local_88.year = local_70.year;
|
cellDate.year = lastMonth.year;
|
||||||
local_88.month = local_70.month;
|
cellDate.month = lastMonth.month;
|
||||||
local_88.day = i + (local_70.day - week) + 1;
|
cellDate.day = i + (lastMonth.day - week) + 1;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((val - i) > 0) {
|
if ((val - i) > 0) {
|
||||||
local_88.year = date.year;
|
cellDate.year = date.year;
|
||||||
local_88.month = date.month;
|
cellDate.month = date.month;
|
||||||
local_88.day = (i - week) + 1;
|
cellDate.day = (i - week) + 1;
|
||||||
attr |= 2;
|
attr |= 2;
|
||||||
|
|
||||||
if (local_88 == local_64) {
|
if (cellDate == todayDate) {
|
||||||
attr |= 1;
|
attr |= 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (utility::Calendar::getWeek(local_88.year, local_88.month, local_88.day)) {
|
switch (utility::Calendar::getWeek(cellDate.year, cellDate.month, cellDate.day)) {
|
||||||
case 6: {
|
case 6: {
|
||||||
attr |= 8;
|
attr |= 8;
|
||||||
break;
|
break;
|
||||||
@@ -782,9 +782,9 @@ namespace ipl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((val2 - i) > 0) {
|
if ((val2 - i) > 0) {
|
||||||
local_88.year = local_7c.year;
|
cellDate.year = nextMonth.year;
|
||||||
local_88.month = local_7c.month;
|
cellDate.month = nextMonth.month;
|
||||||
local_88.day = ((i - maxDays) - week) + 1;
|
cellDate.day = ((i - maxDays) - week) + 1;
|
||||||
goto out;
|
goto out;
|
||||||
} else {
|
} else {
|
||||||
dateScn->setVisible(false);
|
dateScn->setVisible(false);
|
||||||
@@ -792,14 +792,14 @@ namespace ipl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
dateScn->setDate(local_88);
|
dateScn->setDate(cellDate);
|
||||||
dateScn->setAttribute(attr);
|
dateScn->setAttribute(attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Calendar::set_date_pos(int unk) {
|
void Calendar::set_date_pos(int unk) {
|
||||||
nw4r::lyt::Pane* pane1 = mpLayout->FindPaneByName(lbl_8164C480[unk]);
|
nw4r::lyt::Pane* pane1 = mpLayout->FindPaneByName(scPaneName_N_Cal[unk]);
|
||||||
nw4r::lyt::Pane* pane2 = mpLayout->FindPaneByName(lbl_8164C4B0[unk]);
|
nw4r::lyt::Pane* pane2 = mpLayout->FindPaneByName(scPaneName_N_CalPos[unk]);
|
||||||
|
|
||||||
int dateIndex = unk == 1 ? 0 : DATE_COUNT;
|
int dateIndex = unk == 1 ? 0 : DATE_COUNT;
|
||||||
|
|
||||||
@@ -807,14 +807,14 @@ namespace ipl {
|
|||||||
Date* dateScn = ((Date*)nw4r::ut::List_GetNth(&mDateList, dateIndex));
|
Date* dateScn = ((Date*)nw4r::ut::List_GetNth(&mDateList, dateIndex));
|
||||||
dateIndex++;
|
dateIndex++;
|
||||||
|
|
||||||
nw4r::math::VEC3 local_68;
|
nw4r::math::VEC3 cellPos;
|
||||||
local_68.x = ((u16)i % 7) * 0x46;
|
cellPos.x = ((u16)i % 7) * 0x46;
|
||||||
local_68.y = ((u16)i / 7) * -0x30;
|
cellPos.y = ((u16)i / 7) * -0x30;
|
||||||
local_68.z = 0.0f;
|
cellPos.z = 0.0f;
|
||||||
|
|
||||||
MTXMultVec(pane2->GetGlobalMtx(), local_68, local_68);
|
MTXMultVec(pane2->GetGlobalMtx(), cellPos, cellPos);
|
||||||
|
|
||||||
dateScn->setTranslate(local_68);
|
dateScn->setTranslate(cellPos);
|
||||||
dateScn->setRotate(pane1->GetRotate());
|
dateScn->setRotate(pane1->GetRotate());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ namespace ipl {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case STATE_16: {
|
case STATE_16: {
|
||||||
fn_81409864();
|
calc_exit_sequence();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -688,28 +688,28 @@ namespace ipl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingSelect::fn_81409864() {
|
void SettingSelect::calc_exit_sequence() {
|
||||||
switch (unk_0x94) {
|
switch (unk_0x94) {
|
||||||
case 0: {
|
case 0: {
|
||||||
fn_814098F4();
|
prepare_exit_abort();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 1: {
|
case 1: {
|
||||||
fn_unk_inline();
|
wait_decide_se();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 2: {
|
case 2: {
|
||||||
fn_81409988();
|
start_exit_fade();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 3: {
|
case 3: {
|
||||||
fn_814099EC();
|
finish_exit_reboot();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingSelect::fn_814098F4() {
|
void SettingSelect::prepare_exit_abort() {
|
||||||
if (System::getChannelManager()->isReady()) {
|
if (System::getChannelManager()->isReady()) {
|
||||||
for (int i = 0; i < WPAD_MAX_CONTROLLERS; i++) {
|
for (int i = 0; i < WPAD_MAX_CONTROLLERS; i++) {
|
||||||
controller::Interface* con = System::getController(i);
|
controller::Interface* con = System::getController(i);
|
||||||
@@ -724,20 +724,20 @@ namespace ipl {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingSelect::fn_unk_inline() {
|
void SettingSelect::wait_decide_se() {
|
||||||
if (!snd::getSystem()->isSEActive("WIPL_SE_DECIDE")) {
|
if (!snd::getSystem()->isSEActive("WIPL_SE_DECIDE")) {
|
||||||
unk_0x94 = 2;
|
unk_0x94 = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingSelect::fn_81409988() {
|
void SettingSelect::start_exit_fade() {
|
||||||
__WPADReconnect(TRUE);
|
__WPADReconnect(TRUE);
|
||||||
snd::getSystem()->stopAllSound(20);
|
snd::getSystem()->stopAllSound(20);
|
||||||
System::getFader()->fadeOut();
|
System::getFader()->fadeOut();
|
||||||
unk_0x94 = 3;
|
unk_0x94 = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SettingSelect::fn_814099EC() {
|
void SettingSelect::finish_exit_reboot() {
|
||||||
if (System::getFader()->getStatus() == EGG::Fader::PREPARE_IN) {
|
if (System::getFader()->getStatus() == EGG::Fader::PREPARE_IN) {
|
||||||
while (WPADGetStatus() != 0 || System::getBS2Manager()->getIPLState() != bs2::IPL_STATE_8) {
|
while (WPADGetStatus() != 0 || System::getBS2Manager()->getIPLState() != bs2::IPL_STATE_8) {
|
||||||
snd::getSystem()->calc();
|
snd::getSystem()->calc();
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ namespace ipl {
|
|||||||
send_work(MESSAGE_CHECK_BACKUP_FITS);
|
send_work(MESSAGE_CHECK_BACKUP_FITS);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NandSDWorker::iplNandSD_81348EA8(void* ptrA, void* ptrB, void* ptrC) {
|
void NandSDWorker::check_sd_app_titles_async(void* ptrA, void* ptrB, void* ptrC) {
|
||||||
myWork->paramA = ptrA;
|
myWork->paramA = ptrA;
|
||||||
myWork->paramB = ptrB;
|
myWork->paramB = ptrB;
|
||||||
myWork->paramC = ptrC;
|
myWork->paramC = ptrC;
|
||||||
@@ -797,7 +797,7 @@ namespace ipl {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MESSAGE_UNK_49: {
|
case MESSAGE_UNK_49: {
|
||||||
do_unk_8134C838();
|
do_check_sd_app_titles();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case MESSAGE_GET_NAND_SAVE_SIZE: {
|
case MESSAGE_GET_NAND_SAVE_SIZE: {
|
||||||
@@ -2179,7 +2179,7 @@ namespace ipl {
|
|||||||
MEMFreeToExpHeap(myWork->mainHeap, titleIds);
|
MEMFreeToExpHeap(myWork->mainHeap, titleIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
void NandSDWorker::do_unk_8134C838() {
|
void NandSDWorker::do_check_sd_app_titles() {
|
||||||
SDAppBanner* sdAppBanner = (SDAppBanner*)MEMAllocFromAllocator(&myWork->unkAllocator, sizeof(SDAppBanner));
|
SDAppBanner* sdAppBanner = (SDAppBanner*)MEMAllocFromAllocator(&myWork->unkAllocator, sizeof(SDAppBanner));
|
||||||
|
|
||||||
/* i guess */
|
/* i guess */
|
||||||
|
|||||||
Reference in New Issue
Block a user