//
// SetupSongTriggerPopup::valueDidChange from 0x658448 to 0x6584b0 (104 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:31 +0000
//
FMODAudioEngine *__fastcall SetupSongTriggerPopup::valueDidChange(SetupSongTriggerPopup *this, int a2, float a3)
{
FMODAudioEngine *result; // r0
FMODAudioEngine *v7; // r0
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 SetupSongTriggerPopup::updateLength(this);
}
return result;
}