//
// SetupSongTriggerPopup::valueDidChange from 0xaea570 to 0xaea604 (148 bytes)
//
// 2 xrefs:
// > ??> @ 0x4f720
// > ??> @ 0x14acc40
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:01:09 +0000
//
FMODAudioEngine *__fastcall SetupSongTriggerPopup::valueDidChange(SetupSongTriggerPopup *this, int a2, float a3)
{
FMODAudioEngine *result; // x0
FMODAudioEngine *v7; // x0
result = (FMODAudioEngine *)SetupAudioTriggerPopup::valueDidChange(this, a2, a3);
if ( a2 == 400 )
{
v7 = (FMODAudioEngine *)FMODAudioEngine::sharedEngine(result);
FMODAudioEngine::stopAllMusic(v7, 1);
result = (FMODAudioEngine *)SetupSongTriggerPopup::updateApplyPrepare(this, a3 != 0.0);
if ( a3 != 0.0 )
return (FMODAudioEngine *)SetupTriggerPopup::updateValue(this, 399, 0.0);
}
else if ( a2 == 404 )
{
return (FMODAudioEngine *)SetupSongTriggerPopup::updateLength(this);
}
return result;
}