{"type": "func", "start": 3651288, "end": 3651372, "name": "EditorUI::anchorPointMoved", "pseudocode": "// \n// EditorUI::anchorPointMoved from 0x37b6d8 to 0x37b72c (84 bytes)\n// \n// 2 xrefs:\n// > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b734\n// > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b73c\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::anchorPointMoved(EditorUI *a1, cocos2d::CCPoint a2)\n{\n  float x; // r7\n  int v4; // r2\n  bool v5; // r3\n  int v6; // r2\n  bool v7; // r3\n  cocos2d::CCPoint v8; // [sp+4h] [bp-10h] BYREF\n\n  x = a2.x;\n  cocos2d::CCNode::convertToNodeSpace(&v8, a1->m_editorLayer->m_objectLayer, (const cocos2d::CCPoint *)LODWORD(a2.x));\n  cocos2d::CCPoint::operator=((PlayerObject *)LODWORD(x), COERCE_FLOAT(&v8), v4, v5);\n  cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_pivotPoint, x, v6, v7);\n  a1->m_transformControl->setPosition(a1->m_transformControl, &a1->m_pivotPoint);\n}", "assembly": "; \n; EditorUI::anchorPointMoved from 0x37b6d8 to 0x37b72c (84 bytes)\n; \n; 2 xrefs:\n; > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b734\n; > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b73c\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            {R4-R7,LR}                                             ; +0x0, 0x37b6d8\nSUB             SP, SP, #0x14                                          ; +0x2, 0x37b6da\nLDR             R4, =(__stack_chk_guard_ptr - 0x37B6E8)                ; +0x4, 0x37b6dc\nADD             R5, SP, #0x14+var_10                                   ; +0x6, 0x37b6de\nMOV             R7, R1                                                 ; +0x8, 0x37b6e0\nMOV             R6, R0                                                 ; +0xa, 0x37b6e2\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x37b6e4\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x37b6e6\nMOV             R2, R7                                                 ; +0x10, 0x37b6e8\nLDR             R3, [R4]                                               ; +0x12, 0x37b6ea\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x37b6ec\nLDR.W           R3, [R0,#0x340]                                        ; +0x16, 0x37b6ee\nMOV             R0, R5; this                                           ; +0x1a, 0x37b6f2\nLDR.W           R1, [R3,#0x9F0]; cocos2d::CCPoint *                    ; +0x1c, 0x37b6f4\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x20, 0x37b6f8\nMOV             R1, R5                                                 ; +0x24, 0x37b6fc\nADD.W           R5, R6, #0x208                                         ; +0x26, 0x37b6fe\nMOV             R0, R7                                                 ; +0x2a, 0x37b702\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2c, 0x37b704\nMOV             R1, R7                                                 ; +0x30, 0x37b708\nMOV             R0, R5                                                 ; +0x32, 0x37b70a\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x34, 0x37b70c\nLDR.W           R0, [R6,#0x218]                                        ; +0x38, 0x37b710\nMOV             R1, R5                                                 ; +0x3c, 0x37b714\nLDR             R3, [R0]                                               ; +0x3e, 0x37b716\nLDR             R3, [R3,#0x5C]                                         ; +0x40, 0x37b718\nBLX             R3                                                     ; +0x42, 0x37b71a\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x44, 0x37b71c\nLDR             R3, [R4]                                               ; +0x46, 0x37b71e\nCMP             R2, R3                                                 ; +0x48, 0x37b720\nBEQ             loc_37B728                                             ; +0x4a, 0x37b722\nBLX             __stack_chk_fail                                       ; +0x4c, 0x37b724\nADD             SP, SP, #0x14                                          ; +0x50, 0x37b728\nPOP             {R4-R7,PC}                                             ; +0x52, 0x37b72a", "xrefs": ["`non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b734", "`non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b73c"], "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"}