//
// LevelEditorLayer::getSelectedOrderChannel from 0x78c5a8 to 0x78c5d8 (48 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x79e0c8
// > EditorUI::onPlayback @ 0x7c2898
// > ??> @ 0xb5438
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:53:27 +0000
//
__int64 __fastcall LevelEditorLayer::getSelectedOrderChannel(LevelEditorLayer *this)
{
__int64 v1; // x0
v1 = *((_QWORD *)this + 1852);
if ( !v1 )
return 0;
if ( *(_DWORD *)(v1 + 1028) == 31 )
return *(unsigned int *)(*(_QWORD *)(v1 + 1840) + 376LL);
return *(unsigned int *)(v1 + 1776);
}