// // CustomSFXWidget::downloadSFXFailed from 0x1400c2680 to 0x1400c2773 (243 bytes) // // 2 xrefs: // > @ 0x14054ca48 // > @ 0x1406c7fd4 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CustomSFXWidget::downloadSFXFailed(CustomSFXWidget *a1, int a2, GJSongError a3) { float ty; // eax void (__fastcall ***v6)(_QWORD, __int16 *); // rcx __int32 v7; // ebx __int32 v8; // ebx const char *v9; // rdx __int16 v10; // [rsp+38h] [rbp+10h] BYREF char v11; // [rsp+3Ah] [rbp+12h] ty = a1->m_sAdditionalTransform.ty; if ( LODWORD(ty) == a2 && ty != 0.0 ) { LOBYTE(a2) = 1; (*(void (__fastcall **)(_QWORD, int))(**(_QWORD **)&a1->m_uOrderOfArrival + 320LL))( *(_QWORD *)&a1->m_uOrderOfArrival, a2); v6 = (void (__fastcall ***)(_QWORD, __int16 *))(*(_QWORD *)&a1->m_uOrderOfArrival + 368LL); v10 = 13055; v11 = 25; (**v6)(v6, &v10); v7 = a3 - 1; if ( v7 ) { v8 = v7 - 1; if ( v8 ) { if ( v8 == 1 ) v9 = "Download canceled."; else v9 = "Download failed. Please try again later."; } else { v9 = "SFX is not allowed for use."; } } else { v9 = "Failed to fetch SFX info."; } (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)&a1->m_uOrderOfArrival + 360LL))( *(_QWORD *)&a1->m_uOrderOfArrival + 360LL, v9); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)&a1->m_uOrderOfArrival, 230.0, 0.40000001, 0.0); CustomSFXWidget::hideLoadingArt((CustomSFXWidget *)((char *)a1 - 320)); cocos2d::CCNode::unschedule(&a1[-1].m_sTransform.b, CustomSFXWidget::updateDownloadProgress); HIBYTE(a1->m_sAdditionalTransform.d) = 0; CustomSFXWidget::updateSFXInfo((CustomSFXWidget *)((char *)a1 - 320)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source