//
// SetupSongTriggerPopup::updateLength from 0xaea518 to 0xaea570 (88 bytes)
//
// 3 xrefs:
// > SetupSongTriggerPopup::valueDidChange @ 0xaea5c0
// > SetupSongTriggerPopup::init @ 0xaeaa70
// > ??> @ 0xfbd88
//
// 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:01:09 +0000
//
_QWORD *__fastcall SetupSongTriggerPopup::updateLength(_QWORD *this)
{
CustomSongWidget *v1; // x20
_QWORD *v2; // x19
float v3; // s0
float v4; // s0
v1 = *(CustomSongWidget **)(*(this + 130) + 416LL);
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 *)CustomSongWidget::updateLengthMod(v1, v4);
}
return this;
}