// // CustomSFXWidget::downloadSFXFailed from 0x1005e4c40 to 0x1005e4cff (191 bytes) // // 1 xrefs: // > @ 0x100977068 // // 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 __fastcall CustomSFXWidget::downloadSFXFailed(CustomSFXWidget *a1, int a2, GJSongError a3) { cocos2d::CCLabelBMFont *m_errorLabel; // rdi unsigned __int32 v6; // r14d const char *v7; // rsi __int16 v8; // [rsp-1Ch] [rbp-1Ch] BYREF char v9; // [rsp-1Ah] [rbp-1Ah] if ( a1->m_sfxID == a2 && a1->m_sfxID != 0 ) { ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 1); m_errorLabel = a1->m_errorLabel; v9 = 25; v8 = 13055; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int16 *))m_errorLabel->setColor)(m_errorLabel, &v8); v6 = a3 - 1; if ( v6 > 2 ) v7 = "Download failed. Please try again later."; else v7 = off_100977140[v6]; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a1->m_errorLabel->setString)(a1->m_errorLabel, v7); cocos2d::CCLabelBMFont::limitLabelWidth(a1->m_errorLabel, 230.0, 0.40000001, 0.0); CustomSFXWidget::downloadFailed(a1); } }