//
// LevelEditorLayer::getSelectedOrderChannel from 0x65ff94 to 0x65ffc4 (48 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x67b3d8
// > EditorUI::onPlayback @ 0x689480
// > ??> @ 0x88b00
//
// 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 LevelEditorLayer::getSelectedOrderChannel(LevelEditorLayer *a1)
{
EffectGameObject *m_playbackObject; // x0
m_playbackObject = a1->m_playbackObject;
if ( !m_playbackObject )
return 0;
if ( m_playbackObject->m_objectID == 31 )
return (int)m_playbackObject[1].setRotationY;
return m_playbackObject->m_channelValue;
}