{"type": "func", "start": 4299128472, "end": 4299128568, "name": "EditorUI::positionWithoutOffset", "pseudocode": "// \n// EditorUI::positionWithoutOffset from 0x1003f7e98 to 0x1003f7ef8 (96 bytes)\n// \n// 2 xrefs:\n// > EditorUI::findSnapObject_1 @ 0x1003f83f0\n// > EditorUI::findSnapObject_1 @ 0x1003f84ec\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\ncocos2d::CCPoint __fastcall EditorUI::positionWithoutOffset(EditorUI *a1, GameObject *a2)\n{\n  float32x2_t *v2; // x8\n  float32x2_t *v4; // x20\n  float32x2_t *v5; // x0\n  float32x2_t v8; // [xsp+0h] [xbp-20h] BYREF\n  cocos2d::CCPoint RelativeOffset; // 0:kr08_8.8\n  cocos2d::CCPoint v10; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint result; // 0:s0.4,4:s1.4\n\n  v4 = v2;\n  v10 = EditorUI::offsetForKey(a1, a2->m_objectID);\n  RelativeOffset = GameToolbox::getRelativeOffset(a2, v10);\n  v5 = (float32x2_t *)((__int64 (__fastcall *)(GameObject *, float, float))a2->getPosition)(\n                        a2,\n                        RelativeOffset.x,\n                        RelativeOffset.y);\n  result.x = sub_1000229F0(v5, &v8, v4).f32[0];\n  return result;\n}", "assembly": "; \n; EditorUI::positionWithoutOffset from 0x1003f7e98 to 0x1003f7ef8 (96 bytes)\n; \n; 2 xrefs:\n; > EditorUI::findSnapObject_1 @ 0x1003f83f0\n; > EditorUI::findSnapObject_1 @ 0x1003f84ec\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x1003f7e98\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003f7e9c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003f7ea0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003f7ea4\nMOV             X19, X1                                                ; +0x10, 0x1003f7ea8\nMOV             X20, X8                                                ; +0x14, 0x1003f7eac\nLDR             W1, [X1,#0x404]                                        ; +0x18, 0x1003f7eb0\nADD             X8, SP, #0x20+var_18                                   ; +0x1c, 0x1003f7eb4\nBL              EditorUI__offsetForKey                                 ; +0x20, 0x1003f7eb8\nMOV             X8, SP                                                 ; +0x24, 0x1003f7ebc\nADD             X1, SP, #0x20+var_18                                   ; +0x28, 0x1003f7ec0\nMOV             X0, X19                                                ; +0x2c, 0x1003f7ec4\nBL              GameToolbox__getRelativeOffset                         ; +0x30, 0x1003f7ec8\nLDR             X8, [X19]                                              ; +0x34, 0x1003f7ecc\nLDR             X8, [X8,#0xC0]                                         ; +0x38, 0x1003f7ed0\nMOV             X0, X19                                                ; +0x3c, 0x1003f7ed4\nBLR             X8                                                     ; +0x40, 0x1003f7ed8\nMOV             X1, SP                                                 ; +0x44, 0x1003f7edc\nMOV             X8, X20                                                ; +0x48, 0x1003f7ee0\nBL              sub_1000229F0                                          ; +0x4c, 0x1003f7ee4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x50, 0x1003f7ee8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x54, 0x1003f7eec\nADD             SP, SP, #0x30 ; '0'                                    ; +0x58, 0x1003f7ef0\nRET                                                                    ; +0x5c, 0x1003f7ef4", "xrefs": ["EditorUI::findSnapObject_1 @ 0x1003f83f0", "EditorUI::findSnapObject_1 @ 0x1003f84ec"], "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"}