{"type": "func", "start": 5370379456, "end": 5370379616, "name": "EditorSoundConfigInfoLayer::startServerDelete", "pseudocode": "// \n// EditorSoundConfigInfoLayer::startServerDelete from 0x140197cc0 to 0x140197d60 (160 bytes)\n// \n// 3 xrefs:\n// > EditorSoundConfigInfoLayer::adminActionConfirmed @ 0x140197d72\n// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198608\n// > <???> @ 0x1409195e0\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 11:27:45 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall EditorSoundConfigInfoLayer::startServerDelete(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // rdi\n  __int64 v7; // rcx\n  void *v8; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 1072) )\n  {\n    v6 = a1 + 1008;\n    v7 = *(_QWORD *)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v8 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v8);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v7 = *(_QWORD *)&qword_14090BFB0;\n    }\n    *(_QWORD *)(v7 + 1472) = v6;\n    GameLevelManager::deleteServerEditorSound(v7, *(unsigned int *)(*(_QWORD *)(a1 + 1072) + 320LL), a2, a3);\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::startServerDelete from 0x140197cc0 to 0x140197d60 (160 bytes)\n; \n; 3 xrefs:\n; > EditorSoundConfigInfoLayer::adminActionConfirmed @ 0x140197d72\n; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198608\n; > <???> @ 0x1409195e0\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 11:27:45 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140197cc0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x140197cc5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x140197cca\npush    rdi                                                            ; +0xf, 0x140197ccf\nsub     rsp, 20h                                                       ; +0x10, 0x140197cd0\nmov     rsi, r8                                                        ; +0x14, 0x140197cd4\nmov     rbp, rdx                                                       ; +0x17, 0x140197cd7\nmov     rbx, rcx                                                       ; +0x1a, 0x140197cda\ncmp     qword ptr [rcx+430h], 0                                        ; +0x1d, 0x140197cdd\njz      short loc_140197D4B                                            ; +0x25, 0x140197ce5\nlea     rdi, [rcx+3F0h]                                                ; +0x27, 0x140197ce7\nmov     rcx, cs:qword_14090BFB0                                        ; +0x2e, 0x140197cee\ntest    rcx, rcx                                                       ; +0x35, 0x140197cf5\njnz     short loc_140197D2C                                            ; +0x38, 0x140197cf8\nmov     ecx, 690h; Size                                                ; +0x3a, 0x140197cfa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3f, 0x140197cff\nmov     [rsp+28h+arg_0], rax                                           ; +0x44, 0x140197d04\nmov     rcx, rax                                                       ; +0x49, 0x140197d09\ncall    GameLevelManager__GameLevelManager                             ; +0x4c, 0x140197d0c\nnop                                                                    ; +0x51, 0x140197d11\nmov     cs:qword_14090BFB0, rax                                        ; +0x52, 0x140197d12\nmov     rcx, [rax]                                                     ; +0x59, 0x140197d19\nmov     rdx, [rcx+48h]                                                 ; +0x5c, 0x140197d1c\nmov     rcx, rax                                                       ; +0x60, 0x140197d20\ncall    rdx                                                            ; +0x63, 0x140197d23\nmov     rcx, cs:qword_14090BFB0                                        ; +0x65, 0x140197d25\nmov     [rcx+5C0h], rdi                                                ; +0x6c, 0x140197d2c\nmov     rdx, [rbx+430h]                                                ; +0x73, 0x140197d33\nmov     r9, rsi                                                        ; +0x7a, 0x140197d3a\nmov     r8, rbp                                                        ; +0x7d, 0x140197d3d\nmov     edx, [rdx+140h]                                                ; +0x80, 0x140197d40\ncall    GameLevelManager__deleteServerEditorSound                      ; +0x86, 0x140197d46\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x8b, 0x140197d4b\nmov     rbp, [rsp+28h+arg_10]                                          ; +0x90, 0x140197d50\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x95, 0x140197d55\nadd     rsp, 20h                                                       ; +0x9a, 0x140197d5a\npop     rdi                                                            ; +0x9e, 0x140197d5e\nretn                                                                   ; +0x9f, 0x140197d5f", "xrefs": ["EditorSoundConfigInfoLayer::adminActionConfirmed @ 0x140197d72", "EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198608", "<???> @ 0x1409195e0"], "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"}