//
// EditorUI::onGroupDown from 0x14011f4b0 to 0x14011f4da (42 bytes)
//
// 1 xrefs:
// > EditorUI::init @ 0x1400e133e
//
// 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::onGroupDown(EditorUI *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer *m_editorLayer; // rdx
int v3; // eax
m_editorLayer = a1->m_editorLayer;
v3 = m_editorLayer->m_currentLayer - 1;
if ( v3 < -1 )
LOWORD(v3) = -1;
m_editorLayer->m_currentLayer = v3;
EditorUI::updateGroupIDLabel(a1);
}