{"type": "func", "start": 4295160736, "end": 4295160848, "name": "EditorUI::moveGamelayer", "pseudocode": "// \n// EditorUI::moveGamelayer from 0x10002f3a0 to 0x10002f410 (112 bytes)\n// \n// 1 xrefs:\n// > EditorUI::keyDown @ 0x100050b99\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 __fastcall EditorUI::moveGamelayer(EditorUI *a1, cocos2d::CCPoint a2)\n{\n  cocos2d::CCLayer *m_objectLayer; // r15\n  __int64 v3; // rax\n  _BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_objectLayer = a1->m_editorLayer->m_objectLayer;\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCLayer *, double))m_objectLayer->getPosition)(m_objectLayer, *(double *)&a2);\n  sub_10028CCE0(v4, v3);\n  ((void (__fastcall *)(cocos2d::CCLayer *, _BYTE *))m_objectLayer->setPosition)(m_objectLayer, v4);\n  EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);\n}", "assembly": "; \n; EditorUI::moveGamelayer from 0x10002f3a0 to 0x10002f410 (112 bytes)\n; \n; 1 xrefs:\n; > EditorUI::keyDown @ 0x100050b99\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\npush    rbp                                                            ; +0x0, 0x10002f3a0\nmov     rbp, rsp                                                       ; +0x1, 0x10002f3a1\npush    r15                                                            ; +0x4, 0x10002f3a4\npush    r14                                                            ; +0x6, 0x10002f3a6\npush    r12                                                            ; +0x8, 0x10002f3a8\npush    rbx                                                            ; +0xa, 0x10002f3aa\nsub     rsp, 10h                                                       ; +0xb, 0x10002f3ab\nmov     rbx, rsi                                                       ; +0xf, 0x10002f3af\nmov     r14, rdi                                                       ; +0x12, 0x10002f3b2\nmov     rax, [rdi+4E8h]                                                ; +0x15, 0x10002f3b5\nmov     r15, [rax+0EB8h]                                               ; +0x1c, 0x10002f3bc\nmov     rax, [r15]                                                     ; +0x23, 0x10002f3c3\nmov     rdi, r15                                                       ; +0x26, 0x10002f3c6\ncall    qword ptr [rax+0C0h]                                           ; +0x29, 0x10002f3c9\nlea     r12, [rbp+var_28]                                              ; +0x2f, 0x10002f3cf\nmov     rdi, r12                                                       ; +0x33, 0x10002f3d3\nmov     rsi, rax                                                       ; +0x36, 0x10002f3d6\nmov     rdx, rbx                                                       ; +0x39, 0x10002f3d9\ncall    sub_10028CCE0                                                  ; +0x3c, 0x10002f3dc\nmov     rax, [r15]                                                     ; +0x41, 0x10002f3e1\nmov     rdi, r15                                                       ; +0x44, 0x10002f3e4\nmov     rsi, r12                                                       ; +0x47, 0x10002f3e7\ncall    qword ptr [rax+0B8h]                                           ; +0x4a, 0x10002f3ea\nmovss   xmm0, cs:dword_10081501C                                       ; +0x50, 0x10002f3f0\nmov     rdi, r14                                                       ; +0x58, 0x10002f3f8\nmovaps  xmm1, xmm0                                                     ; +0x5b, 0x10002f3fb\ncall    EditorUI__constrainGameLayerPosition                           ; +0x5e, 0x10002f3fe\nadd     rsp, 10h                                                       ; +0x63, 0x10002f403\npop     rbx                                                            ; +0x67, 0x10002f407\npop     r12                                                            ; +0x68, 0x10002f408\npop     r14                                                            ; +0x6a, 0x10002f40a\npop     r15                                                            ; +0x6c, 0x10002f40c\npop     rbp                                                            ; +0x6e, 0x10002f40e\nretn                                                                   ; +0x6f, 0x10002f40f", "xrefs": ["EditorUI::keyDown @ 0x100050b99"], "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"}