//
// SetupSFXPopup::updateLength from 0x1004ba4c0 to 0x1004ba506 (70 bytes)
//
// 0 xrefs:
//
// 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; // rbx
float v2; // xmm0_4
float v3; // xmm0_4
m_sfxWidget = a1->m_sfxWidget;
if ( m_sfxWidget )
{
FMODAudioEngine::sharedEngine();
v2 = ((float (__fastcall *)(SetupSFXPopup *, __int64))a1->getValue)(a1, 404);
v3 = FMODAudioEngine::pitchForIdx((int)v2);
CustomSFXWidget::updateLengthMod(m_sfxWidget, v3);
}
}