//
// LevelEditorLayer::getSelectedEffectPos from 0x1000c2360 to 0x1000c23ae (78 bytes)
//
// 1 xrefs:
// > EditorUI::onPlayback @ 0x100008635
//
// This function is hookable on this platform (idp: pc, 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:20:34 +0000
//
__int64 __fastcall LevelEditorLayer::getSelectedEffectPos(__int64 a1, __int64 a2)
{
int *v2; // rsi
int *v3; // rsi
v2 = *(int **)(a2 + 14816);
if ( !v2 )
{
v3 = &dword_100BE1180;
LABEL_6:
sub_1002782D0(a1, v3);
return a1;
}
if ( v2[257] != 31 )
{
v3 = v2 + 446;
goto LABEL_6;
}
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1360LL))(a1);
return a1;
}