{"type": "func", "start": 4301323840, "end": 4301323966, "name": "EditorUI::removeOffset", "pseudocode": "// \n// EditorUI::removeOffset from 0x10060fe40 to 0x10060febe (126 bytes)\n// \n// 1 xrefs:\n// > EditorUI::onCreateObject @ 0x1000111c6\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:34 +0000\n// \n\n__int64 __fastcall EditorUI::removeOffset(__int64 a1, int *a2, __m128 a3)\n{\n  unsigned __int64 *v3; // rax\n  unsigned __int64 v5; // [rsp+0h] [rbp-30h] BYREF\n  unsigned __int64 v6[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  offsetForKey((float *)v6, a2[257]);\n  GameToolbox::getRelativeOffset(&v5, (__int64)a2, v6, a3);\n  v3 = (unsigned __int64 *)(*(__int64 (__fastcall **)(int *))(*(_QWORD *)a2 + 192LL))(a2);\n  sub_100278370((double *)v6, v3, &v5);\n  (*(void (__fastcall **)(int *, unsigned __int64 *))(*(_QWORD *)a2 + 184LL))(a2, v6);\n  return GJBaseGameLayer::reorderObjectSection(*(_QWORD *)(a1 + 1440), (__int64)a2);\n}", "assembly": "; \n; EditorUI::removeOffset from 0x10060fe40 to 0x10060febe (126 bytes)\n; \n; 1 xrefs:\n; > EditorUI::onCreateObject @ 0x1000111c6\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:34 +0000\n; \npush    rbp                                                            ; +0x0, 0x10060fe40\nmov     rbp, rsp                                                       ; +0x1, 0x10060fe41\npush    r15                                                            ; +0x4, 0x10060fe44\npush    r14                                                            ; +0x6, 0x10060fe46\npush    r12                                                            ; +0x8, 0x10060fe48\npush    rbx                                                            ; +0xa, 0x10060fe4a\nsub     rsp, 10h                                                       ; +0xb, 0x10060fe4b\nmov     rbx, rsi                                                       ; +0xf, 0x10060fe4f\nmov     r14, rdi                                                       ; +0x12, 0x10060fe52\nmov     esi, [rsi+404h]                                                ; +0x15, 0x10060fe55\nlea     r15, [rbp+var_28]                                              ; +0x1b, 0x10060fe5b\nmov     rdi, r15                                                       ; +0x1f, 0x10060fe5f\ncall    offsetForKey                                                   ; +0x22, 0x10060fe62\nlea     r12, [rbp+var_30]                                              ; +0x27, 0x10060fe67\nmov     rdi, r12                                                       ; +0x2b, 0x10060fe6b\nmov     rsi, rbx                                                       ; +0x2e, 0x10060fe6e\nmov     rdx, r15                                                       ; +0x31, 0x10060fe71\ncall    GameToolbox__getRelativeOffset                                 ; +0x34, 0x10060fe74\nmov     rax, [rbx]                                                     ; +0x39, 0x10060fe79\nmov     rdi, rbx                                                       ; +0x3c, 0x10060fe7c\ncall    qword ptr [rax+0C0h]                                           ; +0x3f, 0x10060fe7f\nmov     rdi, r15                                                       ; +0x45, 0x10060fe85\nmov     rsi, rax                                                       ; +0x48, 0x10060fe88\nmov     rdx, r12                                                       ; +0x4b, 0x10060fe8b\ncall    sub_100278370                                                  ; +0x4e, 0x10060fe8e\nmov     rax, [rbx]                                                     ; +0x53, 0x10060fe93\nmov     rdi, rbx                                                       ; +0x56, 0x10060fe96\nmov     rsi, r15                                                       ; +0x59, 0x10060fe99\ncall    qword ptr [rax+0B8h]                                           ; +0x5c, 0x10060fe9c\nmov     rdi, [r14+5A0h]                                                ; +0x62, 0x10060fea2\nmov     rsi, rbx                                                       ; +0x69, 0x10060fea9\ncall    GJBaseGameLayer__reorderObjectSection                          ; +0x6c, 0x10060feac\nadd     rsp, 10h                                                       ; +0x71, 0x10060feb1\npop     rbx                                                            ; +0x75, 0x10060feb5\npop     r12                                                            ; +0x76, 0x10060feb6\npop     r14                                                            ; +0x78, 0x10060feb8\npop     r15                                                            ; +0x7a, 0x10060feba\npop     rbp                                                            ; +0x7c, 0x10060febc\nretn                                                                   ; +0x7d, 0x10060febd", "xrefs": ["EditorUI::onCreateObject @ 0x1000111c6"], "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"}