{"type": "func", "start": 5373436752, "end": 5373437277, "name": "MusicDownloadManager::dMusicDownloadManager", "pseudocode": "// \n// MusicDownloadManager::dMusicDownloadManager from 0x140482350 to 0x14048255d (525 bytes)\n// \n// 2 xrefs:\n// > sub_140480790 @ 0x14048079f\n// > <???> @ 0x140928994\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:32:45 +0000\n// \n\nvoid __fastcall MusicDownloadManager::dMusicDownloadManager(__int64 a1)\n{\n  cocos2d::CCObject *v2; // rcx\n  cocos2d::CCObject *v3; // rcx\n  cocos2d::CCObject *v4; // rcx\n  cocos2d::CCObject *v5; // rcx\n  cocos2d::CCObject *v6; // rcx\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCObject *v9; // rcx\n  cocos2d::CCObject *v10; // rcx\n  cocos2d::CCObject *v11; // rcx\n  cocos2d::CCObject *v12; // rcx\n\n  *(_QWORD *)a1 = &MusicDownloadManager::`vftable';\n  *(_QWORD *)(a1 + 320) = &MusicDownloadManager::`vftable';\n  qword_14090C070 = 0;\n  v2 = *(cocos2d::CCObject **)(a1 + 328);\n  if ( v2 )\n    cocos2d::CCObject::release(v2);\n  v3 = *(cocos2d::CCObject **)(a1 + 344);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *(cocos2d::CCObject **)(a1 + 336);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *(cocos2d::CCObject **)(a1 + 408);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  v6 = *(cocos2d::CCObject **)(a1 + 416);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  v7 = *(cocos2d::CCObject **)(a1 + 424);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *(cocos2d::CCObject **)(a1 + 352);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  v9 = *(cocos2d::CCObject **)(a1 + 448);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  v10 = *(cocos2d::CCObject **)(a1 + 456);\n  if ( v10 )\n    cocos2d::CCObject::release(v10);\n  v11 = *(cocos2d::CCObject **)(a1 + 464);\n  if ( v11 )\n    cocos2d::CCObject::release(v11);\n  v12 = *(cocos2d::CCObject **)(a1 + 920);\n  if ( v12 )\n    cocos2d::CCObject::release(v12);\n  MusicDownloadManager::clearSortedMusicCache(a1);\n  sub_14049BA20(a1 + 936);\n  sub_140080450((void **)(a1 + 904));\n  sub_140080450((void **)(a1 + 888));\n  sub_140069730(a1 + 864);\n  sub_14003EA90((_QWORD *)(a1 + 840));\n  sub_14003EA90((_QWORD *)(a1 + 800));\n  sub_14003EB00((void **)(a1 + 784));\n  sub_14003EA90((_QWORD *)(a1 + 736));\n  sub_14003EB00((void **)(a1 + 720));\n  sub_14003EA90((_QWORD *)(a1 + 672));\n  sub_14003EB00((void **)(a1 + 656));\n  sub_14003EA90((_QWORD *)(a1 + 608));\n  sub_14003EB00((void **)(a1 + 592));\n  sub_14003EA90((_QWORD *)(a1 + 544));\n  sub_14003EB00((void **)(a1 + 528));\n  sub_140083330((void **)(a1 + 488));\n  sub_14018C850(a1 + 472, a1 + 472, *(_QWORD *)(*(_QWORD *)(a1 + 472) + 8LL));\n  j_j_free(*(void **)(a1 + 472));\n  sub_14003D310(a1 + 368);\n  cocos2d::CCNode::~CCNode((cocos2d::CCNode *)a1);\n}", "assembly": "; \n; MusicDownloadManager::dMusicDownloadManager from 0x140482350 to 0x14048255d (525 bytes)\n; \n; 2 xrefs:\n; > sub_140480790 @ 0x14048079f\n; > <???> @ 0x140928994\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:32:45 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140482350\npush    rdi                                                            ; +0x5, 0x140482355\nsub     rsp, 20h                                                       ; +0x6, 0x140482356\nmov     rdi, rcx                                                       ; +0xa, 0x14048235a\nlea     rax, ??_7MusicDownloadManager@@6B@; const MusicDownloadManager::`vftable' ; +0xd, 0x14048235d\nmov     [rcx], rax                                                     ; +0x14, 0x140482364\nlea     rax, ??_7MusicDownloadManager@@6B@_0; const MusicDownloadManager::`vftable' ; +0x17, 0x140482367\nmov     [rcx+140h], rax                                                ; +0x1e, 0x14048236e\nmov     cs:qword_14090C070, 0                                          ; +0x25, 0x140482375\nmov     rcx, [rcx+148h]                                                ; +0x30, 0x140482380\ntest    rcx, rcx                                                       ; +0x37, 0x140482387\njz      short loc_140482392                                            ; +0x3a, 0x14048238a\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3c, 0x14048238c\nmov     rcx, [rdi+158h]                                                ; +0x42, 0x140482392\ntest    rcx, rcx                                                       ; +0x49, 0x140482399\njz      short loc_1404823A4                                            ; +0x4c, 0x14048239c\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x4e, 0x14048239e\nmov     rcx, [rdi+150h]                                                ; +0x54, 0x1404823a4\ntest    rcx, rcx                                                       ; +0x5b, 0x1404823ab\njz      short loc_1404823B6                                            ; +0x5e, 0x1404823ae\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x60, 0x1404823b0\nmov     rcx, [rdi+198h]                                                ; +0x66, 0x1404823b6\ntest    rcx, rcx                                                       ; +0x6d, 0x1404823bd\njz      short loc_1404823C8                                            ; +0x70, 0x1404823c0\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x72, 0x1404823c2\nmov     rcx, [rdi+1A0h]                                                ; +0x78, 0x1404823c8\ntest    rcx, rcx                                                       ; +0x7f, 0x1404823cf\njz      short loc_1404823DA                                            ; +0x82, 0x1404823d2\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x84, 0x1404823d4\nmov     rcx, [rdi+1A8h]                                                ; +0x8a, 0x1404823da\ntest    rcx, rcx                                                       ; +0x91, 0x1404823e1\njz      short loc_1404823EC                                            ; +0x94, 0x1404823e4\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x96, 0x1404823e6\nmov     rcx, [rdi+160h]                                                ; +0x9c, 0x1404823ec\ntest    rcx, rcx                                                       ; +0xa3, 0x1404823f3\njz      short loc_1404823FE                                            ; +0xa6, 0x1404823f6\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xa8, 0x1404823f8\nmov     rcx, [rdi+1C0h]                                                ; +0xae, 0x1404823fe\ntest    rcx, rcx                                                       ; +0xb5, 0x140482405\njz      short loc_140482410                                            ; +0xb8, 0x140482408\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xba, 0x14048240a\nmov     rcx, [rdi+1C8h]                                                ; +0xc0, 0x140482410\ntest    rcx, rcx                                                       ; +0xc7, 0x140482417\njz      short loc_140482422                                            ; +0xca, 0x14048241a\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xcc, 0x14048241c\nmov     rcx, [rdi+1D0h]                                                ; +0xd2, 0x140482422\ntest    rcx, rcx                                                       ; +0xd9, 0x140482429\njz      short loc_140482434                                            ; +0xdc, 0x14048242c\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xde, 0x14048242e\nmov     rcx, [rdi+398h]                                                ; +0xe4, 0x140482434\ntest    rcx, rcx                                                       ; +0xeb, 0x14048243b\njz      short loc_140482446                                            ; +0xee, 0x14048243e\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xf0, 0x140482440\nmov     rcx, rdi                                                       ; +0xf6, 0x140482446\ncall    MusicDownloadManager__clearSortedMusicCache                    ; +0xf9, 0x140482449\nlea     rcx, [rdi+3A8h]                                                ; +0xfe, 0x14048244e\ncall    sub_14049BA20                                                  ; +0x105, 0x140482455\nlea     rcx, [rdi+388h]                                                ; +0x10a, 0x14048245a\ncall    sub_140080450                                                  ; +0x111, 0x140482461\nlea     rcx, [rdi+378h]                                                ; +0x116, 0x140482466\ncall    sub_140080450                                                  ; +0x11d, 0x14048246d\nlea     rcx, [rdi+360h]                                                ; +0x122, 0x140482472\ncall    sub_140069730                                                  ; +0x129, 0x140482479\nlea     rcx, [rdi+348h]; void *                                        ; +0x12e, 0x14048247e\ncall    sub_14003EA90                                                  ; +0x135, 0x140482485\nlea     rcx, [rdi+320h]; void *                                        ; +0x13a, 0x14048248a\ncall    sub_14003EA90                                                  ; +0x141, 0x140482491\nlea     rcx, [rdi+310h]                                                ; +0x146, 0x140482496\ncall    sub_14003EB00                                                  ; +0x14d, 0x14048249d\nlea     rcx, [rdi+2E0h]; void *                                        ; +0x152, 0x1404824a2\ncall    sub_14003EA90                                                  ; +0x159, 0x1404824a9\nlea     rcx, [rdi+2D0h]                                                ; +0x15e, 0x1404824ae\ncall    sub_14003EB00                                                  ; +0x165, 0x1404824b5\nlea     rcx, [rdi+2A0h]; void *                                        ; +0x16a, 0x1404824ba\ncall    sub_14003EA90                                                  ; +0x171, 0x1404824c1\nlea     rcx, [rdi+290h]                                                ; +0x176, 0x1404824c6\ncall    sub_14003EB00                                                  ; +0x17d, 0x1404824cd\nlea     rcx, [rdi+260h]; void *                                        ; +0x182, 0x1404824d2\ncall    sub_14003EA90                                                  ; +0x189, 0x1404824d9\nlea     rcx, [rdi+250h]                                                ; +0x18e, 0x1404824de\ncall    sub_14003EB00                                                  ; +0x195, 0x1404824e5\nlea     rcx, [rdi+220h]; void *                                        ; +0x19a, 0x1404824ea\ncall    sub_14003EA90                                                  ; +0x1a1, 0x1404824f1\nlea     rcx, [rdi+210h]                                                ; +0x1a6, 0x1404824f6\ncall    sub_14003EB00                                                  ; +0x1ad, 0x1404824fd\nlea     rcx, [rdi+1E8h]                                                ; +0x1b2, 0x140482502\ncall    sub_140083330                                                  ; +0x1b9, 0x140482509\nmov     r8, [rdi+1D8h]                                                 ; +0x1be, 0x14048250e\nmov     r8, [r8+8]                                                     ; +0x1c5, 0x140482515\nlea     rdx, [rdi+1D8h]                                                ; +0x1c9, 0x140482519\nlea     rcx, [rdi+1D8h]                                                ; +0x1d0, 0x140482520\ncall    sub_14018C850                                                  ; +0x1d7, 0x140482527\nmov     edx, 48h ; 'H'                                                 ; +0x1dc, 0x14048252c\nmov     rcx, [rdi+1D8h]; Block                                         ; +0x1e1, 0x140482531\ncall    j_j_free                                                       ; +0x1e8, 0x140482538\nlea     rcx, [rdi+170h]                                                ; +0x1ed, 0x14048253d\ncall    sub_14003D310                                                  ; +0x1f4, 0x140482544\nmov     rcx, rdi                                                       ; +0x1f9, 0x140482549\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1fc, 0x14048254c\nadd     rsp, 20h                                                       ; +0x201, 0x140482551\npop     rdi                                                            ; +0x205, 0x140482555\njmp     cs:__imp_??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0x206, 0x140482556", "xrefs": ["sub_140480790 @ 0x14048079f", "<???> @ 0x140928994"], "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"}