// // CustomizeObjectLayer::onBreakApart from 0x1001f7f90 to 0x1001f8054 (196 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x1001f6d40 // // 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::onBreakApart(CustomizeObjectLayer *a1, cocos2d::CCObject *a2) { CCTextInputNode *m_customColorInput; // rdi CCTextInputNode *m_textInput; // rdi GameManager *v5; // rax GameManager *v6; // rax if ( a1->m_targetObject ) { 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; v5 = GameManager::sharedState(); EditorUI::updateObjectInfoLabel(v5->m_levelEditorLayer->m_editorUI); ((void (__fastcall *)(CustomizeObjectLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0); ((void (__fastcall *)(CustomizeObjectLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1); v6 = GameManager::sharedState(); LevelEditorLayer::breakApartTextObject(v6->m_levelEditorLayer, (TextGameObject *)a1->m_targetObject); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source