{"type": "func", "start": 7394596, "end": 7394658, "name": "EditorUI::positionWithoutOffset", "pseudocode": "// \n// EditorUI::positionWithoutOffset from 0x70d524 to 0x70d562 (62 bytes)\n// \n// 2 xrefs:\n// > EditorUI::findSnapObject @ 0x48507a\n// > EditorUI::findSnapObject @ 0x485158\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\nEditorUI *__fastcall EditorUI::positionWithoutOffset(EditorUI *this, GameObject *a2, int a3)\n{\n  int v5; // r0\n  _BYTE v7[8]; // [sp+4h] [bp-10h] BYREF\n\n  EditorUI::getRelativeOffset((EditorUI *)v7, a2, a3);\n  v5 = (*(int (__fastcall **)(int))(*(_DWORD *)a3 + 96))(a3);\n  cocos2d::CCPoint::operator-(this, v5, v7);\n  return this;\n}", "assembly": "; \n; EditorUI::positionWithoutOffset from 0x70d524 to 0x70d562 (62 bytes)\n; \n; 2 xrefs:\n; > EditorUI::findSnapObject @ 0x48507a\n; > EditorUI::findSnapObject @ 0x485158\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; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x70d524\nSUB             SP, SP, #0x14                                          ; +0x2, 0x70d526\nLDR             R4, =(__stack_chk_guard_ptr - 0x70D534)                ; +0x4, 0x70d528\nADD             R6, SP, #0x14+var_10                                   ; +0x6, 0x70d52a\nMOV             R7, R2                                                 ; +0x8, 0x70d52c\nMOV             R5, R0                                                 ; +0xa, 0x70d52e\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xc, 0x70d530\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xe, 0x70d532\nMOV             R0, R6; this                                           ; +0x10, 0x70d534\nLDR             R3, [R4]                                               ; +0x12, 0x70d536\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x70d538\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x16, 0x70d53a\nLDR             R3, [R7]                                               ; +0x1a, 0x70d53e\nMOV             R0, R7                                                 ; +0x1c, 0x70d540\nLDR             R3, [R3,#0x60]                                         ; +0x1e, 0x70d542\nBLX             R3                                                     ; +0x20, 0x70d544\nMOV             R2, R6                                                 ; +0x22, 0x70d546\nMOV             R1, R0                                                 ; +0x24, 0x70d548\nMOV             R0, R5                                                 ; +0x26, 0x70d54a\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x28, 0x70d54c\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x2c, 0x70d550\nLDR             R3, [R4]                                               ; +0x2e, 0x70d552\nMOV             R0, R5                                                 ; +0x30, 0x70d554\nCMP             R2, R3                                                 ; +0x32, 0x70d556\nBEQ             loc_70D55E                                             ; +0x34, 0x70d558\nBLX             __stack_chk_fail                                       ; +0x36, 0x70d55a\nADD             SP, SP, #0x14                                          ; +0x3a, 0x70d55e\nPOP             {R4-R7,PC}                                             ; +0x3c, 0x70d560", "xrefs": ["EditorUI::findSnapObject @ 0x48507a", "EditorUI::findSnapObject @ 0x485158"], "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"}