// // CustomizeObjectLayer::onClose from 0x4612c0 to 0x46132e (110 bytes) // // 4 xrefs: // > CustomizeObjectLayer::onBreakApart @ 0x46133a // > CustomizeObjectLayer::keyBackClicked @ 0x461356 // > CustomizeObjectLayer::onLiveEdit @ 0x461b70 // > CustomizeObjectLayer::recreateLayer @ 0x463d54 // // 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 CustomizeObjectLayer::onClose(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { CCTextInputNode *m_textInput; // r0 GameManager *v4; // r0 a1->m_customColorInput->m_delegate = nullptr; a1->m_customColorInput->onClickTrackNode(a1->m_customColorInput, 0); m_textInput = a1->m_textInput; if ( m_textInput ) { m_textInput->onClickTrackNode(m_textInput, 0); a1->m_textInput->m_delegate = nullptr; } GameManager::sharedState()->m_currentColorChannel = a1->m_customColorChannel; v4 = GameManager::sharedState(); EditorUI::updateObjectInfoLabel(v4->m_levelEditorLayer->m_editorUI); a1->setKeypadEnabled(a1, 0); a1->removeFromParentAndCleanup(a1, 1); }