//
// SetupSFXPopup::updateLength from 0x100180e1c to 0x100180e70 (84 bytes)
//
// 2 xrefs:
// > SetupSFXPopup::createSFXWidget @ 0x100180b34
// > SetupSFXPopup::valueDidChange @ 0x100180fc0
//
// 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 SetupSFXPopup::updateLength(SetupSFXPopup *a1)
{
CustomSFXWidget *m_sfxWidget; // x19
float v3; // s0
float v4; // s0
m_sfxWidget = a1->m_sfxWidget;
if ( m_sfxWidget )
{
FMODAudioEngine::sharedEngine();
v3 = ((float (__fastcall *)(SetupSFXPopup *, __int64))a1->getValue)(a1, 404);
v4 = FMODAudioEngine::pitchForIdx((int)v3);
CustomSFXWidget::updateLengthMod(m_sfxWidget, v4);
}
}