//
// EditorUI::moveGamelayer from 0x1401ae930 to 0x1401ae9a3 (115 bytes)
//
// 3 xrefs:
// > EditorUI::handleEditorAction @ 0x1401c2569
// > EditorUI::updatePanDecay @ 0x1401c5304
// > ??> @ 0x140919e2c
//
// 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 11:27:54 +0000
//
__int64 __fastcall EditorUI::moveGamelayer(__int64 a1, __int64 a2)
{
__int64 v4; // rdi
__int64 v5; // rax
char v7; // [rsp+30h] [rbp+8h] BYREF
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 1512) + 4296LL);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 200LL))(v4);
cocos2d::CCPoint::operator+(v5, &v7, a2);
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v4 + 184LL))(v4, &v7);
return EditorUI::constrainGameLayerPosition(a1);
}