//
// sub_1008DD540 from 0x1008dd540 to 0x1008dd5d7 (151 bytes)
//
// 1 xrefs:
// > sub_1008DCDF0 @ 0x1008dd12b
//
// 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:37:44 +0000
//
void __fastcall sub_1008DD540(__int64 a1, __int64 a2)
{
int v3; // r14d
__int64 v4; // rsi
__int64 v5; // rdi
if ( *(_QWORD *)(a1 + 1016) )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
SetupTriggerPopup::valueChanged(*(_QWORD **)(a1 + 1016), *(_DWORD *)(a1 + 1028), (float)v3);
v4 = *(unsigned int *)(a1 + 1028);
v5 = *(_QWORD *)(a1 + 1016);
if ( (_DWORD)v4 == 30 )
{
*(_DWORD *)(v5 + 816) = v3;
SetupTriggerPopup::updateEaseLabel(v5);
sub_1002244E0(*(_QWORD *)(a1 + 1016));
}
else
{
SetupTriggerPopup::updateCustomEaseLabel(v5, v4, v3);
SetupTriggerPopup::toggleCustomEaseRateVisibility(*(_QWORD **)(a1 + 1016), *(_DWORD *)(a1 + 1028));
}
sub_1008DD5F0(a1);
sub_1008DD720(a1);
}
}