//
// SetupSongTriggerPopup::updateLength from 0x9a9d5c to 0x9a9db4 (88 bytes)
//
// 3 xrefs:
// > SetupSongTriggerPopup::valueDidChange @ 0x9a9e04
// > SetupSongTriggerPopup::init @ 0x9aa2f0
// > ??> @ 0xc14b8
//
// 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 SetupSongTriggerPopup::updateLength(SetupSongTriggerPopup *a1)
{
CustomSongWidget *m_songWidget; // x20
float v3; // s0
float v4; // s0
m_songWidget = a1->m_selectNode->m_songWidget;
if ( m_songWidget )
{
FMODAudioEngine::sharedEngine();
v3 = a1->getValue(a1, 404);
v4 = FMODAudioEngine::pitchForIdx((int)v3);
CustomSongWidget::updateLengthMod(m_songWidget, v4);
}
}