{"type": "func", "start": 5370355120, "end": 5370355887, "name": "EditorSoundConfigInfoLayer::dEditorSoundConfigInfoLayer", "pseudocode": "// \n// EditorSoundConfigInfoLayer::dEditorSoundConfigInfoLayer from 0x140191db0 to 0x1401920af (767 bytes)\n// \n// 2 xrefs:\n// > sub_140191B40 @ 0x140191b4f\n// > <???> @ 0x140919370\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:43 +0000\n// \n\n__int64 __fastcall EditorSoundConfigInfoLayer::dEditorSoundConfigInfoLayer(_QWORD *a1)\n{\n  _QWORD *v2; // rdi\n  _QWORD *v3; // rsi\n  _QWORD *v4; // r14\n  _QWORD *v5; // rax\n  void *v6; // rax\n  void *v7; // rax\n  void *v8; // rax\n  void *v9; // rax\n  void *v10; // rax\n  __int64 v11; // rcx\n  void *v12; // rax\n  __int64 v13; // rax\n  cocos2d::CCObject *v14; // rcx\n\n  *a1 = &EditorSoundConfigInfoLayer::`vftable';\n  a1[40] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[41] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[42] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[43] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[44] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[51] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[54] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[68] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[83] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[84] = &EditorSoundConfigInfoLayer::`vftable';\n  v2 = a1 + 125;\n  a1[125] = &EditorSoundConfigInfoLayer::`vftable';\n  v3 = a1 + 126;\n  a1[126] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[127] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[128] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[129] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[130] = &EditorSoundConfigInfoLayer::`vftable';\n  v4 = a1 + 131;\n  a1[131] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[132] = &EditorSoundConfigInfoLayer::`vftable';\n  a1[133] = &EditorSoundConfigInfoLayer::`vftable';\n  v5 = *(_QWORD **)&qword_14090BFB0;\n  if ( *(_QWORD *)&qword_14090BFB0\n    || (v6 = operator new(0x690u),\n        *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v6),\n        (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0),\n        (v5 = *(_QWORD **)&qword_14090BFB0) != nullptr) )\n  {\n    if ( (_QWORD *)v5[183] == v2 )\n      v5[183] = 0;\n    if ( !v5 )\n    {\n      v9 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v9);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v5 = *(_QWORD **)&qword_14090BFB0;\n    }\n  }\n  else\n  {\n    v7 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v7);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v5 = *(_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      v5 = *(_QWORD **)&qword_14090BFB0;\n      if ( !*(_QWORD *)&qword_14090BFB0 )\n        goto LABEL_16;\n      goto LABEL_12;\n    }\n  }\n  if ( (_QWORD *)v5[184] == v3 )\n    v5[184] = 0;\nLABEL_12:\n  if ( !v5 )\n  {\n    v10 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v5 = *(_QWORD **)&qword_14090BFB0;\n  }\n  if ( (_QWORD *)v5[186] == v4 )\n    v5[186] = 0;\nLABEL_16:\n  v11 = qword_14090C070;\n  if ( !qword_14090C070 )\n  {\n    v12 = operator new(0x3D0u);\n    qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v12);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n    v11 = qword_14090C070;\n  }\n  MusicDownloadManager::removeMusicDownloadDelegate(v11, a1 + 133);\n  v13 = a1[148];\n  if ( v13 )\n    *(_QWORD *)(v13 + 664) = 0;\n  v14 = (cocos2d::CCObject *)a1[134];\n  if ( v14 )\n    cocos2d::CCObject::release(v14);\n  return SetupTriggerPopup::dSetupTriggerPopup(a1);\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::dEditorSoundConfigInfoLayer from 0x140191db0 to 0x1401920af (767 bytes)\n; \n; 2 xrefs:\n; > sub_140191B40 @ 0x140191b4f\n; > <???> @ 0x140919370\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:43 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140191db0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x140191db5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x140191dba\npush    rdi                                                            ; +0xf, 0x140191dbf\npush    r14                                                            ; +0x10, 0x140191dc0\npush    r15                                                            ; +0x12, 0x140191dc2\nsub     rsp, 20h                                                       ; +0x14, 0x140191dc4\nmov     rbx, rcx                                                       ; +0x18, 0x140191dc8\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@; const EditorSoundConfigInfoLayer::`vftable' ; +0x1b, 0x140191dcb\nmov     [rcx], rax                                                     ; +0x22, 0x140191dd2\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_0; const EditorSoundConfigInfoLayer::`vftable' ; +0x25, 0x140191dd5\nmov     [rcx+140h], rax                                                ; +0x2c, 0x140191ddc\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_1; const EditorSoundConfigInfoLayer::`vftable' ; +0x33, 0x140191de3\nmov     [rcx+148h], rax                                                ; +0x3a, 0x140191dea\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_2; const EditorSoundConfigInfoLayer::`vftable' ; +0x41, 0x140191df1\nmov     [rcx+150h], rax                                                ; +0x48, 0x140191df8\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_3; const EditorSoundConfigInfoLayer::`vftable' ; +0x4f, 0x140191dff\nmov     [rcx+158h], rax                                                ; +0x56, 0x140191e06\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_4; const EditorSoundConfigInfoLayer::`vftable' ; +0x5d, 0x140191e0d\nmov     [rcx+160h], rax                                                ; +0x64, 0x140191e14\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_5; const EditorSoundConfigInfoLayer::`vftable' ; +0x6b, 0x140191e1b\nmov     [rcx+198h], rax                                                ; +0x72, 0x140191e22\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_6; const EditorSoundConfigInfoLayer::`vftable' ; +0x79, 0x140191e29\nmov     [rcx+1B0h], rax                                                ; +0x80, 0x140191e30\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_7; const EditorSoundConfigInfoLayer::`vftable' ; +0x87, 0x140191e37\nmov     [rcx+220h], rax                                                ; +0x8e, 0x140191e3e\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_8; const EditorSoundConfigInfoLayer::`vftable' ; +0x95, 0x140191e45\nmov     [rcx+298h], rax                                                ; +0x9c, 0x140191e4c\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_9; const EditorSoundConfigInfoLayer::`vftable' ; +0xa3, 0x140191e53\nmov     [rcx+2A0h], rax                                                ; +0xaa, 0x140191e5a\nlea     rdi, [rcx+3E8h]                                                ; +0xb1, 0x140191e61\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_10; const EditorSoundConfigInfoLayer::`vftable' ; +0xb8, 0x140191e68\nmov     [rdi], rax                                                     ; +0xbf, 0x140191e6f\nlea     rsi, [rcx+3F0h]                                                ; +0xc2, 0x140191e72\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_11; const EditorSoundConfigInfoLayer::`vftable' ; +0xc9, 0x140191e79\nmov     [rsi], rax                                                     ; +0xd0, 0x140191e80\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_12; const EditorSoundConfigInfoLayer::`vftable' ; +0xd3, 0x140191e83\nmov     [rcx+3F8h], rax                                                ; +0xda, 0x140191e8a\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_13; const EditorSoundConfigInfoLayer::`vftable' ; +0xe1, 0x140191e91\nmov     [rcx+400h], rax                                                ; +0xe8, 0x140191e98\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_14; const EditorSoundConfigInfoLayer::`vftable' ; +0xef, 0x140191e9f\nmov     [rcx+408h], rax                                                ; +0xf6, 0x140191ea6\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_15; const EditorSoundConfigInfoLayer::`vftable' ; +0xfd, 0x140191ead\nmov     [rcx+410h], rax                                                ; +0x104, 0x140191eb4\nlea     r14, [rcx+418h]                                                ; +0x10b, 0x140191ebb\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_16; const EditorSoundConfigInfoLayer::`vftable' ; +0x112, 0x140191ec2\nmov     [r14], rax                                                     ; +0x119, 0x140191ec9\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_17; const EditorSoundConfigInfoLayer::`vftable' ; +0x11c, 0x140191ecc\nmov     [rcx+420h], rax                                                ; +0x123, 0x140191ed3\nlea     rax, ??_7EditorSoundConfigInfoLayer@@6B@_18; const EditorSoundConfigInfoLayer::`vftable' ; +0x12a, 0x140191eda\nmov     [rcx+428h], rax                                                ; +0x131, 0x140191ee1\nxor     ebp, ebp                                                       ; +0x138, 0x140191ee8\nmov     rax, cs:qword_14090BFB0                                        ; +0x13a, 0x140191eea\ntest    rax, rax                                                       ; +0x141, 0x140191ef1\njnz     loc_140191F93                                                  ; +0x144, 0x140191ef4\nmov     ecx, 690h; Size                                                ; +0x14a, 0x140191efa\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x14f, 0x140191eff\nmov     rcx, rax                                                       ; +0x154, 0x140191f04\ncall    GameLevelManager__GameLevelManager                             ; +0x157, 0x140191f07\nmov     cs:qword_14090BFB0, rax                                        ; +0x15c, 0x140191f0c\nmov     rcx, [rax]                                                     ; +0x163, 0x140191f13\nmov     rdx, [rcx+48h]                                                 ; +0x166, 0x140191f16\nmov     rcx, rax                                                       ; +0x16a, 0x140191f1a\ncall    rdx                                                            ; +0x16d, 0x140191f1d\nmov     rax, cs:qword_14090BFB0                                        ; +0x16f, 0x140191f1f\ntest    rax, rax                                                       ; +0x176, 0x140191f26\njnz     short loc_140191F93                                            ; +0x179, 0x140191f29\nmov     ecx, 690h; Size                                                ; +0x17b, 0x140191f2b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x180, 0x140191f30\nmov     rcx, rax                                                       ; +0x185, 0x140191f35\ncall    GameLevelManager__GameLevelManager                             ; +0x188, 0x140191f38\nmov     cs:qword_14090BFB0, rax                                        ; +0x18d, 0x140191f3d\nmov     rcx, [rax]                                                     ; +0x194, 0x140191f44\nmov     rdx, [rcx+48h]                                                 ; +0x197, 0x140191f47\nmov     rcx, rax                                                       ; +0x19b, 0x140191f4b\ncall    rdx                                                            ; +0x19e, 0x140191f4e\nmov     rax, cs:qword_14090BFB0                                        ; +0x1a0, 0x140191f50\ntest    rax, rax                                                       ; +0x1a7, 0x140191f57\njnz     short loc_140191FD4                                            ; +0x1aa, 0x140191f5a\nmov     ecx, 690h; Size                                                ; +0x1ac, 0x140191f5c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1b1, 0x140191f61\nmov     rcx, rax                                                       ; +0x1b6, 0x140191f66\ncall    GameLevelManager__GameLevelManager                             ; +0x1b9, 0x140191f69\nmov     cs:qword_14090BFB0, rax                                        ; +0x1be, 0x140191f6e\nmov     rcx, [rax]                                                     ; +0x1c5, 0x140191f75\nmov     rdx, [rcx+48h]                                                 ; +0x1c8, 0x140191f78\nmov     rcx, rax                                                       ; +0x1cc, 0x140191f7c\ncall    rdx                                                            ; +0x1cf, 0x140191f7f\nmov     rax, cs:qword_14090BFB0                                        ; +0x1d1, 0x140191f81\ntest    rax, rax                                                       ; +0x1d8, 0x140191f88\njz      loc_140192025                                                  ; +0x1db, 0x140191f8b\njmp     short loc_140191FE4                                            ; +0x1e1, 0x140191f91\ncmp     [rax+5B8h], rdi                                                ; +0x1e3, 0x140191f93\njnz     short loc_140191FA3                                            ; +0x1ea, 0x140191f9a\nmov     [rax+5B8h], rbp                                                ; +0x1ec, 0x140191f9c\ntest    rax, rax                                                       ; +0x1f3, 0x140191fa3\njnz     short loc_140191FD4                                            ; +0x1f6, 0x140191fa6\nmov     ecx, 690h; Size                                                ; +0x1f8, 0x140191fa8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1fd, 0x140191fad\nmov     rcx, rax                                                       ; +0x202, 0x140191fb2\ncall    GameLevelManager__GameLevelManager                             ; +0x205, 0x140191fb5\nmov     cs:qword_14090BFB0, rax                                        ; +0x20a, 0x140191fba\nmov     rcx, [rax]                                                     ; +0x211, 0x140191fc1\nmov     rdx, [rcx+48h]                                                 ; +0x214, 0x140191fc4\nmov     rcx, rax                                                       ; +0x218, 0x140191fc8\ncall    rdx                                                            ; +0x21b, 0x140191fcb\nmov     rax, cs:qword_14090BFB0                                        ; +0x21d, 0x140191fcd\ncmp     [rax+5C0h], rsi                                                ; +0x224, 0x140191fd4\njnz     short loc_140191FE4                                            ; +0x22b, 0x140191fdb\nmov     [rax+5C0h], rbp                                                ; +0x22d, 0x140191fdd\ntest    rax, rax                                                       ; +0x234, 0x140191fe4\njnz     short loc_140192015                                            ; +0x237, 0x140191fe7\nmov     ecx, 690h; Size                                                ; +0x239, 0x140191fe9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23e, 0x140191fee\nmov     rcx, rax                                                       ; +0x243, 0x140191ff3\ncall    GameLevelManager__GameLevelManager                             ; +0x246, 0x140191ff6\nmov     cs:qword_14090BFB0, rax                                        ; +0x24b, 0x140191ffb\nmov     rcx, [rax]                                                     ; +0x252, 0x140192002\nmov     rdx, [rcx+48h]                                                 ; +0x255, 0x140192005\nmov     rcx, rax                                                       ; +0x259, 0x140192009\ncall    rdx                                                            ; +0x25c, 0x14019200c\nmov     rax, cs:qword_14090BFB0                                        ; +0x25e, 0x14019200e\ncmp     [rax+5D0h], r14                                                ; +0x265, 0x140192015\njnz     short loc_140192025                                            ; +0x26c, 0x14019201c\nmov     [rax+5D0h], rbp                                                ; +0x26e, 0x14019201e\nmov     rcx, cs:qword_14090C070                                        ; +0x275, 0x140192025\ntest    rcx, rcx                                                       ; +0x27c, 0x14019202c\njnz     short loc_14019205E                                            ; +0x27f, 0x14019202f\nmov     ecx, 3D0h; Size                                                ; +0x281, 0x140192031\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x286, 0x140192036\nmov     rcx, rax                                                       ; +0x28b, 0x14019203b\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x28e, 0x14019203e\nmov     cs:qword_14090C070, rax                                        ; +0x293, 0x140192043\nmov     rcx, [rax]                                                     ; +0x29a, 0x14019204a\nmov     r8, [rcx+48h]                                                  ; +0x29d, 0x14019204d\nmov     rcx, rax                                                       ; +0x2a1, 0x140192051\ncall    r8                                                             ; +0x2a4, 0x140192054\nmov     rcx, cs:qword_14090C070                                        ; +0x2a7, 0x140192057\nlea     rdx, [rbx+428h]                                                ; +0x2ae, 0x14019205e\ncall    MusicDownloadManager__removeMusicDownloadDelegate              ; +0x2b5, 0x140192065\nmov     rax, [rbx+4A0h]                                                ; +0x2ba, 0x14019206a\ntest    rax, rax                                                       ; +0x2c1, 0x140192071\njz      short loc_14019207D                                            ; +0x2c4, 0x140192074\nmov     [rax+298h], rbp                                                ; +0x2c6, 0x140192076\nmov     rcx, [rbx+430h]                                                ; +0x2cd, 0x14019207d\ntest    rcx, rcx                                                       ; +0x2d4, 0x140192084\njz      short loc_14019208F                                            ; +0x2d7, 0x140192087\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2d9, 0x140192089\nmov     rcx, rbx                                                       ; +0x2df, 0x14019208f\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x2e2, 0x140192092\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x2e7, 0x140192097\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x2ec, 0x14019209c\nadd     rsp, 20h                                                       ; +0x2f1, 0x1401920a1\npop     r15                                                            ; +0x2f5, 0x1401920a5\npop     r14                                                            ; +0x2f7, 0x1401920a7\npop     rdi                                                            ; +0x2f9, 0x1401920a9\njmp     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 ; +0x2fa, 0x1401920aa", "xrefs": ["sub_140191B40 @ 0x140191b4f", "<???> @ 0x140919370"], "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"}