{"type": "func", "start": 12583592, "end": 12583712, "name": "EditorUI::positionWithoutOffset", "pseudocode": "// \n// EditorUI::positionWithoutOffset from 0xc002a8 to 0xc00320 (120 bytes)\n// \n// 3 xrefs:\n// > EditorUI::findSnapObject @ 0x7c7694\n// > EditorUI::findSnapObject @ 0x7c77c8\n// > <???> @ 0xc1a20\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:48 +0000\n// \n\n__int64 *__usercall EditorUI::positionWithoutOffset@<X0>(__int64 *__return_ptr a1@<X8>, GameObject *a2@<X1>)\n{\n  __int64 v5; // x0\n  long double v6; // q0\n  _BYTE v8[8]; // [xsp+30h] [xbp+30h] BYREF\n\n  EditorUI::getRelativeOffset((cocos2d::CCPoint *)v8, a2);\n  v5 = (*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)a2 + 192LL))(a2);\n  cocos2d::CCPoint::operator-(a1, v5, v8, v6);\n  return a1;\n}", "assembly": "; \n; EditorUI::positionWithoutOffset from 0xc002a8 to 0xc00320 (120 bytes)\n; \n; 3 xrefs:\n; > EditorUI::findSnapObject @ 0x7c7694\n; > EditorUI::findSnapObject @ 0x7c77c8\n; > <???> @ 0xc1a20\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:03:48 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xc002a8\nMOV             X29, SP                                                ; +0x4, 0xc002ac\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xc002b0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc002b4\nADD             X20, X29, #0x40+var_10                                 ; +0x10, 0xc002b8\nSTP             X21, X22, [SP,#0x40+var_20]                            ; +0x14, 0xc002bc\nMOV             X22, X1                                                ; +0x18, 0xc002c0\nMOV             X21, X8                                                ; +0x1c, 0xc002c4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc002c8\nMOV             X8, X20                                                ; +0x24, 0xc002cc\nLDR             X2, [X19]                                              ; +0x28, 0xc002d0\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x2c, 0xc002d4\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x30, 0xc002d8\nLDR             X1, [X22]                                              ; +0x34, 0xc002dc\nMOV             X0, X22                                                ; +0x38, 0xc002e0\nLDR             X1, [X1,#0xC0]                                         ; +0x3c, 0xc002e4\nBLR             X1                                                     ; +0x40, 0xc002e8\nMOV             X1, X20                                                ; +0x44, 0xc002ec\nMOV             X8, X21                                                ; +0x48, 0xc002f0\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x4c, 0xc002f4\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x50, 0xc002f8\nMOV             X0, X21                                                ; +0x54, 0xc002fc\nLDR             X1, [X19]                                              ; +0x58, 0xc00300\nCMP             X2, X1                                                 ; +0x5c, 0xc00304\nB.NE            loc_C0031C                                             ; +0x60, 0xc00308\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x64, 0xc0030c\nLDP             X21, X22, [SP,#0x40+var_20]                            ; +0x68, 0xc00310\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x6c, 0xc00314\nRET                                                                    ; +0x70, 0xc00318\nBL              .__stack_chk_fail                                      ; +0x74, 0xc0031c", "xrefs": ["EditorUI::findSnapObject @ 0x7c7694", "EditorUI::findSnapObject @ 0x7c77c8", "<???> @ 0xc1a20"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}