{"type": "func", "start": 4295206240, "end": 4295206366, "name": "EditorUI::removeOffset", "pseudocode": "// \n// EditorUI::removeOffset from 0x10003a560 to 0x10003a5de (126 bytes)\n// \n// 0 xrefs:\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\nvoid __fastcall EditorUI::removeOffset(EditorUI *a1, GameObject *a2)\n{\n  __int64 v3; // rax\n  char v4; // [rsp+0h] [rbp-30h] BYREF\n  _BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF\n  cocos2d::CCPoint v6; // 0:xmm0_8.8\n  double v7; // 0:xmm0_8.8\n\n  v6 = EditorUI::offsetForKey((EditorUI *)v5, (int)a2);\n  *(cocos2d::CCPoint *)&v7 = GameToolbox::getRelativeOffset((GameObject *)&v4, v6);\n  v3 = ((__int64 (__fastcall *)(GameObject *, double))a2->getPosition)(a2, v7);\n  sub_10028CD00(v5, v3, &v4);\n  ((void (__fastcall *)(GameObject *, _BYTE *))a2->setPosition)(a2, v5);\n  GJBaseGameLayer::reorderObjectSection(a1->m_editorLayer, a2);\n}", "assembly": "; \n; EditorUI::removeOffset from 0x10003a560 to 0x10003a5de (126 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x10003a560\nmov     rbp, rsp                                                       ; +0x1, 0x10003a561\npush    r15                                                            ; +0x4, 0x10003a564\npush    r14                                                            ; +0x6, 0x10003a566\npush    r12                                                            ; +0x8, 0x10003a568\npush    rbx                                                            ; +0xa, 0x10003a56a\nsub     rsp, 10h                                                       ; +0xb, 0x10003a56b\nmov     rbx, rsi                                                       ; +0xf, 0x10003a56f\nmov     r14, rdi                                                       ; +0x12, 0x10003a572\nmov     edx, [rsi+404h]                                                ; +0x15, 0x10003a575\nlea     r15, [rbp+var_28]                                              ; +0x1b, 0x10003a57b\nmov     rdi, r15                                                       ; +0x1f, 0x10003a57f\ncall    EditorUI__offsetForKey                                         ; +0x22, 0x10003a582\nlea     r12, [rbp+var_30]                                              ; +0x27, 0x10003a587\nmov     rdi, r12                                                       ; +0x2b, 0x10003a58b\nmov     rsi, rbx                                                       ; +0x2e, 0x10003a58e\nmov     rdx, r15                                                       ; +0x31, 0x10003a591\ncall    GameToolbox__getRelativeOffset                                 ; +0x34, 0x10003a594\nmov     rax, [rbx]                                                     ; +0x39, 0x10003a599\nmov     rdi, rbx                                                       ; +0x3c, 0x10003a59c\ncall    qword ptr [rax+0C0h]                                           ; +0x3f, 0x10003a59f\nmov     rdi, r15                                                       ; +0x45, 0x10003a5a5\nmov     rsi, rax                                                       ; +0x48, 0x10003a5a8\nmov     rdx, r12                                                       ; +0x4b, 0x10003a5ab\ncall    sub_10028CD00                                                  ; +0x4e, 0x10003a5ae\nmov     rax, [rbx]                                                     ; +0x53, 0x10003a5b3\nmov     rdi, rbx                                                       ; +0x56, 0x10003a5b6\nmov     rsi, r15                                                       ; +0x59, 0x10003a5b9\ncall    qword ptr [rax+0B8h]                                           ; +0x5c, 0x10003a5bc\nmov     rdi, [r14+4E8h]                                                ; +0x62, 0x10003a5c2\nmov     rsi, rbx                                                       ; +0x69, 0x10003a5c9\ncall    GJBaseGameLayer__reorderObjectSection                          ; +0x6c, 0x10003a5cc\nadd     rsp, 10h                                                       ; +0x71, 0x10003a5d1\npop     rbx                                                            ; +0x75, 0x10003a5d5\npop     r12                                                            ; +0x76, 0x10003a5d6\npop     r14                                                            ; +0x78, 0x10003a5d8\npop     r15                                                            ; +0x7a, 0x10003a5da\npop     rbp                                                            ; +0x7c, 0x10003a5dc\nretn                                                                   ; +0x7d, 0x10003a5dd", "xrefs": [], "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"}