//
// EditorUI::moveGamelayer from 0x1400e2d50 to 0x1400e2dc3 (115 bytes)
//
// 3 xrefs:
// > EditorUI::keyDown @ 0x140125979
// > ??> @ 0x1406c8c28
// > ??> @ 0x1406c8c34
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2)
{
cocos2d::CCLayer *m_objectLayer; // rdi
__int64 v4; // rax
char v5; // [rsp+30h] [rbp+8h] BYREF
m_objectLayer = a1->m_editorLayer->m_objectLayer;
v4 = (__int64)m_objectLayer->getPosition_0(m_objectLayer);
cocos2d::CCPoint::operator+(v4, &v5);
m_objectLayer->setPosition_0(m_objectLayer, (const cocos2d::CCPoint *)&v5);
EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);
}