//
// EditorUI::onCreateButton from 0x37dfc2 to 0x37dfe8 (38 bytes)
//
// 0 xrefs:
//
// 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 EditorUI::onCreateButton(EditorUI *a1, cocos2d::CCObject *a2)
{
int m_nTag; // r3
m_nTag = a2[7].m_nTag;
if ( a1->m_selectedObjectIndex == m_nTag )
m_nTag = 0;
a1->m_selectedObjectIndex = m_nTag;
EditorUI::updateCreateMenu(a1, 0);
EditorUI::updateGridNodeSize(a1);
}