{"type": "func", "start": 4301330800, "end": 4301330862, "name": "EditorUI::getRelativeOffset", "pseudocode": "// \n// EditorUI::getRelativeOffset from 0x100611970 to 0x1006119ae (62 bytes)\n// \n// 2 xrefs:\n// > EditorUI::onCreateObject @ 0x100010fe5\n// > EditorUI::ccTouchEnded @ 0x10060ac27\n// \n// This function is hookable on this platform (idp: pc, 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 12:34:35 +0000\n// \n\n_QWORD *__fastcall EditorUI::getRelativeOffset(_QWORD *a1, __m128 a2, __int64 a3, __int64 a4)\n{\n  unsigned __int64 v4; // rax\n  unsigned __int64 v7[4]; // [rsp+0h] [rbp-20h] BYREF\n\n  v7[0] = v4;\n  offsetForKey((float *)v7, *(_DWORD *)(a4 + 1028));\n  GameToolbox::getRelativeOffset(a1, a4, v7, a2);\n  return a1;\n}", "assembly": "; \n; EditorUI::getRelativeOffset from 0x100611970 to 0x1006119ae (62 bytes)\n; \n; 2 xrefs:\n; > EditorUI::onCreateObject @ 0x100010fe5\n; > EditorUI::ccTouchEnded @ 0x10060ac27\n; \n; This function is hookable on this platform (idp: pc, 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 12:34:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100611970\nmov     rbp, rsp                                                       ; +0x1, 0x100611971\npush    r15                                                            ; +0x4, 0x100611974\npush    r14                                                            ; +0x6, 0x100611976\npush    rbx                                                            ; +0x8, 0x100611978\npush    rax                                                            ; +0x9, 0x100611979\nmov     rbx, rdx                                                       ; +0xa, 0x10061197a\nmov     r14, rdi                                                       ; +0xd, 0x10061197d\nmov     esi, [rdx+404h]                                                ; +0x10, 0x100611980\nlea     r15, [rbp+var_20]                                              ; +0x16, 0x100611986\nmov     rdi, r15                                                       ; +0x1a, 0x10061198a\ncall    offsetForKey                                                   ; +0x1d, 0x10061198d\nmov     rdi, r14                                                       ; +0x22, 0x100611992\nmov     rsi, rbx                                                       ; +0x25, 0x100611995\nmov     rdx, r15                                                       ; +0x28, 0x100611998\ncall    GameToolbox__getRelativeOffset                                 ; +0x2b, 0x10061199b\nmov     rax, r14                                                       ; +0x30, 0x1006119a0\nadd     rsp, 8                                                         ; +0x33, 0x1006119a3\npop     rbx                                                            ; +0x37, 0x1006119a7\npop     r14                                                            ; +0x38, 0x1006119a8\npop     r15                                                            ; +0x3a, 0x1006119aa\npop     rbp                                                            ; +0x3c, 0x1006119ac\nretn                                                                   ; +0x3d, 0x1006119ad", "xrefs": ["EditorUI::onCreateObject @ 0x100010fe5", "EditorUI::ccTouchEnded @ 0x10060ac27"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}