//
// EditorUI::moveGamelayer from 0x100475598 to 0x100475614 (124 bytes)
//
// 2 xrefs:
// > EditorUI::handleEditorAction @ 0x100163058
// > EditorUI::updatePanDecay @ 0x100164190
//
// 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 11:05:40 +0000
//
__int64 __fastcall EditorUI::moveGamelayer(__int64 a1, float32x2_t *a2)
{
__int64 v4; // x21
float32x2_t *v5; // x0
double v6; // d0
float32x2_t v8; // [xsp+8h] [xbp-28h] BYREF
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 3920LL);
v5 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4);
*(float32x2_t *)&v6 = sub_100026318(v5, a2, &v8);
(*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v4 + 184LL))(v4, &v8, v6);
return EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);
}