// // LevelSettingsLayer::onClose from 0x1403217e0 to 0x14032191a (314 bytes) // // 4 xrefs: // > LevelSettingsLayer::onLiveEdit @ 0x140321932 // > LevelSettingsLayer::keyBackClicked @ 0x140322189 // > LevelSettingsLayer::init @ 0x1403200ba // > @ 0x1406d4c4c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void LevelSettingsLayer::onClose(LevelSettingsLayer *a1, cocos2d::CCObject *a2) { CCTextInputNode *m_orderInput; // rax CCTextInputNode *m_channelInput; // rax LevelSettingsObject *m_settingsObject; // rcx SongSelectNode *m_songSelectNode; // rax LevelSettingsObject *v7; // rcx LevelSettingsDelegate *m_delegate; // rcx _BOOL8 v9; // rdx m_orderInput = a1->m_orderInput; if ( m_orderInput ) { m_orderInput->m_delegate = nullptr; a1->m_orderInput->onClickTrackNode(a1->m_orderInput, 0); } m_channelInput = a1->m_channelInput; if ( m_channelInput ) { m_channelInput->m_delegate = nullptr; a1->m_channelInput->onClickTrackNode(a1->m_channelInput, 0); } m_settingsObject = a1->m_settingsObject; if ( !m_settingsObject->m_startsWithStartPos ) { m_songSelectNode = a1->m_songSelectNode; if ( m_songSelectNode && m_songSelectNode->m_songChanged ) { if ( m_songSelectNode->m_isCustomSong ) { m_settingsObject->m_level->m_songID = m_songSelectNode->m_selectedSongID; } else { m_settingsObject->m_level->m_songID = 0; a2 = a1->m_songSelectNode; a1->m_settingsObject->m_level->m_audioTrack = a2[6].m_uID; } a1->m_settingsObject->m_guidelinesUpdated = 1; } v7 = a1->m_settingsObject; if ( v7->m_startSpeed != a1->m_speed || v7->m_guidelinesUpdated ) v7->m_guidelinesUpdated = 0; m_delegate = a1->m_delegate; if ( m_delegate ) ((void (__fastcall *)(LevelSettingsDelegate *, cocos2d::CCObject *))m_delegate->levelSettingsUpdated)( m_delegate, a2); } a1->setKeypadEnabled(a1, 0); LOBYTE(v9) = 1; a1->removeFromParentAndCleanup(a1, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source