{"type": "func", "start": 5369638224, "end": 5369638339, "name": "EditorUI::moveGamelayer", "pseudocode": "// \n// EditorUI::moveGamelayer from 0x1400e2d50 to 0x1400e2dc3 (115 bytes)\n// \n// 3 xrefs:\n// > EditorUI::keyDown @ 0x140125979\n// > <???> @ 0x1406c8c28\n// > <???> @ 0x1406c8c34\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2)\n{\n  cocos2d::CCLayer *m_objectLayer; // rdi\n  __int64 v4; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  m_objectLayer = a1->m_editorLayer->m_objectLayer;\n  v4 = (__int64)m_objectLayer->getPosition_0(m_objectLayer);\n  cocos2d::CCPoint::operator+(v4, &v5);\n  m_objectLayer->setPosition_0(m_objectLayer, (const cocos2d::CCPoint *)&v5);\n  EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);\n}", "assembly": "; \n; EditorUI::moveGamelayer from 0x1400e2d50 to 0x1400e2dc3 (115 bytes)\n; \n; 3 xrefs:\n; > EditorUI::keyDown @ 0x140125979\n; > <???> @ 0x1406c8c28\n; > <???> @ 0x1406c8c34\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1400e2d50\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400e2d55\npush    rdi                                                            ; +0xa, 0x1400e2d5a\nsub     rsp, 20h                                                       ; +0xb, 0x1400e2d5b\nmov     rax, [rcx+500h]                                                ; +0xf, 0x1400e2d5f\nmov     rsi, rcx                                                       ; +0x16, 0x1400e2d66\nmov     rbx, rdx                                                       ; +0x19, 0x1400e2d69\nmov     rdi, [rax+0FE8h]                                               ; +0x1c, 0x1400e2d6c\nmov     rcx, rdi                                                       ; +0x23, 0x1400e2d73\nmov     rax, [rdi]                                                     ; +0x26, 0x1400e2d76\ncall    qword ptr [rax+0C8h]                                           ; +0x29, 0x1400e2d79\nmov     r8, rbx                                                        ; +0x2f, 0x1400e2d7f\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x32, 0x1400e2d82\nmov     rcx, rax                                                       ; +0x37, 0x1400e2d87\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x3a, 0x1400e2d8a\nmov     rax, [rdi]                                                     ; +0x40, 0x1400e2d90\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x43, 0x1400e2d93\nmov     rcx, rdi                                                       ; +0x48, 0x1400e2d98\ncall    qword ptr [rax+0B8h]                                           ; +0x4b, 0x1400e2d9b\nmovss   xmm1, cs:dword_1406239E8                                       ; +0x51, 0x1400e2da1\nmov     rcx, rsi                                                       ; +0x59, 0x1400e2da9\nmovaps  xmm2, xmm1                                                     ; +0x5c, 0x1400e2dac\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x5f, 0x1400e2daf\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x64, 0x1400e2db4\nadd     rsp, 20h                                                       ; +0x69, 0x1400e2db9\npop     rdi                                                            ; +0x6d, 0x1400e2dbd\njmp     EditorUI__constrainGameLayerPosition                           ; +0x6e, 0x1400e2dbe", "xrefs": ["EditorUI::keyDown @ 0x140125979", "<???> @ 0x1406c8c28", "<???> @ 0x1406c8c34"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}