{"type": "func", "start": 5370398640, "end": 5370399225, "name": "EditorSoundsLayer::dEditorSoundsLayer", "pseudocode": "// \n// EditorSoundsLayer::dEditorSoundsLayer from 0x14019c7b0 to 0x14019c9f9 (585 bytes)\n// \n// 2 xrefs:\n// > sub_14019CA00 @ 0x14019ca0f\n// > <???> @ 0x140919724\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__int64 __fastcall EditorSoundsLayer::dEditorSoundsLayer(__int64 a1)\n{\n  _QWORD *v2; // rax\n  __int64 v3; // rdx\n  __int64 v4; // rbx\n  int *v5; // rax\n  void *v6; // rcx\n  void *v7; // rdx\n  _BYTE v9[16]; // [rsp+30h] [rbp-88h] BYREF\n  void *Block[2]; // [rsp+40h] [rbp-78h] BYREF\n  __m128i si128; // [rsp+50h] [rbp-68h]\n  size_t v12[4]; // [rsp+60h] [rbp-58h] BYREF\n  _QWORD v13[4]; // [rsp+80h] [rbp-38h] BYREF\n\n  *(_QWORD *)a1 = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 320) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 328) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 336) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 344) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 352) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 408) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 432) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 544) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 664) = &EditorSoundsLayer::`vftable';\n  *(_QWORD *)(a1 + 672) = &EditorSoundsLayer::`vftable';\n  if ( *(_QWORD *)(a1 + 1144) && *(int *)(a1 + 1048) >= 0 )\n  {\n    Block[1] = nullptr;\n    Block[0] = sub_14003D460(0x20u);\n    si128 = _mm_load_si128((const __m128i *)&xmmword_140836620);\n    strcpy((char *)Block[0], \"editorsounds.tab.\");\n    v2 = sub_1400D2750(v13, *(_DWORD *)(a1 + 1048));\n    sub_140076160((char *)v12, v3, Block, v2);\n    v4 = *(_QWORD *)(a1 + 1144);\n    v5 = sub_140080E00();\n    *(_DWORD *)(*(_QWORD *)sub_1400834C0(v5, (__int64)v9, v12) + 48LL) = *(_DWORD *)(v4 + 436);\n    sub_14003D310((__int64)v12);\n    if ( si128.m128i_i64[1] > 0xFuLL )\n    {\n      v6 = Block[0];\n      if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n      {\n        v6 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v6);\n    }\n    sub_14003D310((__int64)v13);\n  }\n  dword_140909794 = *(_DWORD *)(a1 + 1048);\n  if ( &qword_1408FE440 != (void **)(a1 + 1104) )\n  {\n    v7 = (void *)(a1 + 1104);\n    if ( *(_QWORD *)(a1 + 1128) > 0xFu )\n      v7 = *(void **)(a1 + 1104);\n    sub_1400405A0(&qword_1408FE440, v7, *(_QWORD *)(a1 + 1120));\n  }\n  sub_14003D310(a1 + 1104);\n  sub_14019EF40(a1 + 1024);\n  sub_14019F010(a1 + 1000);\n  return SetupTriggerPopup::dSetupTriggerPopup(a1);\n}", "assembly": "; \n; EditorSoundsLayer::dEditorSoundsLayer from 0x14019c7b0 to 0x14019c9f9 (585 bytes)\n; \n; 2 xrefs:\n; > sub_14019CA00 @ 0x14019ca0f\n; > <???> @ 0x140919724\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_8], rbx                                               ; +0x0, 0x14019c7b0\npush    rdi                                                            ; +0x5, 0x14019c7b5\nsub     rsp, 0B0h                                                      ; +0x6, 0x14019c7b6\nmov     rax, cs:__security_cookie                                      ; +0xd, 0x14019c7bd\nxor     rax, rsp                                                       ; +0x14, 0x14019c7c4\nmov     [rsp+0B8h+var_18], rax                                         ; +0x17, 0x14019c7c7\nmov     rdi, rcx                                                       ; +0x1f, 0x14019c7cf\nlea     rax, ??_7EditorSoundsLayer@@6B@; const EditorSoundsLayer::`vftable' ; +0x22, 0x14019c7d2\nmov     [rcx], rax                                                     ; +0x29, 0x14019c7d9\nlea     rax, ??_7EditorSoundsLayer@@6B@_0; const EditorSoundsLayer::`vftable' ; +0x2c, 0x14019c7dc\nmov     [rcx+140h], rax                                                ; +0x33, 0x14019c7e3\nlea     rax, ??_7EditorSoundsLayer@@6B@_1; const EditorSoundsLayer::`vftable' ; +0x3a, 0x14019c7ea\nmov     [rcx+148h], rax                                                ; +0x41, 0x14019c7f1\nlea     rax, ??_7EditorSoundsLayer@@6B@_2; const EditorSoundsLayer::`vftable' ; +0x48, 0x14019c7f8\nmov     [rcx+150h], rax                                                ; +0x4f, 0x14019c7ff\nlea     rax, ??_7EditorSoundsLayer@@6B@_3; const EditorSoundsLayer::`vftable' ; +0x56, 0x14019c806\nmov     [rcx+158h], rax                                                ; +0x5d, 0x14019c80d\nlea     rax, ??_7EditorSoundsLayer@@6B@_4; const EditorSoundsLayer::`vftable' ; +0x64, 0x14019c814\nmov     [rcx+160h], rax                                                ; +0x6b, 0x14019c81b\nlea     rax, ??_7EditorSoundsLayer@@6B@_5; const EditorSoundsLayer::`vftable' ; +0x72, 0x14019c822\nmov     [rcx+198h], rax                                                ; +0x79, 0x14019c829\nlea     rax, ??_7EditorSoundsLayer@@6B@_6; const EditorSoundsLayer::`vftable' ; +0x80, 0x14019c830\nmov     [rcx+1B0h], rax                                                ; +0x87, 0x14019c837\nlea     rax, ??_7EditorSoundsLayer@@6B@_7; const EditorSoundsLayer::`vftable' ; +0x8e, 0x14019c83e\nmov     [rcx+220h], rax                                                ; +0x95, 0x14019c845\nlea     rax, ??_7EditorSoundsLayer@@6B@_8; const EditorSoundsLayer::`vftable' ; +0x9c, 0x14019c84c\nmov     [rcx+298h], rax                                                ; +0xa3, 0x14019c853\nlea     rax, ??_7EditorSoundsLayer@@6B@_9; const EditorSoundsLayer::`vftable' ; +0xaa, 0x14019c85a\nmov     [rcx+2A0h], rax                                                ; +0xb1, 0x14019c861\ncmp     qword ptr [rcx+478h], 0                                        ; +0xb8, 0x14019c868\njz      loc_14019C97A                                                  ; +0xc0, 0x14019c870\ncmp     dword ptr [rcx+418h], 0                                        ; +0xc6, 0x14019c876\njl      loc_14019C97A                                                  ; +0xcd, 0x14019c87d\nmov     [rsp+0B8h+var_70], 0                                           ; +0xd3, 0x14019c883\nmov     ecx, 20h ; ' '                                                 ; +0xdc, 0x14019c88c\ncall    sub_14003D460                                                  ; +0xe1, 0x14019c891\nmov     [rsp+0B8h+Block], rax                                          ; +0xe6, 0x14019c896\nmovdqa  xmm0, cs:xmmword_140836620                                     ; +0xeb, 0x14019c89b\nmovdqu  [rsp+0B8h+var_68], xmm0                                        ; +0xf3, 0x14019c8a3\nmovups  xmm0, cs:xmmword_14074FC90                                     ; +0xf9, 0x14019c8a9\nmovups  xmmword ptr [rax], xmm0                                        ; +0x100, 0x14019c8b0\nmovzx   ecx, cs:byte_14074FCA0                                         ; +0x103, 0x14019c8b3\nmov     [rax+10h], cl                                                  ; +0x10a, 0x14019c8ba\nmov     byte ptr [rax+11h], 0                                          ; +0x10d, 0x14019c8bd\nmov     edx, [rdi+418h]                                                ; +0x111, 0x14019c8c1\nlea     rcx, [rsp+0B8h+var_38]                                         ; +0x117, 0x14019c8c7\ncall    sub_1400D2750                                                  ; +0x11f, 0x14019c8cf\nmov     r9, rax                                                        ; +0x124, 0x14019c8d4\nlea     r8, [rsp+0B8h+Block]                                           ; +0x127, 0x14019c8d7\nlea     rcx, [rsp+0B8h+var_58]                                         ; +0x12c, 0x14019c8dc\ncall    sub_140076160                                                  ; +0x131, 0x14019c8e1\nmov     rbx, [rdi+478h]                                                ; +0x136, 0x14019c8e6\ncall    sub_140080E00                                                  ; +0x13d, 0x14019c8ed\nlea     r8, [rsp+0B8h+var_58]                                          ; +0x142, 0x14019c8f2\nlea     rdx, [rsp+0B8h+var_88]                                         ; +0x147, 0x14019c8f7\nmov     rcx, rax                                                       ; +0x14c, 0x14019c8fc\ncall    sub_1400834C0                                                  ; +0x14f, 0x14019c8ff\nmov     rcx, [rax]                                                     ; +0x154, 0x14019c904\nmov     eax, [rbx+1B4h]                                                ; +0x157, 0x14019c907\nmov     [rcx+30h], eax                                                 ; +0x15d, 0x14019c90d\nlea     rcx, [rsp+0B8h+var_58]                                         ; +0x160, 0x14019c910\ncall    sub_14003D310                                                  ; +0x165, 0x14019c915\nmov     rdx, qword ptr [rsp+0B8h+var_68+8]                             ; +0x16a, 0x14019c91a\ncmp     rdx, 0Fh                                                       ; +0x16f, 0x14019c91f\njbe     short loc_14019C96D                                            ; +0x173, 0x14019c923\ninc     rdx                                                            ; +0x175, 0x14019c925\nmov     rcx, [rsp+0B8h+Block]; Block                                   ; +0x178, 0x14019c928\nmov     rax, rcx                                                       ; +0x17d, 0x14019c92d\ncmp     rdx, 1000h                                                     ; +0x180, 0x14019c930\njb      short loc_14019C968                                            ; +0x187, 0x14019c937\nadd     rdx, 27h ; '''                                                 ; +0x189, 0x14019c939\nmov     rcx, [rcx-8]                                                   ; +0x18d, 0x14019c93d\nsub     rax, rcx                                                       ; +0x191, 0x14019c941\nsub     rax, 8                                                         ; +0x194, 0x14019c944\ncmp     rax, 1Fh                                                       ; +0x198, 0x14019c948\njbe     short loc_14019C968                                            ; +0x19c, 0x14019c94c\nmov     [rsp+0B8h+Reserved], 0; Reserved                               ; +0x19e, 0x14019c94e\nxor     r9d, r9d; LineNo                                               ; +0x1a7, 0x14019c957\nxor     r8d, r8d; FileName                                             ; +0x1aa, 0x14019c95a\nxor     edx, edx; FunctionName                                         ; +0x1ad, 0x14019c95d\nxor     ecx, ecx; Expression                                           ; +0x1af, 0x14019c95f\ncall    cs:_invoke_watson                                              ; +0x1b1, 0x14019c961\nalign 8                                                                ; +0x1b7, 0x14019c967\ncall    j_j_free                                                       ; +0x1b8, 0x14019c968\nlea     rcx, [rsp+0B8h+var_38]                                         ; +0x1bd, 0x14019c96d\ncall    sub_14003D310                                                  ; +0x1c5, 0x14019c975\nmov     eax, [rdi+418h]                                                ; +0x1ca, 0x14019c97a\nmov     cs:dword_140909794, eax                                        ; +0x1d0, 0x14019c980\nlea     rbx, [rdi+450h]                                                ; +0x1d6, 0x14019c986\nlea     rcx, qword_1408FE440; void *                                   ; +0x1dd, 0x14019c98d\ncmp     rcx, rbx                                                       ; +0x1e4, 0x14019c994\njz      short loc_14019C9AF                                            ; +0x1e7, 0x14019c997\nmov     rdx, rbx                                                       ; +0x1e9, 0x14019c999\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0x1ec, 0x14019c99c\njbe     short loc_14019C9A6                                            ; +0x1f1, 0x14019c9a1\nmov     rdx, [rbx]; Src                                                ; +0x1f3, 0x14019c9a3\nmov     r8, [rbx+10h]; Size                                            ; +0x1f6, 0x14019c9a6\ncall    sub_1400405A0                                                  ; +0x1fa, 0x14019c9aa\nmov     rcx, rbx                                                       ; +0x1ff, 0x14019c9af\ncall    sub_14003D310                                                  ; +0x202, 0x14019c9b2\nlea     rcx, [rdi+400h]                                                ; +0x207, 0x14019c9b7\ncall    sub_14019EF40                                                  ; +0x20e, 0x14019c9be\nlea     rcx, [rdi+3E8h]                                                ; +0x213, 0x14019c9c3\ncall    sub_14019F010                                                  ; +0x21a, 0x14019c9ca\nmov     rcx, rdi                                                       ; +0x21f, 0x14019c9cf\ncall    SetupTriggerPopup__dSetupTriggerPopup; Merged with: SetupTriggerPopup::~SetupTriggerPopup, AutoBackupOptionsPopup::~AutoBackupOptionsPopup, ClearPlatformerSavesOptionsPopup::~ClearPlatformerSavesOptionsPopup, ControlSlotsPopup::~ControlSlotsPopup, CustomizeObjectSettingsPopup::~CustomizeObjectSettingsPopup, DeathMarkerSettingsPopup::~DeathMarkerSettingsPopup, DeathTrackerOptionsPopup::~DeathTrackerOptionsPopup, EditorSFXSettingsPopup::~EditorSFXSettingsPopup, MoveStepPopup::~MoveStepPopup, MultiTriggerPopup::~MultiTriggerPopup, NotificationFilterPopup::~NotificationFilterPopup, ReviewChoiceSheet::~ReviewChoiceSheet, SetupAdvFollowEditPhysicsPopup::~SetupAdvFollowEditPhysicsPopup, SetupAdvFollowPopup::~SetupAdvFollowPopup, SetupAdvFollowRetargetPopup::~SetupAdvFollowRetargetPopup, SetupAnimSettingsPopup::~SetupAnimSettingsPopup, SetupArtSwitchPopup::~SetupArtSwitchPopup, SetupAudioLineGuidePopup::~SetupAudioLineGuidePopup, SetupCameraGuidePopup::~SetupCameraGuidePopup, SetupCameraRotatePopup2::~SetupCameraRotatePopup2, SetupCoinLayer::~SetupCoinLay ; +0x222, 0x14019c9d2\nnop                                                                    ; +0x227, 0x14019c9d7\nmov     rcx, [rsp+0B8h+var_18]                                         ; +0x228, 0x14019c9d8\nxor     rcx, rsp; StackCookie                                          ; +0x230, 0x14019c9e0\ncall    __security_check_cookie                                        ; +0x233, 0x14019c9e3\nmov     rbx, [rsp+0B8h+arg_8]                                          ; +0x238, 0x14019c9e8\nadd     rsp, 0B0h                                                      ; +0x240, 0x14019c9f0\npop     rdi                                                            ; +0x247, 0x14019c9f7\nretn                                                                   ; +0x248, 0x14019c9f8", "xrefs": ["sub_14019CA00 @ 0x14019ca0f", "<???> @ 0x140919724"], "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"}