{"type": "func", "start": 4736996, "end": 4737078, "name": "EditorUI::moveGamelayer", "pseudocode": "// \n// EditorUI::moveGamelayer from 0x4847e4 to 0x484836 (82 bytes)\n// \n// 3 xrefs:\n// > EditorUI::updatePanDecay @ 0x6efd42\n// > EditorUI::handleEditorAction @ 0x6f1aa2\n// > EditorUI::handleEditorAction @ 0x6f1ac2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:24 +0000\n// \n\nint __fastcall EditorUI::moveGamelayer(EditorUI *a1, int a2)\n{\n  int v4; // r5\n  void (__fastcall *v5)(int, _BYTE *); // r8\n  int v6; // r0\n  _BYTE v8[8]; // [sp+4h] [bp+0h] BYREF\n\n  v4 = *(_DWORD *)(*((_DWORD *)a1 + 236) + 2436);\n  v5 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);\n  v6 = (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 96))(v4);\n  cocos2d::CCPoint::operator+(v8, v6, a2);\n  v5(v4, v8);\n  return EditorUI::constrainGameLayerPosition(a1);\n}", "assembly": "; \n; EditorUI::moveGamelayer from 0x4847e4 to 0x484836 (82 bytes)\n; \n; 3 xrefs:\n; > EditorUI::updatePanDecay @ 0x6efd42\n; > EditorUI::handleEditorAction @ 0x6f1aa2\n; > EditorUI::handleEditorAction @ 0x6f1ac2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:24 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x4847e4\nSUB             SP, SP, #0x14                                          ; +0x4, 0x4847e8\nLDR             R4, =(__stack_chk_guard_ptr - 0x4847F6)                ; +0x6, 0x4847ea\nMOV             R6, R0                                                 ; +0x8, 0x4847ec\nMOV             R9, R1                                                 ; +0xa, 0x4847ee\nADD             R7, SP, #4                                             ; +0xc, 0x4847f0\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x4847f2\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x4847f4\nLDR             R3, [R4]                                               ; +0x12, 0x4847f6\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x4847f8\nLDR.W           R3, [R0,#0x3B0]                                        ; +0x16, 0x4847fa\nLDR.W           R5, [R3,#0x984]                                        ; +0x1a, 0x4847fe\nLDR             R3, [R5]                                               ; +0x1e, 0x484802\nMOV             R0, R5                                                 ; +0x20, 0x484804\nLDR.W           R8, [R3,#0x5C]                                         ; +0x22, 0x484806\nLDR             R3, [R3,#0x60]                                         ; +0x26, 0x48480a\nBLX             R3                                                     ; +0x28, 0x48480c\nMOV             R2, R9                                                 ; +0x2a, 0x48480e\nMOV             R1, R0                                                 ; +0x2c, 0x484810\nMOV             R0, R7                                                 ; +0x2e, 0x484812\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x30, 0x484814\nMOV             R0, R5                                                 ; +0x34, 0x484818\nMOV             R1, R7                                                 ; +0x36, 0x48481a\nBLX             R8                                                     ; +0x38, 0x48481c\nMOV             R0, R6; this                                           ; +0x3a, 0x48481e\nBL              _ZN8EditorUI26constrainGameLayerPositionEv; EditorUI::constrainGameLayerPosition(void) ; +0x3c, 0x484820\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x40, 0x484824\nLDR             R3, [R4]                                               ; +0x42, 0x484826\nCMP             R2, R3                                                 ; +0x44, 0x484828\nBEQ             loc_484830                                             ; +0x46, 0x48482a\nBLX             __stack_chk_fail                                       ; +0x48, 0x48482c\nADD             SP, SP, #0x14                                          ; +0x4c, 0x484830\nPOP.W           {R4-R9,PC}                                             ; +0x4e, 0x484832", "xrefs": ["EditorUI::updatePanDecay @ 0x6efd42", "EditorUI::handleEditorAction @ 0x6f1aa2", "EditorUI::handleEditorAction @ 0x6f1ac2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}