// // CustomizeObjectLayer::onLiveEdit from 0x1001f7d00 to 0x1001f7dc3 (195 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x1001f6514 // // 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 __fastcall CustomizeObjectLayer::onLiveEdit(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { int ActiveMode; // ebx CCTextInputNode *m_customColorInput; // rdi CCTextInputNode *m_textInput; // rdi GameManager *v6; // rax GameManager *v7; // rax ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 1); m_customColorInput = a1->m_customColorInput; m_customColorInput->m_delegate = nullptr; ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_customColorInput->onClickTrackNode)(m_customColorInput, 0); m_textInput = a1->m_textInput; if ( m_textInput ) { ((void (__fastcall *)(CCTextInputNode *, _QWORD))m_textInput->onClickTrackNode)(m_textInput, 0); a1->m_textInput->m_delegate = nullptr; } GameManager::sharedState()->m_currentColorChannel = a1->m_customColorChannel; v6 = GameManager::sharedState(); EditorUI::updateObjectInfoLabel(v6->m_levelEditorLayer->m_editorUI); ((void (__fastcall *)(CustomizeObjectLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(CustomizeObjectLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); v7 = GameManager::sharedState(); EditorUI::showLiveColorSelectForModeSpecial(v7->m_levelEditorLayer->m_editorUI, ActiveMode); }
GD Web Decomp Icon

GD Web Decomp

Raw Source