//
// LevelEditorLayer::getSelectedEditorOrder from 0x100360870 to 0x1003608a4 (52 bytes)
//
// 1 xrefs:
// > EditorUI::onPlayback @ 0x1003c7768
//
// 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
//
int __fastcall LevelEditorLayer::getSelectedEditorOrder(LevelEditorLayer *a1)
{
EffectGameObject *m_playbackObject; // x8
int *p_m_ordValue; // x8
m_playbackObject = a1->m_playbackObject;
if ( !m_playbackObject )
return 0;
if ( m_playbackObject->m_objectID == 31 )
p_m_ordValue = (int *)&m_playbackObject[1].getRotationX + 1;
else
p_m_ordValue = &m_playbackObject->m_ordValue;
return *p_m_ordValue;
}