{"type": "func", "start": 4299081216, "end": 4299081284, "name": "EditorUI::getRelativeOffset", "pseudocode": "// \n// EditorUI::getRelativeOffset from 0x1003ec600 to 0x1003ec644 (68 bytes)\n// \n// 1 xrefs:\n// > EditorUI::ccTouchEnded @ 0x1003f92bc\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::getRelativeOffset(EditorUI *a1, GameObject *a2)\n{\n  cocos2d::CCPoint RelativeOffset; // 0:kr08_8.8\n  cocos2d::CCPoint v6; // 0:s0.4,4:s1.4\n  cocos2d::CCPoint result; // 0:s0.4,4:s1.4\n\n  v6 = EditorUI::offsetForKey(a1, a2->m_objectID);\n  RelativeOffset = GameToolbox::getRelativeOffset(a2, v6);\n  result.x = RelativeOffset.x;\n  result.y = RelativeOffset.y;\n  return result;\n}", "assembly": "; \n; EditorUI::getRelativeOffset from 0x1003ec600 to 0x1003ec644 (68 bytes)\n; \n; 1 xrefs:\n; > EditorUI::ccTouchEnded @ 0x1003f92bc\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, 0x1003ec600\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003ec604\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003ec608\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003ec60c\nMOV             X19, X1                                                ; +0x10, 0x1003ec610\nMOV             X20, X8                                                ; +0x14, 0x1003ec614\nLDR             W1, [X1,#0x404]                                        ; +0x18, 0x1003ec618\nADD             X8, SP, #0x20+var_18                                   ; +0x1c, 0x1003ec61c\nBL              EditorUI__offsetForKey                                 ; +0x20, 0x1003ec620\nADD             X1, SP, #0x20+var_18                                   ; +0x24, 0x1003ec624\nMOV             X8, X20                                                ; +0x28, 0x1003ec628\nMOV             X0, X19                                                ; +0x2c, 0x1003ec62c\nBL              GameToolbox__getRelativeOffset                         ; +0x30, 0x1003ec630\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x34, 0x1003ec634\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x38, 0x1003ec638\nADD             SP, SP, #0x30 ; '0'                                    ; +0x3c, 0x1003ec63c\nRET                                                                    ; +0x40, 0x1003ec640", "xrefs": ["EditorUI::ccTouchEnded @ 0x1003f92bc"], "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"}