{"type": "func", "start": 4295040304, "end": 4295040530, "name": "EditorUI::createUndoObject", "pseudocode": "// \n// EditorUI::createUndoObject from 0x100011d30 to 0x100011e12 (226 bytes)\n// \n// 11 xrefs:\n// > EditorUI::startFreeMoveTouch @ 0x100609b39\n// > EditorUI::moveObjectCall_1 @ 0x10060e4dc\n// > EditorUI::transformObjectCall_1 @ 0x10060ed43\n// > EditorUI::alignObjectsOnAxis @ 0x100610f5d\n// > EditorUI::alignObjects @ 0x1006114d7\n// > EditorUI::angleChangeBegin @ 0x100611c0c\n// > sub_100611C20 @ 0x100611c33\n// > EditorUI::scaleChangeBegin @ 0x1006130bc\n// > sub_1006130D0 @ 0x1006130e3\n// > EditorUI::transformChangeBegin @ 0x10061396c\n// > sub_100613980 @ 0x100613993\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:18:52 +0000\n// \n\n__int64 __fastcall EditorUI::createUndoObject(__int64 a1, unsigned int a2, char a3)\n{\n  __int64 v4; // rax\n  __int64 v5; // r15\n  __int64 v6; // r12\n  __int128 v7; // xmm1\n\n  if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) )\n    v4 = UndoObject::createWithTransformObjects(*(_QWORD *)(a1 + 896), a2);\n  else\n    v4 = UndoObject::create(*(_QWORD *)(a1 + 1496), a2);\n  v5 = v4;\n  if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) )\n  {\n    v6 = sub_1006139A0(a1);\n    v7 = *(_OWORD *)(v6 + 16);\n    *(_OWORD *)(v5 + 84) = *(_OWORD *)v6;\n    *(_OWORD *)(v5 + 100) = v7;\n    *(_QWORD *)(v5 + 116) = *(_QWORD *)(v6 + 32);\n    sub_100278300(v5 + 124, v6 + 40);\n    sub_100278300(v5 + 132, v6 + 48);\n    sub_100278300(v5 + 140, v6 + 56);\n    *(_QWORD *)(v5 + 148) = *(_QWORD *)(v6 + 64);\n    *(_BYTE *)(v5 + 81) = 1;\n  }\n  if ( !a3 )\n    LevelEditorLayer::addToUndoList(*(_QWORD *)(a1 + 1440), v5, 0);\n  return v5;\n}", "assembly": "; \n; EditorUI::createUndoObject from 0x100011d30 to 0x100011e12 (226 bytes)\n; \n; 11 xrefs:\n; > EditorUI::startFreeMoveTouch @ 0x100609b39\n; > EditorUI::moveObjectCall_1 @ 0x10060e4dc\n; > EditorUI::transformObjectCall_1 @ 0x10060ed43\n; > EditorUI::alignObjectsOnAxis @ 0x100610f5d\n; > EditorUI::alignObjects @ 0x1006114d7\n; > EditorUI::angleChangeBegin @ 0x100611c0c\n; > sub_100611C20 @ 0x100611c33\n; > EditorUI::scaleChangeBegin @ 0x1006130bc\n; > sub_1006130D0 @ 0x1006130e3\n; > EditorUI::transformChangeBegin @ 0x10061396c\n; > sub_100613980 @ 0x100613993\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:18:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x100011d30\nmov     rbp, rsp                                                       ; +0x1, 0x100011d31\npush    r15                                                            ; +0x4, 0x100011d34\npush    r14                                                            ; +0x6, 0x100011d36\npush    r12                                                            ; +0x8, 0x100011d38\npush    rbx                                                            ; +0xa, 0x100011d3a\nmov     r14d, edx                                                      ; +0xb, 0x100011d3b\nmov     r15d, esi                                                      ; +0xe, 0x100011d3e\nmov     rbx, rdi                                                       ; +0x11, 0x100011d41\nmov     rdi, [rdi+380h]                                                ; +0x14, 0x100011d44\ncall    sub_1007FEF90                                                  ; +0x1b, 0x100011d4b\ntest    eax, eax                                                       ; +0x20, 0x100011d50\njz      short loc_100011D65                                            ; +0x22, 0x100011d52\nmov     rdi, [rbx+380h]                                                ; +0x24, 0x100011d54\nmov     esi, r15d                                                      ; +0x2b, 0x100011d5b\ncall    UndoObject__createWithTransformObjects                         ; +0x2e, 0x100011d5e\njmp     short loc_100011D74                                            ; +0x33, 0x100011d63\nmov     rdi, [rbx+5D8h]                                                ; +0x35, 0x100011d65\nmov     esi, r15d                                                      ; +0x3c, 0x100011d6c\ncall    UndoObject__create                                             ; +0x3f, 0x100011d6f\nmov     r15, rax                                                       ; +0x44, 0x100011d74\nmov     rdi, [rbx+318h]                                                ; +0x47, 0x100011d77\nmov     rax, [rdi]                                                     ; +0x4e, 0x100011d7e\ncall    qword ptr [rax+160h]                                           ; +0x51, 0x100011d81\ntest    al, al                                                         ; +0x57, 0x100011d87\njz      short loc_100011DF0                                            ; +0x59, 0x100011d89\nmov     rdi, rbx                                                       ; +0x5b, 0x100011d8b\ncall    sub_1006139A0                                                  ; +0x5e, 0x100011d8e\nmov     r12, rax                                                       ; +0x63, 0x100011d93\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x66, 0x100011d96\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x69, 0x100011d99\nmovups  xmmword ptr [r15+54h], xmm0                                    ; +0x6d, 0x100011d9d\nmovups  xmmword ptr [r15+64h], xmm1                                    ; +0x72, 0x100011da2\nmov     rax, [rax+20h]                                                 ; +0x77, 0x100011da7\nmov     [r15+74h], rax                                                 ; +0x7b, 0x100011dab\nlea     rdi, [r15+7Ch]                                                 ; +0x7f, 0x100011daf\nlea     rsi, [r12+28h]                                                 ; +0x83, 0x100011db3\ncall    sub_100278300                                                  ; +0x88, 0x100011db8\nlea     rdi, [r15+84h]                                                 ; +0x8d, 0x100011dbd\nlea     rsi, [r12+30h]                                                 ; +0x94, 0x100011dc4\ncall    sub_100278300                                                  ; +0x99, 0x100011dc9\nlea     rdi, [r15+8Ch]                                                 ; +0x9e, 0x100011dce\nlea     rsi, [r12+38h]                                                 ; +0xa5, 0x100011dd5\ncall    sub_100278300                                                  ; +0xaa, 0x100011dda\nmov     rax, [r12+40h]                                                 ; +0xaf, 0x100011ddf\nmov     [r15+94h], rax                                                 ; +0xb4, 0x100011de4\nmov     byte ptr [r15+51h], 1                                          ; +0xbb, 0x100011deb\ntest    r14b, r14b                                                     ; +0xc0, 0x100011df0\njnz     short loc_100011E06                                            ; +0xc3, 0x100011df3\nmov     rdi, [rbx+5A0h]                                                ; +0xc5, 0x100011df5\nmov     rsi, r15                                                       ; +0xcc, 0x100011dfc\nxor     edx, edx                                                       ; +0xcf, 0x100011dff\ncall    LevelEditorLayer__addToUndoList                                ; +0xd1, 0x100011e01\nmov     rax, r15                                                       ; +0xd6, 0x100011e06\npop     rbx                                                            ; +0xd9, 0x100011e09\npop     r12                                                            ; +0xda, 0x100011e0a\npop     r14                                                            ; +0xdc, 0x100011e0c\npop     r15                                                            ; +0xde, 0x100011e0e\npop     rbp                                                            ; +0xe0, 0x100011e10\nretn                                                                   ; +0xe1, 0x100011e11", "xrefs": ["EditorUI::startFreeMoveTouch @ 0x100609b39", "EditorUI::moveObjectCall_1 @ 0x10060e4dc", "EditorUI::transformObjectCall_1 @ 0x10060ed43", "EditorUI::alignObjectsOnAxis @ 0x100610f5d", "EditorUI::alignObjects @ 0x1006114d7", "EditorUI::angleChangeBegin @ 0x100611c0c", "sub_100611C20 @ 0x100611c33", "EditorUI::scaleChangeBegin @ 0x1006130bc", "sub_1006130D0 @ 0x1006130e3", "EditorUI::transformChangeBegin @ 0x10061396c", "sub_100613980 @ 0x100613993"], "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"}