{"type": "func", "start": 7395676, "end": 7395854, "name": "EditorUI::moveObject", "pseudocode": "// \n// EditorUI::moveObject from 0x70d95c to 0x70da0e (178 bytes)\n// \n// 16 xrefs:\n// > EditorUI::ccTouchMoved @ 0x6f07f0\n// > EditorUI::ccTouchMoved @ 0x6f0808\n// > EditorUI::ccTouchEnded @ 0x6f0fde\n// > EditorUI::repositionObjectsToCenter @ 0x6f29ae\n// > EditorUI::rotateObjects @ 0x70db0c\n// > EditorUI::transformObject @ 0x70e144\n// > EditorUI::flipObjectsX @ 0x70e270\n// > EditorUI::flipObjectsY @ 0x70e398\n// > EditorUI::moveObjectCall @ 0x70ed76\n// > EditorUI::moveObjectCall @ 0x70eda6\n// > EditorUI::alignObjectsOnAxis @ 0x70f316\n// > EditorUI::alignObjectsOnAxis @ 0x70f32a\n// > EditorUI::alignObjects @ 0x70f5e8\n// > EditorUI::alignObjects @ 0x70f5fe\n// > EditorUI::scaleObjects @ 0x70f98e\n// > EditorUI::transformObjects @ 0x70fddc\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:57:42 +0000\n// \n\nint __fastcall EditorUI::moveObject(int result, GameObject *a2, int a3)\n{\n  int v4; // r6\n  int v6; // r0\n  _BOOL4 isSpeedObject; // r7\n  GameObject *v8; // r1\n  _BYTE v9[8]; // [sp+4h] [bp-14h] BYREF\n  float v10[2]; // [sp+Ch] [bp-Ch] BYREF\n\n  v4 = result;\n  if ( a2 )\n  {\n    v6 = (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 96))(a2);\n    cocos2d::CCPoint::operator+(v10, v6, a3);\n    EditorUI::getLimitedPosition((cocos2d::CCPoint *)v9, v4, v10);\n    (*(void (__fastcall **)(GameObject *, _BYTE *))(*(_DWORD *)a2 + 92))(a2, v9);\n    (*(void (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 688))(a2);\n    GJBaseGameLayer::reorderObjectSection(*(GJBaseGameLayer **)(v4 + 944), a2);\n    isSpeedObject = GameObject::isSpeedObject(a2);\n    if ( *((_DWORD *)a2 + 223) == 747 )\n    {\n      v8 = *((GameObject **)a2 + 413);\n      if ( v8 )\n        GJBaseGameLayer::reorderObjectSection(*(GJBaseGameLayer **)(v4 + 944), v8);\n    }\n    result = LevelEditorLayer::objectMoved(*(_DWORD *)(v4 + 944), a2);\n    if ( isSpeedObject || (result = (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 840))(a2)) != 0 )\n      *(_BYTE *)(v4 + 645) = 1;\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::moveObject from 0x70d95c to 0x70da0e (178 bytes)\n; \n; 16 xrefs:\n; > EditorUI::ccTouchMoved @ 0x6f07f0\n; > EditorUI::ccTouchMoved @ 0x6f0808\n; > EditorUI::ccTouchEnded @ 0x6f0fde\n; > EditorUI::repositionObjectsToCenter @ 0x6f29ae\n; > EditorUI::rotateObjects @ 0x70db0c\n; > EditorUI::transformObject @ 0x70e144\n; > EditorUI::flipObjectsX @ 0x70e270\n; > EditorUI::flipObjectsY @ 0x70e398\n; > EditorUI::moveObjectCall @ 0x70ed76\n; > EditorUI::moveObjectCall @ 0x70eda6\n; > EditorUI::alignObjectsOnAxis @ 0x70f316\n; > EditorUI::alignObjectsOnAxis @ 0x70f32a\n; > EditorUI::alignObjects @ 0x70f5e8\n; > EditorUI::alignObjects @ 0x70f5fe\n; > EditorUI::scaleObjects @ 0x70f98e\n; > EditorUI::transformObjects @ 0x70fddc\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:57:42 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x70D966)                ; +0x0, 0x70d95c\nPUSH.W          {R4-R8,LR}                                             ; +0x2, 0x70d95e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x70d962\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x70d964\nMOV             R7, R2                                                 ; +0xa, 0x70d966\nSUB             SP, SP, #0x18                                          ; +0xc, 0x70d968\nLDR             R2, [R3]                                               ; +0xe, 0x70d96a\nMOV             R6, R0                                                 ; +0x10, 0x70d96c\nMOV             R4, R1                                                 ; +0x12, 0x70d96e\nMOV             R5, R3                                                 ; +0x14, 0x70d970\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x16, 0x70d972\nCMP             R1, #0                                                 ; +0x18, 0x70d974\nBEQ             loc_70D9FC                                             ; +0x1a, 0x70d976\nLDR             R3, [R1]                                               ; +0x1c, 0x70d978\nMOV             R0, R1                                                 ; +0x1e, 0x70d97a\nADD.W           R8, SP, #0x18+var_C                                    ; +0x20, 0x70d97c\nLDR             R3, [R3,#0x60]                                         ; +0x24, 0x70d980\nBLX             R3                                                     ; +0x26, 0x70d982\nMOV             R2, R7                                                 ; +0x28, 0x70d984\nADD             R7, SP, #0x18+var_14                                   ; +0x2a, 0x70d986\nMOV             R1, R0                                                 ; +0x2c, 0x70d988\nMOV             R0, R8                                                 ; +0x2e, 0x70d98a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x30, 0x70d98c\nMOV             R2, R8                                                 ; +0x34, 0x70d990\nMOV             R0, R7                                                 ; +0x36, 0x70d992\nMOV             R1, R6                                                 ; +0x38, 0x70d994\nBL              _ZN8EditorUI18getLimitedPositionEN7cocos2d7CCPointE; EditorUI::getLimitedPosition(cocos2d::CCPoint) ; +0x3a, 0x70d996\nLDR             R3, [R4]                                               ; +0x3e, 0x70d99a\nMOV             R1, R7                                                 ; +0x40, 0x70d99c\nMOV             R0, R4                                                 ; +0x42, 0x70d99e\nLDR             R3, [R3,#0x5C]                                         ; +0x44, 0x70d9a0\nBLX             R3                                                     ; +0x46, 0x70d9a2\nLDR             R3, [R4]                                               ; +0x48, 0x70d9a4\nMOV             R0, R4                                                 ; +0x4a, 0x70d9a6\nLDR.W           R3, [R3,#0x2B0]                                        ; +0x4c, 0x70d9a8\nBLX             R3                                                     ; +0x50, 0x70d9ac\nLDR.W           R0, [R6,#0x3B0]; this                                  ; +0x52, 0x70d9ae\nMOV             R1, R4; GameObject *                                   ; +0x56, 0x70d9b2\nBL              _ZN15GJBaseGameLayer20reorderObjectSectionEP10GameObject; GJBaseGameLayer::reorderObjectSection(GameObject *) ; +0x58, 0x70d9b4\nMOV             R0, R4; this                                           ; +0x5c, 0x70d9b8\nBL              _ZN10GameObject13isSpeedObjectEv; GameObject::isSpeedObject(void) ; +0x5e, 0x70d9ba\nLDR.W           R2, [R4,#0x37C]                                        ; +0x62, 0x70d9be\nMOVW            R3, #0x2EB                                             ; +0x66, 0x70d9c2\nCMP             R2, R3                                                 ; +0x6a, 0x70d9c6\nMOV             R7, R0                                                 ; +0x6c, 0x70d9c8\nBNE             loc_70D9DA                                             ; +0x6e, 0x70d9ca\nLDR.W           R1, [R4,#0x674]; GameObject *                          ; +0x70, 0x70d9cc\nCBZ             R1, loc_70D9DA                                         ; +0x74, 0x70d9d0\nLDR.W           R0, [R6,#0x3B0]; this                                  ; +0x76, 0x70d9d2\nBL              _ZN15GJBaseGameLayer20reorderObjectSectionEP10GameObject; GJBaseGameLayer::reorderObjectSection(GameObject *) ; +0x7a, 0x70d9d6\nLDR.W           R0, [R6,#0x3B0]; this                                  ; +0x7e, 0x70d9da\nMOV             R1, R4; GameObject *                                   ; +0x82, 0x70d9de\nBL              _ZN16LevelEditorLayer11objectMovedEP10GameObject; LevelEditorLayer::objectMoved(GameObject *) ; +0x84, 0x70d9e0\nCBZ             R7, loc_70D9EE                                         ; +0x88, 0x70d9e4\nMOVS            R3, #1                                                 ; +0x8a, 0x70d9e6\nSTRB.W          R3, [R6,#0x285]                                        ; +0x8c, 0x70d9e8\nB               loc_70D9FC                                             ; +0x90, 0x70d9ec\nLDR             R3, [R4]                                               ; +0x92, 0x70d9ee\nMOV             R0, R4                                                 ; +0x94, 0x70d9f0\nLDR.W           R3, [R3,#0x348]                                        ; +0x96, 0x70d9f2\nBLX             R3                                                     ; +0x9a, 0x70d9f6\nCMP             R0, #0                                                 ; +0x9c, 0x70d9f8\nBNE             loc_70D9E6                                             ; +0x9e, 0x70d9fa\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xa0, 0x70d9fc\nLDR             R3, [R5]                                               ; +0xa2, 0x70d9fe\nCMP             R2, R3                                                 ; +0xa4, 0x70da00\nBEQ             loc_70DA08                                             ; +0xa6, 0x70da02\nBLX             __stack_chk_fail                                       ; +0xa8, 0x70da04\nADD             SP, SP, #0x18                                          ; +0xac, 0x70da08\nPOP.W           {R4-R8,PC}                                             ; +0xae, 0x70da0a", "xrefs": ["EditorUI::ccTouchMoved @ 0x6f07f0", "EditorUI::ccTouchMoved @ 0x6f0808", "EditorUI::ccTouchEnded @ 0x6f0fde", "EditorUI::repositionObjectsToCenter @ 0x6f29ae", "EditorUI::rotateObjects @ 0x70db0c", "EditorUI::transformObject @ 0x70e144", "EditorUI::flipObjectsX @ 0x70e270", "EditorUI::flipObjectsY @ 0x70e398", "EditorUI::moveObjectCall @ 0x70ed76", "EditorUI::moveObjectCall @ 0x70eda6", "EditorUI::alignObjectsOnAxis @ 0x70f316", "EditorUI::alignObjectsOnAxis @ 0x70f32a", "EditorUI::alignObjects @ 0x70f5e8", "EditorUI::alignObjects @ 0x70f5fe", "EditorUI::scaleObjects @ 0x70f98e", "EditorUI::transformObjects @ 0x70fddc"], "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"}