//
// CustomSFXWidget::downloadSFXFinished from 0x1002f16a4 to 0x1002f16f4 (80 bytes)
//
// 2 xrefs:
// > sub_1002F16F4 @ 0x1002f16f8
// > ??> @ 0x1007e79e0
//
// 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::downloadSFXFinished(CustomSFXWidget *a1, int a2)
{
int m_sfxID; // w8
GameManager *v5; // x0
cocos2d::CCObject *v6; // x1
m_sfxID = a1->m_sfxID;
if ( m_sfxID == a2 && m_sfxID != 0 )
{
v5 = GameManager::sharedState();
if ( !GameManager::getGameVariable(v5, "0143") )
CustomSFXWidget::onPlayback(a1, v6);
}
}