{"type": "func", "start": 5373425136, "end": 5373425224, "name": "SFXBrowser::trySetupSFXBrowser", "pseudocode": "// \n// SFXBrowser::trySetupSFXBrowser from 0x14047f5f0 to 0x14047f648 (88 bytes)\n// \n// 2 xrefs:\n// > SFXBrowser::init @ 0x14047f542\n// > <???> @ 0x1406db984\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid SFXBrowser::trySetupSFXBrowser(SFXBrowser *a1)\n{\n  MusicDownloadManager *v2; // rax\n  MusicDownloadManager *v3; // rax\n\n  if ( MusicDownloadManager::sharedState()->m_sfxObjects )\n  {\n    SFXBrowser::setupSFXBrowser(a1);\n  }\n  else if ( MusicDownloadManager::sharedState()->m_customContentURL.m_data.m_size )\n  {\n    v3 = MusicDownloadManager::sharedState();\n    MusicDownloadManager::downloadSFXLibrary(v3);\n  }\n  else\n  {\n    v2 = MusicDownloadManager::sharedState();\n    MusicDownloadManager::getCustomContentURL(v2);\n  }\n}", "assembly": "; \n; SFXBrowser::trySetupSFXBrowser from 0x14047f5f0 to 0x14047f648 (88 bytes)\n; \n; 2 xrefs:\n; > SFXBrowser::init @ 0x14047f542\n; > <???> @ 0x1406db984\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x14047f5f0\nsub     rsp, 20h                                                       ; +0x2, 0x14047f5f2\nmov     rbx, rcx                                                       ; +0x6, 0x14047f5f6\ncall    MusicDownloadManager__sharedState                              ; +0x9, 0x14047f5f9\ncmp     qword ptr [rax+190h], 0                                        ; +0xe, 0x14047f5fe\njz      short loc_14047F615                                            ; +0x16, 0x14047f606\nmov     rcx, rbx                                                       ; +0x18, 0x14047f608\nadd     rsp, 20h                                                       ; +0x1b, 0x14047f60b\npop     rbx                                                            ; +0x1f, 0x14047f60f\njmp     SFXBrowser__setupSFXBrowser                                    ; +0x20, 0x14047f610\ncall    MusicDownloadManager__sharedState                              ; +0x25, 0x14047f615\ncmp     qword ptr [rax+180h], 0                                        ; +0x2a, 0x14047f61a\njnz     short loc_14047F636                                            ; +0x32, 0x14047f622\ncall    MusicDownloadManager__sharedState                              ; +0x34, 0x14047f624\nmov     rcx, rax                                                       ; +0x39, 0x14047f629\nadd     rsp, 20h                                                       ; +0x3c, 0x14047f62c\npop     rbx                                                            ; +0x40, 0x14047f630\njmp     MusicDownloadManager__getCustomContentURL                      ; +0x41, 0x14047f631\ncall    MusicDownloadManager__sharedState                              ; +0x46, 0x14047f636\nmov     rcx, rax                                                       ; +0x4b, 0x14047f63b\nadd     rsp, 20h                                                       ; +0x4e, 0x14047f63e\npop     rbx                                                            ; +0x52, 0x14047f642\njmp     MusicDownloadManager__downloadSFXLibrary                       ; +0x53, 0x14047f643", "xrefs": ["SFXBrowser::init @ 0x14047f542", "<???> @ 0x1406db984"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}