//
// SetupSFXPopup::updateLength from 0xb6c530 to 0xb6c584 (84 bytes)
//
// 3 xrefs:
// > SetupSFXPopup::createSFXWidget @ 0xb6d8c0
// > SetupSFXPopup::valueDidChange @ 0xb6db28
// > ??> @ 0xee570
//
// 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:02:18 +0000
//
_QWORD *__fastcall SetupSFXPopup::updateLength(_QWORD *this)
{
CustomSFXWidget *v1; // x20
_QWORD *v2; // x19
float v3; // s0
float v4; // s0
v1 = (CustomSFXWidget *)*(this + 131);
if ( v1 )
{
v2 = this;
FMODAudioEngine::sharedEngine((FMODAudioEngine *)this);
v3 = (*(float (__fastcall **)(_QWORD *, __int64))(*v2 + 1464LL))(v2, 404);
v4 = FMODAudioEngine::pitchForIdx((FMODAudioEngine *)(unsigned int)(int)v3);
return (_QWORD *)CustomSFXWidget::updateLengthMod(v1, v4);
}
return this;
}