Compare commits

...

1 Commits

Author SHA1 Message Date
coah
15b065c8e6 cleanup(iplSettingSelect): name exit-sequence helpers
Rename Matching-only fn_* exit/reboot helpers to descriptive
snake_case names; update mangled symbols.txt entries.
2026-10-01 17:10:14 -05:00
3 changed files with 19 additions and 19 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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();