//
// EditorUI::onToggleTraceIn from 0x37c822 to 0x37c844 (34 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::onToggleTraceIn @ 0x508722
//
// 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::onToggleTraceIn(EditorUI *a1, GameObject *a2)
{
LevelEditorLayer *m_editorLayer; // r3
EffectGameObject *m_traceInObject; // r2
m_editorLayer = a1->m_editorLayer;
m_traceInObject = m_editorLayer->m_traceInObject;
if ( m_traceInObject && m_traceInObject->m_uniqueID == a2->m_uniqueID )
a2 = nullptr;
m_editorLayer->m_traceInObject = (EffectGameObject *)a2;
}