//
// LevelEditorLayer::getSelectedEffectPos from 0x461b24 to 0x461b56 (50 bytes)
//
// 1 xrefs:
// > EditorUI::onPlayback @ 0x48243e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:53 +0000
//
LevelEditorLayer *__fastcall LevelEditorLayer::getSelectedEffectPos(LevelEditorLayer *this, int a2)
{
_DWORD *v3; // r1
const cocos2d::CCPoint *v4; // r1
v3 = *(_DWORD **)(a2 + 12212);
if ( !v3 )
{
v4 = (const cocos2d::CCPoint *)&flt_D2B8B8;
goto LABEL_6;
}
if ( v3[223] != 31 )
{
v4 = (const cocos2d::CCPoint *)(v3 + 400);
LABEL_6:
cocos2d::CCPoint::CCPoint(this, v4);
return this;
}
(*(void (**)(void))(*v3 + 680))();
return this;
}