//
// EditorUI::moveGamelayer from 0x10002f3a0 to 0x10002f410 (112 bytes)
//
// 1 xrefs:
// > EditorUI::keyDown @ 0x100050b99
//
// 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 __fastcall EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2)
{
cocos2d::CCLayer *m_objectLayer; // r15
__int64 v3; // rax
_BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF
m_objectLayer = a1->m_editorLayer->m_objectLayer;
v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, double))m_objectLayer->getPosition)(m_objectLayer, *(double *)&a2);
sub_10028CCE0(v4, v3);
((void (__fastcall *)(cocos2d::CCLayer *, _BYTE *))m_objectLayer->setPosition)(m_objectLayer, v4);
EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);
}