//
// SetupAudioLineGuidePopup::onSpeed from 0x140607080 to 0x1406070d1 (81 bytes)
//
// 2 xrefs:
// > SetupAudioLineGuidePopup::init @ 0x140606f9d
// > ??> @ 0x14092f9b4
//
// 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 11:35:12 +0000
//
__int64 __fastcall SetupAudioLineGuidePopup::onSpeed(__int64 a1)
{
float v2; // xmm0_4
__int64 *v3; // rax
__int64 v4; // rdx
__int64 v5; // rcx
v2 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 499);
v3 = SelectSettingLayer::create(2u, (int)v2);
v4 = a1 + 1000;
if ( !a1 )
v4 = 0;
v5 = *v3;
v3[85] = v4;
return (*(__int64 (__fastcall **)(__int64 *))(v5 + 1064))(v3);
}