{"type": "func", "start": 4296879088, "end": 4296879260, "name": "MusicDownloadManager::generateResourceAssetList", "pseudocode": "// \n// MusicDownloadManager::generateResourceAssetList from 0x1001d2bf0 to 0x1001d2c9c (172 bytes)\n// \n// 1 xrefs:\n// > MusicDownloadManager::init @ 0x1001d2bdc\n// \n// This function is hookable on this platform (idp: arm, 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:00:23 +0000\n// \n\n__int64 __fastcall MusicDownloadManager::generateResourceAssetList(__int64 a1)\n{\n  _OWORD v3[65]; // [xsp+0h] [xbp-440h] BYREF\n  __int64 v4; // [xsp+410h] [xbp-30h] BYREF\n\n  memcpy(v3, &unk_1007611CC, sizeof(v3));\n  sub_1001E8F9C(a1 + 528, v3, &v4);\n  v3[0] = xmmword_1007615DC;\n  v3[1] = xmmword_1007615EC;\n  LODWORD(v3[2]) = 10006555;\n  return sub_1001E8F9C(a1 + 568, v3, (char *)&v3[2] + 4);\n}", "assembly": "; \n; MusicDownloadManager::generateResourceAssetList from 0x1001d2bf0 to 0x1001d2c9c (172 bytes)\n; \n; 1 xrefs:\n; > MusicDownloadManager::init @ 0x1001d2bdc\n; \n; This function is hookable on this platform (idp: arm, 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:00:23 +0000\n; \nSTP             X28, X27, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001d2bf0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001d2bf4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001d2bf8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001d2bfc\nSUB             SP, SP, #0x420                                         ; +0x10, 0x1001d2c00\nMOV             X19, X0                                                ; +0x14, 0x1001d2c04\nADRP            X8, #___stack_chk_guard_ptr@PAGE                       ; +0x18, 0x1001d2c08\nLDR             X8, [X8,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x1c, 0x1001d2c0c\nLDR             X8, [X8]                                               ; +0x20, 0x1001d2c10\nSTUR            X8, [X29,#var_28]                                      ; +0x24, 0x1001d2c14\nADRL            X1, unk_1007611CC; __src                               ; +0x28, 0x1001d2c18\nMOV             X20, SP                                                ; +0x30, 0x1001d2c20\nMOV             X0, SP; __dst                                          ; +0x34, 0x1001d2c24\nMOV             W2, #0x410; __n                                        ; +0x38, 0x1001d2c28\nBL              _memcpy                                                ; +0x3c, 0x1001d2c2c\nADD             X0, X19, #0x210                                        ; +0x40, 0x1001d2c30\nMOV             X1, SP                                                 ; +0x44, 0x1001d2c34\nADD             X2, X20, #0x410                                        ; +0x48, 0x1001d2c38\nBL              sub_1001E8F9C                                          ; +0x4c, 0x1001d2c3c\nADRL            X8, xmmword_1007615DC                                  ; +0x50, 0x1001d2c40\nLDP             Q0, Q1, [X8]                                           ; +0x58, 0x1001d2c48\nSTP             Q0, Q1, [SP,#0x440+var_440]                            ; +0x5c, 0x1001d2c4c\nMOV             W8, #0x98B01B                                          ; +0x60, 0x1001d2c50\nSTR             W8, [SP,#0x440+var_420]                                ; +0x68, 0x1001d2c58\nADD             X0, X19, #0x238                                        ; +0x6c, 0x1001d2c5c\nMOV             X1, SP                                                 ; +0x70, 0x1001d2c60\nADD             X2, X20, #0x24 ; '$'                                   ; +0x74, 0x1001d2c64\nBL              sub_1001E8F9C                                          ; +0x78, 0x1001d2c68\nLDUR            X8, [X29,#var_28]                                      ; +0x7c, 0x1001d2c6c\nADRP            X9, #___stack_chk_guard_ptr@PAGE                       ; +0x80, 0x1001d2c70\nLDR             X9, [X9,#___stack_chk_guard_ptr@PAGEOFF]; ___stack_chk_guard ; +0x84, 0x1001d2c74\nLDR             X9, [X9]                                               ; +0x88, 0x1001d2c78\nCMP             X9, X8                                                 ; +0x8c, 0x1001d2c7c\nB.NE            loc_1001D2C98                                          ; +0x90, 0x1001d2c80\nADD             SP, SP, #0x420                                         ; +0x94, 0x1001d2c84\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x98, 0x1001d2c88\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x9c, 0x1001d2c8c\nLDP             X28, X27, [SP+0x20+var_20],#0x30                       ; +0xa0, 0x1001d2c90\nRET                                                                    ; +0xa4, 0x1001d2c94\nBL              ___stack_chk_fail                                      ; +0xa8, 0x1001d2c98", "xrefs": ["MusicDownloadManager::init @ 0x1001d2bdc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}