{"type": "func", "start": 5370337408, "end": 5370337840, "name": "EditorSoundBrowserLayer::dEditorSoundBrowserLayer", "pseudocode": "// \n// EditorSoundBrowserLayer::dEditorSoundBrowserLayer from 0x14018d880 to 0x14018da30 (432 bytes)\n// \n// 3 xrefs:\n// > sub_1401905B8 @ 0x1401905bf\n// > <???> @ 0x14074c2d0\n// > <???> @ 0x14091919c\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:41 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall EditorSoundBrowserLayer::dEditorSoundBrowserLayer(char *Block, char a2)\n{\n  char *v4; // rdi\n  __int64 v5; // rax\n  void *v6; // rax\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCObject *v9; // rcx\n\n  *(_QWORD *)Block = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 40) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 41) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 42) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 43) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 44) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 51) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 54) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 68) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 83) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 84) = &EditorSoundBrowserLayer::`vftable';\n  v4 = Block + 1000;\n  *((_QWORD *)Block + 125) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 126) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 127) = &EditorSoundBrowserLayer::`vftable';\n  *((_QWORD *)Block + 128) = &EditorSoundBrowserLayer::`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) != 0) )\n  {\n    if ( *(char **)(v5 + 1456) == v4 )\n      *(_QWORD *)(v5 + 1456) = 0;\n  }\n  v7 = *((cocos2d::CCObject **)Block + 136);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *((cocos2d::CCObject **)Block + 146);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  v9 = *((cocos2d::CCObject **)Block + 147);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  sub_14003D310((__int64)(Block + 1136));\n  sub_14003D310((__int64)(Block + 1104));\n  SetupTriggerPopup::dSetupTriggerPopup(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; EditorSoundBrowserLayer::dEditorSoundBrowserLayer from 0x14018d880 to 0x14018da30 (432 bytes)\n; \n; 3 xrefs:\n; > sub_1401905B8 @ 0x1401905bf\n; > <???> @ 0x14074c2d0\n; > <???> @ 0x14091919c\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:41 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14018d880\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14018d885\npush    rdi                                                            ; +0xa, 0x14018d88a\nsub     rsp, 20h                                                       ; +0xb, 0x14018d88b\nmov     esi, edx                                                       ; +0xf, 0x14018d88f\nmov     rbx, rcx                                                       ; +0x11, 0x14018d891\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@; const EditorSoundBrowserLayer::`vftable' ; +0x14, 0x14018d894\nmov     [rcx], rax                                                     ; +0x1b, 0x14018d89b\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_0; const EditorSoundBrowserLayer::`vftable' ; +0x1e, 0x14018d89e\nmov     [rcx+140h], rax                                                ; +0x25, 0x14018d8a5\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_1; const EditorSoundBrowserLayer::`vftable' ; +0x2c, 0x14018d8ac\nmov     [rcx+148h], rax                                                ; +0x33, 0x14018d8b3\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_2; const EditorSoundBrowserLayer::`vftable' ; +0x3a, 0x14018d8ba\nmov     [rcx+150h], rax                                                ; +0x41, 0x14018d8c1\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_3; const EditorSoundBrowserLayer::`vftable' ; +0x48, 0x14018d8c8\nmov     [rcx+158h], rax                                                ; +0x4f, 0x14018d8cf\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_4; const EditorSoundBrowserLayer::`vftable' ; +0x56, 0x14018d8d6\nmov     [rcx+160h], rax                                                ; +0x5d, 0x14018d8dd\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_5; const EditorSoundBrowserLayer::`vftable' ; +0x64, 0x14018d8e4\nmov     [rcx+198h], rax                                                ; +0x6b, 0x14018d8eb\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_6; const EditorSoundBrowserLayer::`vftable' ; +0x72, 0x14018d8f2\nmov     [rcx+1B0h], rax                                                ; +0x79, 0x14018d8f9\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_7; const EditorSoundBrowserLayer::`vftable' ; +0x80, 0x14018d900\nmov     [rcx+220h], rax                                                ; +0x87, 0x14018d907\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_8; const EditorSoundBrowserLayer::`vftable' ; +0x8e, 0x14018d90e\nmov     [rcx+298h], rax                                                ; +0x95, 0x14018d915\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_9; const EditorSoundBrowserLayer::`vftable' ; +0x9c, 0x14018d91c\nmov     [rcx+2A0h], rax                                                ; +0xa3, 0x14018d923\nlea     rdi, [rcx+3E8h]                                                ; +0xaa, 0x14018d92a\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_10; const EditorSoundBrowserLayer::`vftable' ; +0xb1, 0x14018d931\nmov     [rdi], rax                                                     ; +0xb8, 0x14018d938\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_11; const EditorSoundBrowserLayer::`vftable' ; +0xbb, 0x14018d93b\nmov     [rcx+3F0h], rax                                                ; +0xc2, 0x14018d942\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_12; const EditorSoundBrowserLayer::`vftable' ; +0xc9, 0x14018d949\nmov     [rcx+3F8h], rax                                                ; +0xd0, 0x14018d950\nlea     rax, ??_7EditorSoundBrowserLayer@@6B@_13; const EditorSoundBrowserLayer::`vftable' ; +0xd7, 0x14018d957\nmov     [rcx+400h], rax                                                ; +0xde, 0x14018d95e\nmov     rax, cs:qword_14090BFB0                                        ; +0xe5, 0x14018d965\ntest    rax, rax                                                       ; +0xec, 0x14018d96c\njnz     short loc_14018D99F                                            ; +0xef, 0x14018d96f\nmov     ecx, 690h; Size                                                ; +0xf1, 0x14018d971\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xf6, 0x14018d976\nmov     rcx, rax                                                       ; +0xfb, 0x14018d97b\ncall    GameLevelManager__GameLevelManager                             ; +0xfe, 0x14018d97e\nmov     cs:qword_14090BFB0, rax                                        ; +0x103, 0x14018d983\nmov     rdx, [rax]                                                     ; +0x10a, 0x14018d98a\nmov     rcx, rax                                                       ; +0x10d, 0x14018d98d\ncall    qword ptr [rdx+48h]                                            ; +0x110, 0x14018d990\nmov     rax, cs:qword_14090BFB0                                        ; +0x113, 0x14018d993\ntest    rax, rax                                                       ; +0x11a, 0x14018d99a\njz      short loc_14018D9B3                                            ; +0x11d, 0x14018d99d\ncmp     [rax+5B0h], rdi                                                ; +0x11f, 0x14018d99f\njnz     short loc_14018D9B3                                            ; +0x126, 0x14018d9a6\nmov     qword ptr [rax+5B0h], 0                                        ; +0x128, 0x14018d9a8\nmov     rcx, [rbx+440h]                                                ; +0x133, 0x14018d9b3\ntest    rcx, rcx                                                       ; +0x13a, 0x14018d9ba\njz      short loc_14018D9C5                                            ; +0x13d, 0x14018d9bd\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x13f, 0x14018d9bf\nmov     rcx, [rbx+490h]                                                ; +0x145, 0x14018d9c5\ntest    rcx, rcx                                                       ; +0x14c, 0x14018d9cc\njz      short loc_14018D9D7                                            ; +0x14f, 0x14018d9cf\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x151, 0x14018d9d1\nmov     rcx, [rbx+498h]                                                ; +0x157, 0x14018d9d7\ntest    rcx, rcx                                                       ; +0x15e, 0x14018d9de\njz      short loc_14018D9E9                                            ; +0x161, 0x14018d9e1\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x163, 0x14018d9e3\nlea     rcx, [rbx+470h]                                                ; +0x169, 0x14018d9e9\ncall    sub_14003D310                                                  ; +0x170, 0x14018d9f0\nlea     rcx, [rbx+450h]                                                ; +0x175, 0x14018d9f5\ncall    sub_14003D310                                                  ; +0x17c, 0x14018d9fc\nmov     rcx, rbx                                                       ; +0x181, 0x14018da01\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 ; +0x184, 0x14018da04\nnop                                                                    ; +0x189, 0x14018da09\ntest    sil, 1                                                         ; +0x18a, 0x14018da0a\njz      short loc_14018DA1D                                            ; +0x18e, 0x14018da0e\nmov     edx, 4B8h                                                      ; +0x190, 0x14018da10\nmov     rcx, rbx; Block                                                ; +0x195, 0x14018da15\ncall    j_j_free                                                       ; +0x198, 0x14018da18\nmov     rax, rbx                                                       ; +0x19d, 0x14018da1d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1a0, 0x14018da20\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x1a5, 0x14018da25\nadd     rsp, 20h                                                       ; +0x1aa, 0x14018da2a\npop     rdi                                                            ; +0x1ae, 0x14018da2e\nretn                                                                   ; +0x1af, 0x14018da2f", "xrefs": ["sub_1401905B8 @ 0x1401905bf", "<???> @ 0x14074c2d0", "<???> @ 0x14091919c"], "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"}