{"type": "func", "start": 5369548768, "end": 5369548894, "name": "CustomSongWidget::downloadSongFailed", "pseudocode": "// \n// CustomSongWidget::downloadSongFailed from 0x1400ccfe0 to 0x1400cd05e (126 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14054ec80\n// > <???> @ 0x1406c83a0\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 CustomSongWidget::downloadSongFailed(CustomSongWidget *a1, int a2, GJSongError a3)\n{\n  GJSongError v3; // r9d\n  CustomSongWidget *v4; // rbx\n  int m_customSongID; // eax\n\n  v4 = (CustomSongWidget *)((char *)a1 - 320);\n  if ( BYTE1(a1->m_pGrid) )\n  {\n    CustomSongWidget::downloadAssetFailed((CustomSongWidget *)((char *)a1 - 320), a2, (GJAssetType)1, v3);\n  }\n  else\n  {\n    m_customSongID = v4->m_customSongID;\n    if ( m_customSongID == a2 )\n    {\n      if ( m_customSongID )\n      {\n        CustomSongWidget::updateError((CustomSongWidget *)((char *)a1 - 320), a3);\n        v4->m_sliderGroove->setVisible(v4->m_sliderGroove, 0);\n        cocos2d::CCNode::unschedule(v4, CustomSongWidget::updateDownloadProgress);\n        v4->m_isNotDownloading = 0;\n        CustomSongWidget::updateSongInfo(v4);\n      }\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::downloadSongFailed from 0x1400ccfe0 to 0x1400cd05e (126 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14054ec80\n; > <???> @ 0x1406c83a0\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, 0x1400ccfe0\nsub     rsp, 20h                                                       ; +0x2, 0x1400ccfe2\ncmp     byte ptr [rcx+0C9h], 0                                         ; +0x6, 0x1400ccfe6\nlea     rbx, [rcx-140h]                                                ; +0xd, 0x1400ccfed\njz      short loc_1400CD009                                            ; +0x14, 0x1400ccff4\nmov     r8d, 1                                                         ; +0x16, 0x1400ccff6\nmov     rcx, rbx                                                       ; +0x1c, 0x1400ccffc\nadd     rsp, 20h                                                       ; +0x1f, 0x1400ccfff\npop     rbx                                                            ; +0x23, 0x1400cd003\njmp     CustomSongWidget__downloadAssetFailed                          ; +0x24, 0x1400cd004\nmov     eax, [rbx+1F0h]                                                ; +0x29, 0x1400cd009\ncmp     eax, edx                                                       ; +0x2f, 0x1400cd00f\njnz     short loc_1400CD058                                            ; +0x31, 0x1400cd011\ntest    eax, eax                                                       ; +0x33, 0x1400cd013\njz      short loc_1400CD058                                            ; +0x35, 0x1400cd015\nmov     edx, r8d                                                       ; +0x37, 0x1400cd017\nmov     rcx, rbx                                                       ; +0x3a, 0x1400cd01a\ncall    CustomSongWidget__updateError                                  ; +0x3d, 0x1400cd01d\nmov     rcx, [rbx+1C0h]                                                ; +0x42, 0x1400cd022\nxor     edx, edx                                                       ; +0x49, 0x1400cd029\nmov     rax, [rcx]                                                     ; +0x4b, 0x1400cd02b\ncall    qword ptr [rax+140h]                                           ; +0x4e, 0x1400cd02e\nlea     rdx, CustomSongWidget__updateDownloadProgress                  ; +0x54, 0x1400cd034\nmov     rcx, rbx                                                       ; +0x5b, 0x1400cd03b\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x5e, 0x1400cd03e\nmov     rcx, rbx                                                       ; +0x64, 0x1400cd044\nmov     byte ptr [rbx+1EBh], 0                                         ; +0x67, 0x1400cd047\nadd     rsp, 20h                                                       ; +0x6e, 0x1400cd04e\npop     rbx                                                            ; +0x72, 0x1400cd052\njmp     CustomSongWidget__updateSongInfo                               ; +0x73, 0x1400cd053\nadd     rsp, 20h                                                       ; +0x78, 0x1400cd058\npop     rbx                                                            ; +0x7c, 0x1400cd05c\nretn                                                                   ; +0x7d, 0x1400cd05d", "xrefs": ["<???> @ 0x14054ec80", "<???> @ 0x1406c83a0"], "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"}