{"type": "func", "start": 4295073136, "end": 4295073263, "name": "EditorUI::editObjectOptions", "pseudocode": "// \n// EditorUI::editObjectOptions from 0x100019d70 to 0x100019def (127 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x10060c9d6\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:55 +0000\n// \n\n__int64 __fastcall EditorUI::editObjectOptions(_QWORD *a1)\n{\n  __int64 result; // rax\n  __int64 v3; // rdi\n  __int64 v4; // rax\n  __int64 v5; // rax\n\n  if ( a1[187] || (result = sub_1007FEF90(a1[112]), (_DWORD)result) )\n  {\n    v3 = a1[180];\n    ++*(_DWORD *)(v3 + 14720);\n    v3 += 14704;\n    EditorBuildStats::noteAction(v3);\n    v4 = EditorSFXManager::sharedState(v3);\n    EditorSFXManager::playAction(v4, 108, 107);\n    v5 = SetupObjectOptionsPopup::create(a1[187], a1[112]);\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::editObjectOptions from 0x100019d70 to 0x100019def (127 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x10060c9d6\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:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x100019d70\nmov     rbp, rsp                                                       ; +0x1, 0x100019d71\npush    rbx                                                            ; +0x4, 0x100019d74\npush    rax                                                            ; +0x5, 0x100019d75\nmov     rbx, rdi                                                       ; +0x6, 0x100019d76\ncmp     qword ptr [rdi+5D8h], 0                                        ; +0x9, 0x100019d79\njnz     short loc_100019D93                                            ; +0x11, 0x100019d81\nmov     rdi, [rbx+380h]                                                ; +0x13, 0x100019d83\ncall    sub_1007FEF90                                                  ; +0x1a, 0x100019d8a\ntest    eax, eax                                                       ; +0x1f, 0x100019d8f\njz      short loc_100019DE8                                            ; +0x21, 0x100019d91\nmov     rdi, [rbx+5A0h]                                                ; +0x23, 0x100019d93\ninc     dword ptr [rdi+3980h]                                          ; +0x2a, 0x100019d9a\nadd     rdi, 3970h                                                     ; +0x30, 0x100019da0\ncall    EditorBuildStats__noteAction                                   ; +0x37, 0x100019da7\ncall    EditorSFXManager__sharedState                                  ; +0x3c, 0x100019dac\nmov     rdi, rax                                                       ; +0x41, 0x100019db1\nmov     esi, 6Ch ; 'l'                                                 ; +0x44, 0x100019db4\nmov     edx, 6Bh ; 'k'                                                 ; +0x49, 0x100019db9\ncall    EditorSFXManager__playAction                                   ; +0x4e, 0x100019dbe\nmov     rdi, [rbx+5D8h]                                                ; +0x53, 0x100019dc3\nmov     rsi, [rbx+380h]                                                ; +0x5a, 0x100019dca\ncall    SetupObjectOptionsPopup__create                                ; +0x61, 0x100019dd1\nmov     rcx, [rax]                                                     ; +0x66, 0x100019dd6\nmov     rdi, rax                                                       ; +0x69, 0x100019dd9\nadd     rsp, 8                                                         ; +0x6c, 0x100019ddc\npop     rbx                                                            ; +0x70, 0x100019de0\npop     rbp                                                            ; +0x71, 0x100019de1\njmp     qword ptr [rcx+520h]                                           ; +0x72, 0x100019de2\nadd     rsp, 8                                                         ; +0x78, 0x100019de8\npop     rbx                                                            ; +0x7c, 0x100019dec\npop     rbp                                                            ; +0x7d, 0x100019ded\nretn                                                                   ; +0x7e, 0x100019dee", "xrefs": ["EditorUI::handleEditorAction @ 0x10060c9d6"], "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"}