//
// CustomSFXWidget::updateSFXObject from 0x1002f0cf4 to 0x1002f0d48 (84 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x1002f08b4
//
// 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::updateSFXObject(CustomSFXWidget *a1, SFXInfoObject *a2)
{
SFXInfoObject *m_sfxObject; // x8
((void (__fastcall *)(cocos2d::CCLabelBMFont *, _QWORD))a1->m_errorLabel->setVisible)(a1->m_errorLabel, 0);
sub_1000FA890((__int64)a1, a2);
m_sfxObject = a1->m_sfxObject;
if ( m_sfxObject )
LODWORD(m_sfxObject) = m_sfxObject->m_sfxID;
a1->m_sfxID = (int)m_sfxObject;
CustomSFXWidget::updateSFXInfo(a1);
}