{"type": "func", "start": 4299672524, "end": 4299672648, "name": "EditorUI::editObjectOptions", "pseudocode": "// \n// EditorUI::editObjectOptions from 0x10047cbcc to 0x10047cc48 (124 bytes)\n// \n// 1 xrefs:\n// > EditorUI::handleEditorAction @ 0x1001633e0\n// \n// This function is hookable on this platform (idp: arm, 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 11:05:44 +0000\n// \n\n__int64 __fastcall EditorUI::editObjectOptions(__int64 *a1)\n{\n  __int64 result; // x0\n  __int64 v3; // x8\n  __n128 v4; // q0\n  __int64 v5; // x0\n  char *v6; // x0\n\n  if ( a1[187] || (result = sub_1002E757C(a1[112]), (_DWORD)result) )\n  {\n    v3 = a1[180];\n    ++*(_DWORD *)(v3 + 14720);\n    EditorBuildStats::noteAction(v3 + 14704);\n    v5 = EditorSFXManager::sharedState(v4);\n    EditorSFXManager::playAction(v5, 108, 107);\n    v6 = sub_10004244C(a1[187], a1[112]);\n    return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v6 + 1312LL))(v6);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::editObjectOptions from 0x10047cbcc to 0x10047cc48 (124 bytes)\n; \n; 1 xrefs:\n; > EditorUI::handleEditorAction @ 0x1001633e0\n; \n; This function is hookable on this platform (idp: arm, 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 11:05:44 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10047cbcc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10047cbd0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10047cbd4\nMOV             X19, X0                                                ; +0xc, 0x10047cbd8\nLDR             X8, [X0,#0x5D8]                                        ; +0x10, 0x10047cbdc\nCBNZ            X8, loc_10047CBF0                                      ; +0x14, 0x10047cbe0\nLDR             X0, [X19,#0x380]                                       ; +0x18, 0x10047cbe4\nBL              sub_1002E757C                                          ; +0x1c, 0x10047cbe8\nCBZ             W0, loc_10047CC3C                                      ; +0x20, 0x10047cbec\nLDR             X8, [X19,#0x5A0]                                       ; +0x24, 0x10047cbf0\nMOV             W9, #0x3970                                            ; +0x28, 0x10047cbf4\nLDR             W10, [X8,#0x3980]                                      ; +0x2c, 0x10047cbf8\nADD             W10, W10, #1                                           ; +0x30, 0x10047cbfc\nSTR             W10, [X8,#0x3980]                                      ; +0x34, 0x10047cc00\nADD             X0, X8, X9                                             ; +0x38, 0x10047cc04\nBL              EditorBuildStats__noteAction                           ; +0x3c, 0x10047cc08\nBL              EditorSFXManager__sharedState                          ; +0x40, 0x10047cc0c\nMOV             W1, #0x6C ; 'l'                                        ; +0x44, 0x10047cc10\nMOV             W2, #0x6B ; 'k'                                        ; +0x48, 0x10047cc14\nBL              EditorSFXManager__playAction                           ; +0x4c, 0x10047cc18\nLDR             X0, [X19,#0x5D8]                                       ; +0x50, 0x10047cc1c\nLDR             X1, [X19,#0x380]                                       ; +0x54, 0x10047cc20\nBL              sub_10004244C                                          ; +0x58, 0x10047cc24\nLDR             X8, [X0]                                               ; +0x5c, 0x10047cc28\nLDR             X1, [X8,#0x520]                                        ; +0x60, 0x10047cc2c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10047cc30\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10047cc34\nBR              X1                                                     ; +0x6c, 0x10047cc38\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x10047cc3c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x10047cc40\nRET                                                                    ; +0x78, 0x10047cc44", "xrefs": ["EditorUI::handleEditorAction @ 0x1001633e0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}