//
// SetupSongTriggerPopup::valueDidChange from 0x1001c367c to 0x1001c3710 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007b78c0
//
// 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 SetupSongTriggerPopup::valueDidChange(SetupSongTriggerPopup *a1, int a2, float a3)
{
FMODAudioEngine *v6; // x0
SetupAudioTriggerPopup::valueDidChange(a1, a2, a3);
if ( a2 == 404 )
{
SetupSongTriggerPopup::updateLength(a1);
}
else if ( a2 == 400 )
{
v6 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::stopAllMusic(v6, 1);
SetupSongTriggerPopup::updateApplyPrepare(a1, a3 != 0.0);
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 399, 0.0);
}
}