//
// SetupSFXPopup::updateLength from 0x1004b35c0 to 0x1004b3606 (70 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:30:59 +0000
//
__int64 __fastcall SetupSFXPopup::updateLength(_QWORD *a1)
{
__int64 v1; // rbx
float v2; // xmm0_4
float v3; // xmm0_4
__int64 result; // rax
v1 = a1[131];
if ( v1 )
{
FMODAudioEngine::sharedEngine();
v2 = (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 404);
v3 = FMODAudioEngine::pitchForIdx((int)v2);
return CustomSFXWidget::updateLengthMod(v1, v3);
}
return result;
}