{"type": "func", "start": 5370397264, "end": 5370397475, "name": "EditorSoundConfigUploadPopup::onClose", "pseudocode": "// \n// EditorSoundConfigUploadPopup::onClose from 0x14019c250 to 0x14019c323 (211 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074ee10\n// > <???> @ 0x140919700\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:47 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 __fastcall EditorSoundConfigUploadPopup::onClose(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rax\n  __int64 v5; // rdi\n  void *v7; // [rsp+40h] [rbp+18h]\n  void *v8; // [rsp+40h] [rbp+18h]\n\n  v4 = *(_QWORD *)&qword_14090BFB0;\n  if ( *(_QWORD *)&qword_14090BFB0\n    || (v7 = operator new(0x690u),\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v7),\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0),\n        (v4 = *(_QWORD *)&qword_14090BFB0) != 0) )\n  {\n    v5 = a1 + 1000;\n    if ( !a1 )\n      v5 = 0;\n    if ( !v4 )\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      v4 = *(_QWORD *)&qword_14090BFB0;\n    }\n    if ( *(_QWORD *)(v4 + 1448) == v5 )\n      *(_QWORD *)(v4 + 1448) = 0;\n  }\n  return SetupTriggerPopup::onClose(a1, a2);\n}", "assembly": "; \n; EditorSoundConfigUploadPopup::onClose from 0x14019c250 to 0x14019c323 (211 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074ee10\n; > <???> @ 0x140919700\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:47 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14019c250\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x14019c255\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x14019c25a\npush    rdi                                                            ; +0xf, 0x14019c25f\nsub     rsp, 20h                                                       ; +0x10, 0x14019c260\nmov     rsi, rdx                                                       ; +0x14, 0x14019c264\nmov     rbx, rcx                                                       ; +0x17, 0x14019c267\nmov     rax, cs:qword_14090BFB0                                        ; +0x1a, 0x14019c26a\ntest    rax, rax                                                       ; +0x21, 0x14019c271\njnz     short loc_14019C2AD                                            ; +0x24, 0x14019c274\nmov     ecx, 690h; Size                                                ; +0x26, 0x14019c276\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x14019c27b\nmov     [rsp+28h+arg_10], rax                                          ; +0x30, 0x14019c280\nmov     rcx, rax                                                       ; +0x35, 0x14019c285\ncall    GameLevelManager__GameLevelManager                             ; +0x38, 0x14019c288\nnop                                                                    ; +0x3d, 0x14019c28d\nmov     cs:qword_14090BFB0, rax                                        ; +0x3e, 0x14019c28e\nmov     rcx, [rax]                                                     ; +0x45, 0x14019c295\nmov     rdx, [rcx+48h]                                                 ; +0x48, 0x14019c298\nmov     rcx, rax                                                       ; +0x4c, 0x14019c29c\ncall    rdx                                                            ; +0x4f, 0x14019c29f\nmov     rax, cs:qword_14090BFB0                                        ; +0x51, 0x14019c2a1\ntest    rax, rax                                                       ; +0x58, 0x14019c2a8\njz      short loc_14019C304                                            ; +0x5b, 0x14019c2ab\nlea     rdi, [rbx+3E8h]                                                ; +0x5d, 0x14019c2ad\nxor     ebp, ebp                                                       ; +0x64, 0x14019c2b4\ntest    rbx, rbx                                                       ; +0x66, 0x14019c2b6\ncmovz   rdi, rbp                                                       ; +0x69, 0x14019c2b9\ntest    rax, rax                                                       ; +0x6d, 0x14019c2bd\njnz     short loc_14019C2F4                                            ; +0x70, 0x14019c2c0\nmov     ecx, 690h; Size                                                ; +0x72, 0x14019c2c2\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x77, 0x14019c2c7\nmov     [rsp+28h+arg_10], rax                                          ; +0x7c, 0x14019c2cc\nmov     rcx, rax                                                       ; +0x81, 0x14019c2d1\ncall    GameLevelManager__GameLevelManager                             ; +0x84, 0x14019c2d4\nnop                                                                    ; +0x89, 0x14019c2d9\nmov     cs:qword_14090BFB0, rax                                        ; +0x8a, 0x14019c2da\nmov     rcx, [rax]                                                     ; +0x91, 0x14019c2e1\nmov     rdx, [rcx+48h]                                                 ; +0x94, 0x14019c2e4\nmov     rcx, rax                                                       ; +0x98, 0x14019c2e8\ncall    rdx                                                            ; +0x9b, 0x14019c2eb\nmov     rax, cs:qword_14090BFB0                                        ; +0x9d, 0x14019c2ed\ncmp     [rax+5A8h], rdi                                                ; +0xa4, 0x14019c2f4\njnz     short loc_14019C304                                            ; +0xab, 0x14019c2fb\nmov     [rax+5A8h], rbp                                                ; +0xad, 0x14019c2fd\nmov     rdx, rsi                                                       ; +0xb4, 0x14019c304\nmov     rcx, rbx                                                       ; +0xb7, 0x14019c307\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xba, 0x14019c30a\nmov     rbp, [rsp+28h+arg_8]                                           ; +0xbf, 0x14019c30f\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xc4, 0x14019c314\nadd     rsp, 20h                                                       ; +0xc9, 0x14019c319\npop     rdi                                                            ; +0xcd, 0x14019c31d\njmp     SetupTriggerPopup__onClose                                     ; +0xce, 0x14019c31e", "xrefs": ["<???> @ 0x14074ee10", "<???> @ 0x140919700"], "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"}