Compare commits
9 Commits
cleanup/ip
...
agent/data
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4f654f72a9 | ||
|
|
5c20a11fa8 | ||
|
|
f85a98a6e3 | ||
|
|
137ee3242a | ||
|
|
2368a9a774 | ||
|
|
90399bb6cf | ||
|
|
fc831357ea | ||
|
|
e2191ae933 | ||
|
|
7d77c095c0 |
@@ -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
|
||||||
@@ -13986,8 +13986,8 @@ lbl_81616AE4 = .rodata:0x81616AE4; // type:object size:0x30
|
|||||||
lbl_81616B14 = .rodata:0x81616B14; // type:object size:0x74
|
lbl_81616B14 = .rodata:0x81616B14; // type:object size:0x74
|
||||||
lbl_81616B88 = .rodata:0x81616B88; // type:object size:0x40
|
lbl_81616B88 = .rodata:0x81616B88; // type:object size:0x40
|
||||||
lbl_81616BC8 = .rodata:0x81616BC8; // type:object size:0x10 data:4byte
|
lbl_81616BC8 = .rodata:0x81616BC8; // type:object size:0x10 data:4byte
|
||||||
lbl_81616BD8 = .rodata:0x81616BD8; // type:object size:0xC
|
scCountryMap_EU = .rodata:0x81616BD8; // type:object size:0xC
|
||||||
lbl_81616BE4 = .rodata:0x81616BE4; // type:object size:0xC
|
scCountryMap_NonEU = .rodata:0x81616BE4; // type:object size:0xC
|
||||||
lbl_81616BF0 = .rodata:0x81616BF0; // type:object size:0x88
|
lbl_81616BF0 = .rodata:0x81616BF0; // type:object size:0x88
|
||||||
CHANSVmConstStringObjectUndefined = .rodata:0x81616C78; // type:object size:0x10
|
CHANSVmConstStringObjectUndefined = .rodata:0x81616C78; // type:object size:0x10
|
||||||
lbl_81616C88 = .rodata:0x81616C88; // type:object size:0x10
|
lbl_81616C88 = .rodata:0x81616C88; // type:object size:0x10
|
||||||
@@ -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
|
||||||
@@ -20107,12 +20107,12 @@ gDBCommTable = .data:0x816943C8; // type:object size:0x28
|
|||||||
lbl_81694410 = .sdata2:0x81694410; // type:object size:0x4 align:4 data:float
|
lbl_81694410 = .sdata2:0x81694410; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694418 = .sdata2:0x81694418; // type:object size:0x8 align:8 data:double
|
lbl_81694418 = .sdata2:0x81694418; // type:object size:0x8 align:8 data:double
|
||||||
lbl_81694420 = .sdata2:0x81694420; // type:object size:0x4 align:4 data:float
|
lbl_81694420 = .sdata2:0x81694420; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694424 = .sdata2:0x81694424; // type:object size:0x4 align:4 data:float
|
scOrthoLeft = .sdata2:0x81694424; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694428 = .sdata2:0x81694428; // type:object size:0x4 align:4 data:float
|
scOrthoRight = .sdata2:0x81694428; // type:object size:0x4 align:4 data:float
|
||||||
lbl_8169442C = .sdata2:0x8169442C; // type:object size:0x4 align:4 data:float
|
scOrthoBottom = .sdata2:0x8169442C; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694430 = .sdata2:0x81694430; // type:object size:0x4 align:4 data:float
|
scOrthoTop = .sdata2:0x81694430; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694434 = .sdata2:0x81694434; // type:object size:0x4 align:4 data:float
|
scWideOrthoLeft = .sdata2:0x81694434; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694438 = .sdata2:0x81694438; // type:object size:0x4 align:4 data:float
|
scWideOrthoRight = .sdata2:0x81694438; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694440 = .sdata2:0x81694440; // type:object size:0x4 align:4 data:float
|
lbl_81694440 = .sdata2:0x81694440; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694444 = .sdata2:0x81694444; // type:object size:0x4 align:4 data:float
|
lbl_81694444 = .sdata2:0x81694444; // type:object size:0x4 align:4 data:float
|
||||||
lbl_81694448 = .sdata2:0x81694448; // type:object size:0x8 align:8 data:double
|
lbl_81694448 = .sdata2:0x81694448; // type:object size:0x8 align:8 data:double
|
||||||
@@ -20201,10 +20201,10 @@ lbl_816945B0 = .sdata2:0x816945B0; // type:object size:0x4 align:4 data:float
|
|||||||
lbl_816945B4 = .sdata2:0x816945B4; // type:object size:0x4 align:4 data:float
|
lbl_816945B4 = .sdata2:0x816945B4; // type:object size:0x4 align:4 data:float
|
||||||
lbl_816945B8 = .sdata2:0x816945B8; // type:object size:0x8 align:8 data:double
|
lbl_816945B8 = .sdata2:0x816945B8; // type:object size:0x8 align:8 data:double
|
||||||
lbl_816945C0 = .sdata2:0x816945C0; // type:object size:0x8 align:8 data:double
|
lbl_816945C0 = .sdata2:0x816945C0; // type:object size:0x8 align:8 data:double
|
||||||
lbl_816945C8 = .sdata2:0x816945C8; // type:object size:0x4 align:4 data:float
|
scTvrcMsPerSec = .sdata2:0x816945C8; // type:object size:0x4 align:4 data:float
|
||||||
lbl_816945D0 = .sdata2:0x816945D0; // type:object size:0x8 align:8 data:double
|
scTvrcNsecPerSec = .sdata2:0x816945D0; // type:object size:0x8 align:8 data:double
|
||||||
lbl_816945D8 = .sdata2:0x816945D8; // type:object size:0x8 align:8 data:double
|
scTvrcOne = .sdata2:0x816945D8; // type:object size:0x8 align:8 data:double
|
||||||
lbl_816945E0 = .sdata2:0x816945E0; // type:object size:0x8 align:8 data:double
|
scTvrcFloatMagic = .sdata2:0x816945E0; // type:object size:0x8 align:8 data:double
|
||||||
lbl_816945E8 = .sdata2:0x816945E8; // type:object size:0x4 align:4 data:float
|
lbl_816945E8 = .sdata2:0x816945E8; // type:object size:0x4 align:4 data:float
|
||||||
lbl_816945EC = .sdata2:0x816945EC; // type:object size:0x4 align:4 data:float
|
lbl_816945EC = .sdata2:0x816945EC; // type:object size:0x4 align:4 data:float
|
||||||
lbl_816945F0 = .sdata2:0x816945F0; // type:object size:0x4 align:4 data:float
|
lbl_816945F0 = .sdata2:0x816945F0; // type:object size:0x4 align:4 data:float
|
||||||
@@ -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
|
||||||
@@ -21552,7 +21552,7 @@ lbl_8169622C = .sdata:0x8169622C; // type:object size:0x1 data:byte
|
|||||||
lbl_8169622D = .sdata:0x8169622D; // type:object size:0x1 data:byte
|
lbl_8169622D = .sdata:0x8169622D; // type:object size:0x1 data:byte
|
||||||
lbl_8169622E = .sdata:0x8169622E; // type:object size:0x1 data:byte
|
lbl_8169622E = .sdata:0x8169622E; // type:object size:0x1 data:byte
|
||||||
lbl_8169622F = .sdata:0x8169622F; // type:object size:0x1 data:byte
|
lbl_8169622F = .sdata:0x8169622F; // type:object size:0x1 data:byte
|
||||||
lbl_81696230 = .sdata:0x81696230; // type:object size:0x5 data:string
|
scTvrcFileHeader = .sdata:0x81696230; // type:object size:0x5 data:string
|
||||||
TVRC_FILE_HEADER__7LibTVRC = .sdata:0x81696238; // type:object size:0x4 data:4byte
|
TVRC_FILE_HEADER__7LibTVRC = .sdata:0x81696238; // type:object size:0x4 data:4byte
|
||||||
__tienHoseiNsec__7LibTVRC = .sdata:0x8169623C; // type:object size:0x4 data:4byte
|
__tienHoseiNsec__7LibTVRC = .sdata:0x8169623C; // type:object size:0x4 data:4byte
|
||||||
_limitMilli__7LibTVRC = .sdata:0x81696240; // type:object size:0x4 data:4byte
|
_limitMilli__7LibTVRC = .sdata:0x81696240; // type:object size:0x4 data:4byte
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -8,10 +8,10 @@ extern u32 CDBGetInitialCode();
|
|||||||
extern void CDBLock();
|
extern void CDBLock();
|
||||||
extern CDBErr CDBDatabaseAllocate(CDBDatabase* database, u32 flags);
|
extern CDBErr CDBDatabaseAllocate(CDBDatabase* database, u32 flags);
|
||||||
extern void CDBUnlock();
|
extern void CDBUnlock();
|
||||||
extern void CDBDatabaseFree();
|
extern CDBErr CDBDatabaseFree(CDBDatabase* database);
|
||||||
extern void CDBRecordCreateAtOnce();
|
extern void CDBRecordCreateAtOnce();
|
||||||
extern void CDBRecordInitDescriptor();
|
extern void CDBRecordInitDescriptor(CDBRecord* record, CDBDatabase* database, CDBRecordKey* key);
|
||||||
extern void CDBRecordIsExistFile();
|
extern BOOL CDBRecordIsExistFile(CDBRecord* record);
|
||||||
extern void CDBRecordOpenReadOnly();
|
extern void CDBRecordOpenReadOnly();
|
||||||
extern void CDBRecordKeyArrayInit();
|
extern void CDBRecordKeyArrayInit();
|
||||||
extern void CDBRecordKeyArraySetReverse();
|
extern void CDBRecordKeyArraySetReverse();
|
||||||
@@ -157,59 +157,27 @@ CDBErr CDBDatabaseOpen(CDBDatabase* database) {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
asm CDBErr CDBDatabaseClose(CDBDatabase* database) {
|
CDBErr CDBDatabaseClose(CDBDatabase* database) {
|
||||||
#ifdef __MWERKS__
|
CDBErr result;
|
||||||
nofralloc
|
CDBErr status;
|
||||||
stwu r1, -0x10(r1)
|
CDBDatabaseState* instance;
|
||||||
mflr r0
|
|
||||||
stw r0, 0x14(r1)
|
CDBLock();
|
||||||
stw r31, 0xc(r1)
|
instance = database->instance;
|
||||||
stw r30, 0x8(r1)
|
if (instance == NULL || instance->flags == 0) {
|
||||||
mr r30, r3
|
CDBReportError(lbl_8166B528);
|
||||||
bl CDBLock
|
result = CDB_ERROR_27;
|
||||||
lwz r31, 0x8(r30)
|
} else {
|
||||||
cmpwi r31, 0x0
|
status = CDBDatabaseFree(database);
|
||||||
beq L_8148746C
|
if (status != CDB_ERROR_OK) {
|
||||||
addis r3, r31, 0x1
|
result = status;
|
||||||
lwz r0, -0x3ff0(r3)
|
} else {
|
||||||
cmpwi r0, 0x0
|
instance->flags = 0;
|
||||||
bne L_8148749C
|
result = CDB_ERROR_OK;
|
||||||
L_8148746C:
|
}
|
||||||
li r3, 0x2
|
}
|
||||||
bl CDBIsPrintDebugMessage
|
CDBUnlock();
|
||||||
cmpwi r3, 0x0
|
return result;
|
||||||
beq L_81487494
|
|
||||||
li r3, 0x2
|
|
||||||
bl CDBReport_
|
|
||||||
lis r3, lbl_8166B528@ha
|
|
||||||
addi r3, r3, lbl_8166B528@l
|
|
||||||
crclr 4*cr1+eq
|
|
||||||
bl OSReport
|
|
||||||
L_81487494:
|
|
||||||
li r31, 0x1b
|
|
||||||
b L_814874C4
|
|
||||||
L_8148749C:
|
|
||||||
mr r3, r30
|
|
||||||
bl CDBDatabaseFree
|
|
||||||
cmpwi r3, 0x0
|
|
||||||
beq L_814874B4
|
|
||||||
mr r31, r3
|
|
||||||
b L_814874C4
|
|
||||||
L_814874B4:
|
|
||||||
addis r3, r31, 0x1
|
|
||||||
li r0, 0x0
|
|
||||||
stw r0, -0x3ff0(r3)
|
|
||||||
li r31, 0x0
|
|
||||||
L_814874C4:
|
|
||||||
bl CDBUnlock
|
|
||||||
mr r3, r31
|
|
||||||
lwz r31, 0xc(r1)
|
|
||||||
lwz r30, 0x8(r1)
|
|
||||||
lwz r0, 0x14(r1)
|
|
||||||
mtlr r0
|
|
||||||
addi r1, r1, 0x10
|
|
||||||
blr
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CDBErr CDBDatabasePrivateCreateRecordAtOnce(CDBDatabase* database, CDBRecord* record, const char* typeStr, const char* fileTypeStr, u8* recordData, u32 recordDataSize, char* makerCodeStr, char* gameCodeStr) {
|
CDBErr CDBDatabasePrivateCreateRecordAtOnce(CDBDatabase* database, CDBRecord* record, const char* typeStr, const char* fileTypeStr, u8* recordData, u32 recordDataSize, char* makerCodeStr, char* gameCodeStr) {
|
||||||
@@ -525,72 +493,24 @@ asm CDBErr CDBDatabaseCreateRecordImAtOnce_() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
asm CDBErr CDBDatabaseFindByKey() {
|
CDBErr CDBDatabaseFindByKey(CDBDatabase* database, CDBRecord* record, CDBRecordKey* recordKey) {
|
||||||
#ifdef __MWERKS__
|
CDBErr result;
|
||||||
nofralloc
|
|
||||||
stwu r1, -0x20(r1)
|
CDBLock();
|
||||||
mflr r0
|
if (!CDBRecordKeyIsValid(recordKey)) {
|
||||||
stw r0, 0x24(r1)
|
CDBReportError(lbl_8166B5A8);
|
||||||
stw r31, 0x1c(r1)
|
result = CDB_ERROR_5;
|
||||||
mr r31, r5
|
} else {
|
||||||
stw r30, 0x18(r1)
|
CDBRecordInitDescriptor(record, database, recordKey);
|
||||||
mr r30, r4
|
if (!CDBRecordIsExistFile(record)) {
|
||||||
stw r29, 0x14(r1)
|
CDBReportError(lbl_8166B5B8, recordKey->keyString);
|
||||||
mr r29, r3
|
result = CDB_ERROR_CANNOT_OPEN_FILE;
|
||||||
bl CDBLock
|
} else {
|
||||||
mr r3, r31
|
result = CDB_ERROR_OK;
|
||||||
bl CDBRecordKeyIsValid
|
}
|
||||||
cmpwi r3, 0x0
|
}
|
||||||
bne L_81487ABC
|
CDBUnlock();
|
||||||
li r3, 0x2
|
return result;
|
||||||
bl CDBIsPrintDebugMessage
|
|
||||||
cmpwi r3, 0x0
|
|
||||||
beq L_81487AB4
|
|
||||||
li r3, 0x2
|
|
||||||
bl CDBReport_
|
|
||||||
lis r3, lbl_8166B5A8@ha
|
|
||||||
addi r3, r3, lbl_8166B5A8@l
|
|
||||||
crclr 4*cr1+eq
|
|
||||||
bl OSReport
|
|
||||||
L_81487AB4:
|
|
||||||
li r31, 0x5
|
|
||||||
b L_81487B14
|
|
||||||
L_81487ABC:
|
|
||||||
mr r3, r30
|
|
||||||
mr r4, r29
|
|
||||||
mr r5, r31
|
|
||||||
bl CDBRecordInitDescriptor
|
|
||||||
mr r3, r30
|
|
||||||
bl CDBRecordIsExistFile
|
|
||||||
cmpwi r3, 0x0
|
|
||||||
bne L_81487B10
|
|
||||||
li r3, 0x2
|
|
||||||
bl CDBIsPrintDebugMessage
|
|
||||||
cmpwi r3, 0x0
|
|
||||||
beq L_81487B08
|
|
||||||
li r3, 0x2
|
|
||||||
bl CDBReport_
|
|
||||||
lis r3, lbl_8166B5B8@ha
|
|
||||||
mr r4, r31
|
|
||||||
addi r3, r3, lbl_8166B5B8@l
|
|
||||||
crclr 4*cr1+eq
|
|
||||||
bl OSReport
|
|
||||||
L_81487B08:
|
|
||||||
li r31, 0x23
|
|
||||||
b L_81487B14
|
|
||||||
L_81487B10:
|
|
||||||
li r31, 0x0
|
|
||||||
L_81487B14:
|
|
||||||
bl CDBUnlock
|
|
||||||
mr r3, r31
|
|
||||||
lwz r31, 0x1c(r1)
|
|
||||||
lwz r30, 0x18(r1)
|
|
||||||
lwz r29, 0x14(r1)
|
|
||||||
lwz r0, 0x24(r1)
|
|
||||||
mtlr r0
|
|
||||||
addi r1, r1, 0x20
|
|
||||||
blr
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CDBErr CDBDatabaseSearchConditionsIsMatch(CDBSearchConditions* conditions, char* key) {
|
CDBErr CDBDatabaseSearchConditionsIsMatch(CDBSearchConditions* conditions, char* key) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#include <private/nhttp.h>
|
#include <private/nhttp.h>
|
||||||
|
|
||||||
const char NHTTPi_strMultipartBound[] = STR_POSTBOUND;
|
const char NHTTPi_strMultipartBound[24] = STR_POSTBOUND;
|
||||||
|
|
||||||
void* NHTTPi_alloc(u32 size, int align);
|
void* NHTTPi_alloc(u32 size, int align);
|
||||||
void NHTTPi_free(void* ptr);
|
void NHTTPi_free(void* ptr);
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -526,8 +526,8 @@ extern const u8 controlKeys[];
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" const u8 lbl_81616BD8[] = {0x0f, 0x21, 0x20, 0x08, 0x09, 0x0e, 0x19, 0x00, 0x21, 0x21, 0x00, 0x00};
|
extern "C" const u8 scCountryMap_EU[] = {0x0f, 0x21, 0x20, 0x08, 0x09, 0x0e, 0x19, 0x00, 0x21, 0x21, 0x00, 0x00};
|
||||||
extern "C" const u8 lbl_81616BE4[] = {0x0f, 0x21, 0x20, 0x04, 0x09, 0x0e, 0x11, 0x00, 0x21, 0x21, 0x00, 0x00};
|
extern "C" const u8 scCountryMap_NonEU[] = {0x0f, 0x21, 0x20, 0x04, 0x09, 0x0e, 0x11, 0x00, 0x21, 0x21, 0x00, 0x00};
|
||||||
|
|
||||||
const u8 controlKeys[] = {
|
const u8 controlKeys[] = {
|
||||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x01, 0x0a, 0x03,
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x09, 0x01, 0x0a, 0x03,
|
||||||
@@ -640,16 +640,16 @@ const u8 controlKeys[] = {
|
|||||||
nofralloc
|
nofralloc
|
||||||
cmpwi r4, 2
|
cmpwi r4, 2
|
||||||
bne setLanguage_L1
|
bne setLanguage_L1
|
||||||
lis r4, lbl_81616BD8@ha
|
lis r4, scCountryMap_EU@ha
|
||||||
lis r3, sInstance__Q39textinput5input10HKBManager@ha
|
lis r3, sInstance__Q39textinput5input10HKBManager@ha
|
||||||
addi r4, r4, lbl_81616BD8@l
|
addi r4, r4, scCountryMap_EU@l
|
||||||
lbzx r4, r4, r5
|
lbzx r4, r4, r5
|
||||||
addi r3, r3, sInstance__Q39textinput5input10HKBManager@l
|
addi r3, r3, sInstance__Q39textinput5input10HKBManager@l
|
||||||
b SetCountry__Q39textinput5input10HKBManagerFUc
|
b SetCountry__Q39textinput5input10HKBManagerFUc
|
||||||
setLanguage_L1:
|
setLanguage_L1:
|
||||||
lis r4, lbl_81616BE4@ha
|
lis r4, scCountryMap_NonEU@ha
|
||||||
lis r3, sInstance__Q39textinput5input10HKBManager@ha
|
lis r3, sInstance__Q39textinput5input10HKBManager@ha
|
||||||
addi r4, r4, lbl_81616BE4@l
|
addi r4, r4, scCountryMap_NonEU@l
|
||||||
lbzx r4, r4, r5
|
lbzx r4, r4, r5
|
||||||
addi r3, r3, sInstance__Q39textinput5input10HKBManager@l
|
addi r3, r3, sInstance__Q39textinput5input10HKBManager@l
|
||||||
b SetCountry__Q39textinput5input10HKBManagerFUc
|
b SetCountry__Q39textinput5input10HKBManagerFUc
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -10,10 +10,10 @@
|
|||||||
|
|
||||||
#pragma sym on
|
#pragma sym on
|
||||||
|
|
||||||
extern "C" const f32 lbl_816945C8 = 1000.0f;
|
extern "C" const f32 scTvrcMsPerSec = 1000.0f;
|
||||||
extern "C" const f64 lbl_816945D0 = 1000000000.0;
|
extern "C" const f64 scTvrcNsecPerSec = 1000000000.0;
|
||||||
extern "C" const f64 lbl_816945D8 = 1.0;
|
extern "C" const f64 scTvrcOne = 1.0;
|
||||||
extern "C" const f64 lbl_816945E0 = 4503599627370496.0;
|
extern "C" const f64 scTvrcFloatMagic = 4503599627370496.0;
|
||||||
|
|
||||||
extern "C" BOOL _isInitialized__7LibTVRC;
|
extern "C" BOOL _isInitialized__7LibTVRC;
|
||||||
extern "C" BOOL _isActive__7LibTVRC;
|
extern "C" BOOL _isActive__7LibTVRC;
|
||||||
@@ -53,11 +53,11 @@ extern "C" void __FTVRCLoop1Handler__7LibTVRCFP7OSAlarmP9OSContext();
|
|||||||
|
|
||||||
#pragma push
|
#pragma push
|
||||||
#pragma section data_type ".sdata"
|
#pragma section data_type ".sdata"
|
||||||
extern "C" char lbl_81696230[5] = {'T', 'V', 'R', '0', '\0'};
|
extern "C" char scTvrcFileHeader[5] = {'T', 'V', 'R', '0', '\0'};
|
||||||
#pragma pop
|
#pragma pop
|
||||||
|
|
||||||
namespace LibTVRC {
|
namespace LibTVRC {
|
||||||
const char* TVRC_FILE_HEADER = lbl_81696230;
|
const char* TVRC_FILE_HEADER = scTvrcFileHeader;
|
||||||
u32 __tienHoseiNsec = 1100;
|
u32 __tienHoseiNsec = 1100;
|
||||||
u32 _limitMilli = 400;
|
u32 _limitMilli = 400;
|
||||||
|
|
||||||
@@ -267,7 +267,7 @@ TVRCSendStartAsync_valid:
|
|||||||
bne TVRCSendStartAsync_custom
|
bne TVRCSendStartAsync_custom
|
||||||
lwz r6, _tvrcFile__7LibTVRC
|
lwz r6, _tvrcFile__7LibTVRC
|
||||||
lis r3, 2
|
lis r3, 2
|
||||||
lfs f1, lbl_816945C8
|
lfs f1, scTvrcMsPerSec
|
||||||
lis r4, 0x8000
|
lis r4, 0x8000
|
||||||
lfs f0, 0xc(r6)
|
lfs f0, 0xc(r6)
|
||||||
subi r0, r3, 0x17b8
|
subi r0, r3, 0x17b8
|
||||||
@@ -309,7 +309,7 @@ TVRCSendStartAsync_no_repeat:
|
|||||||
TVRCSendStartAsync_timing:
|
TVRCSendStartAsync_timing:
|
||||||
lfs f1, _onTimeRatio__7LibTVRC
|
lfs f1, _onTimeRatio__7LibTVRC
|
||||||
lis r4, 0x8000
|
lis r4, 0x8000
|
||||||
lfd f0, lbl_816945D0
|
lfd f0, scTvrcNsecPerSec
|
||||||
lis r27, 0x4330
|
lis r27, 0x4330
|
||||||
lwz r0, 0xf8(r4)
|
lwz r0, 0xf8(r4)
|
||||||
lis r3, 2
|
lis r3, 2
|
||||||
@@ -321,7 +321,7 @@ TVRCSendStartAsync_timing:
|
|||||||
divwu r26, r4, r0
|
divwu r26, r4, r0
|
||||||
fdiv f2, f1, f0
|
fdiv f2, f1, f0
|
||||||
stw r27, 8(r1)
|
stw r27, 8(r1)
|
||||||
lfd f1, lbl_816945E0
|
lfd f1, scTvrcFloatMagic
|
||||||
stw r25, 0xc(r1)
|
stw r25, 0xc(r1)
|
||||||
lfd f0, 8(r1)
|
lfd f0, 8(r1)
|
||||||
fsub f0, f0, f1
|
fsub f0, f0, f1
|
||||||
@@ -339,13 +339,13 @@ TVRCSendStartAsync_timing:
|
|||||||
bl __div2i
|
bl __div2i
|
||||||
lfs f2, _onTimeRatio__7LibTVRC
|
lfs f2, _onTimeRatio__7LibTVRC
|
||||||
lis r28, _tickWait__7LibTVRC@ha
|
lis r28, _tickWait__7LibTVRC@ha
|
||||||
lfd f1, lbl_816945D8
|
lfd f1, scTvrcOne
|
||||||
addi r29, r28, _tickWait__7LibTVRC@l
|
addi r29, r28, _tickWait__7LibTVRC@l
|
||||||
lfd f0, lbl_816945D0
|
lfd f0, scTvrcNsecPerSec
|
||||||
fsub f3, f1, f2
|
fsub f3, f1, f2
|
||||||
lfs f2, _Hz__7LibTVRC
|
lfs f2, _Hz__7LibTVRC
|
||||||
stw r25, 0x14(r1)
|
stw r25, 0x14(r1)
|
||||||
lfd f1, lbl_816945E0
|
lfd f1, scTvrcFloatMagic
|
||||||
fmul f3, f0, f3
|
fmul f3, f0, f3
|
||||||
stw r27, 0x10(r1)
|
stw r27, 0x10(r1)
|
||||||
lfd f0, 0x10(r1)
|
lfd f0, 0x10(r1)
|
||||||
|
|||||||
@@ -39,12 +39,12 @@
|
|||||||
extern "C" ipl::System::Arg smArg__Q23ipl6System;
|
extern "C" ipl::System::Arg smArg__Q23ipl6System;
|
||||||
extern "C" ipl::snd::System sSystem__Q23ipl3snd;
|
extern "C" ipl::snd::System sSystem__Q23ipl3snd;
|
||||||
extern "C" void initOnMemory__Q33ipl3snd6SystemFPCvPQ23EGG4HeapUl();
|
extern "C" void initOnMemory__Q33ipl3snd6SystemFPCvPQ23EGG4HeapUl();
|
||||||
extern "C" const f32 lbl_81694424;
|
extern "C" const f32 scOrthoLeft;
|
||||||
extern "C" const f32 lbl_81694428;
|
extern "C" const f32 scOrthoRight;
|
||||||
extern "C" const f32 lbl_8169442C;
|
extern "C" const f32 scOrthoBottom;
|
||||||
extern "C" const f32 lbl_81694430;
|
extern "C" const f32 scOrthoTop;
|
||||||
extern "C" const f32 lbl_81694434;
|
extern "C" const f32 scWideOrthoLeft;
|
||||||
extern "C" const f32 lbl_81694438;
|
extern "C" const f32 scWideOrthoRight;
|
||||||
extern "C" void* m_handle__Q23ipl11TVRCManager;
|
extern "C" void* m_handle__Q23ipl11TVRCManager;
|
||||||
extern "C" void _savegpr_27();
|
extern "C" void _savegpr_27();
|
||||||
extern "C" void _restgpr_27();
|
extern "C" void _restgpr_27();
|
||||||
@@ -1139,7 +1139,7 @@ namespace ipl {
|
|||||||
bl VISetBlack
|
bl VISetBlack
|
||||||
lwz r3, 0xb0(r28)
|
lwz r3, 0xb0(r28)
|
||||||
li r0, 1
|
li r0, 1
|
||||||
lfd f31, lbl_81694424-0xc
|
lfd f31, scOrthoLeft-0xc
|
||||||
lis r30, 0x4330
|
lis r30, 0x4330
|
||||||
lbz r29, 0x3d(r3)
|
lbz r29, 0x3d(r3)
|
||||||
lis r31, sSystem__Q23ipl3snd@ha
|
lis r31, sSystem__Q23ipl3snd@ha
|
||||||
@@ -1162,7 +1162,7 @@ namespace ipl {
|
|||||||
bl makeRawData__Q33ipl7utility11JpegDecoderFv
|
bl makeRawData__Q33ipl7utility11JpegDecoderFv
|
||||||
warning_run_no_jpeg:
|
warning_run_no_jpeg:
|
||||||
lwz r3, 0x74(r28)
|
lwz r3, 0x74(r28)
|
||||||
lfs f1, lbl_81694424-0x14
|
lfs f1, scOrthoLeft-0x14
|
||||||
lwz r27, 0(r3)
|
lwz r27, 0(r3)
|
||||||
stw r30, 8(r1)
|
stw r30, 8(r1)
|
||||||
fmr f2, f1
|
fmr f2, f1
|
||||||
@@ -1170,7 +1170,7 @@ namespace ipl {
|
|||||||
fmr f5, f1
|
fmr f5, f1
|
||||||
lhz r0, 6(r27)
|
lhz r0, 6(r27)
|
||||||
stw r3, 0xc(r1)
|
stw r3, 0xc(r1)
|
||||||
lfs f6, lbl_81694424-0x4
|
lfs f6, scOrthoLeft-0x4
|
||||||
lfd f0, 8(r1)
|
lfd f0, 8(r1)
|
||||||
stw r0, 0x14(r1)
|
stw r0, 0x14(r1)
|
||||||
fsubs f3, f0, f31
|
fsubs f3, f0, f31
|
||||||
@@ -1362,17 +1362,17 @@ namespace ipl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void System::getProjectionRect4x3(nw4r::ut::Rect* rect) {
|
void System::getProjectionRect4x3(nw4r::ut::Rect* rect) {
|
||||||
rect->left = *((volatile const f32*)&lbl_81694424);
|
rect->left = *((volatile const f32*)&scOrthoLeft);
|
||||||
rect->right = *((volatile const f32*)&lbl_81694428);
|
rect->right = *((volatile const f32*)&scOrthoRight);
|
||||||
rect->bottom = *((volatile const f32*)&lbl_8169442C);
|
rect->bottom = *((volatile const f32*)&scOrthoBottom);
|
||||||
rect->top = *((volatile const f32*)&lbl_81694430);
|
rect->top = *((volatile const f32*)&scOrthoTop);
|
||||||
}
|
}
|
||||||
|
|
||||||
void System::getProjectionRect16x9(nw4r::ut::Rect* rect) {
|
void System::getProjectionRect16x9(nw4r::ut::Rect* rect) {
|
||||||
rect->left = *((volatile const f32*)&lbl_81694434);
|
rect->left = *((volatile const f32*)&scWideOrthoLeft);
|
||||||
rect->right = *((volatile const f32*)&lbl_81694438);
|
rect->right = *((volatile const f32*)&scWideOrthoRight);
|
||||||
rect->bottom = *((volatile const f32*)&lbl_8169442C);
|
rect->bottom = *((volatile const f32*)&scOrthoBottom);
|
||||||
rect->top = *((volatile const f32*)&lbl_81694430);
|
rect->top = *((volatile const f32*)&scOrthoTop);
|
||||||
}
|
}
|
||||||
|
|
||||||
GXRenderModeObj* System::getRenderModeObj() {
|
GXRenderModeObj* System::getRenderModeObj() {
|
||||||
@@ -1516,11 +1516,11 @@ namespace ipl {
|
|||||||
|
|
||||||
#ifdef __MWERKS__
|
#ifdef __MWERKS__
|
||||||
#pragma force_active on
|
#pragma force_active on
|
||||||
extern "C" const f32 lbl_81694424 = -304.0f;
|
extern "C" const f32 scOrthoLeft = -304.0f;
|
||||||
extern "C" const f32 lbl_81694428 = 304.0f;
|
extern "C" const f32 scOrthoRight = 304.0f;
|
||||||
extern "C" const f32 lbl_8169442C = 228.0f;
|
extern "C" const f32 scOrthoBottom = 228.0f;
|
||||||
extern "C" const f32 lbl_81694430 = -228.0f;
|
extern "C" const f32 scOrthoTop = -228.0f;
|
||||||
extern "C" const f32 lbl_81694434 = -416.0f;
|
extern "C" const f32 scWideOrthoLeft = -416.0f;
|
||||||
extern "C" const f32 lbl_81694438 = 416.0f;
|
extern "C" const f32 scWideOrthoRight = 416.0f;
|
||||||
#pragma force_active off
|
#pragma force_active off
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user