//
// SetupSongTriggerPopup::updateLength from 0x1002c0850 to 0x1002c089d (77 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:28:05 +0000
//
__int64 __fastcall SetupSongTriggerPopup::updateLength(_QWORD *a1, double a2)
{
__int64 result; // rax
__int64 v3; // rbx
float v4; // xmm0_4
double v5; // xmm0_8
result = a1[130];
v3 = *(_QWORD *)(result + 416);
if ( v3 )
{
FMODAudioEngine::sharedEngine(a2);
v4 = (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 404);
v5 = FMODAudioEngine::pitchForIdx((unsigned int)(int)v4, 404);
return CustomSongWidget::updateLengthMod(v3, v5);
}
return result;
}