{"type": "func", "start": 4296907688, "end": 4296907744, "name": "MusicDownloadManager::firstSetup", "pseudocode": "// \n// MusicDownloadManager::firstSetup from 0x1001d9ba8 to 0x1001d9be0 (56 bytes)\n// \n// 1 xrefs:\n// > GameManager::firstLoad @ 0x1003ba104\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:27 +0000\n// \n\n__int64 __fastcall MusicDownloadManager::firstSetup(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x0\n\n  v1 = result;\n  if ( !*(_QWORD *)(result + 344) )\n  {\n    v2 = cocos2d::CCDictionary::create(result);\n    result = sub_1001D9BE0(v1, v2);\n  }\n  *(_DWORD *)(v1 + 360) = 0;\n  return result;\n}", "assembly": "; \n; MusicDownloadManager::firstSetup from 0x1001d9ba8 to 0x1001d9be0 (56 bytes)\n; \n; 1 xrefs:\n; > GameManager::firstLoad @ 0x1003ba104\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:27 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001d9ba8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001d9bac\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001d9bb0\nMOV             X19, X0                                                ; +0xc, 0x1001d9bb4\nLDR             X8, [X0,#0x158]                                        ; +0x10, 0x1001d9bb8\nCBNZ            X8, loc_1001D9BD0                                      ; +0x14, 0x1001d9bbc\nBL              cocos2d__CCDictionary__create                          ; +0x18, 0x1001d9bc0\nMOV             X1, X0                                                 ; +0x1c, 0x1001d9bc4\nMOV             X0, X19                                                ; +0x20, 0x1001d9bc8\nBL              sub_1001D9BE0                                          ; +0x24, 0x1001d9bcc\nSTR             WZR, [X19,#0x168]                                      ; +0x28, 0x1001d9bd0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x1001d9bd4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x1001d9bd8\nRET                                                                    ; +0x34, 0x1001d9bdc", "xrefs": ["GameManager::firstLoad @ 0x1003ba104"], "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"}