//
// SetupTriggerPopup::onCustomEaseRate from 0x140615560 to 0x14061567e (286 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x1406151c3
// > ??> @ 0x1409300b0
//
// 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:17 +0000
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall SetupTriggerPopup::onCustomEaseRate(__int64 *a1, __int64 a2)
{
int v4; // esi
__int64 v5; // rbx
unsigned int v6; // eax
__int64 v7; // rdx
__int64 v8; // r8
_QWORD *v9; // rdi
__int64 v10; // rbx
unsigned int v11; // eax
_DWORD v13[4]; // [rsp+40h] [rbp-58h] BYREF
__int64 v14; // [rsp+50h] [rbp-48h]
__int64 v15; // [rsp+58h] [rbp-40h]
__int64 v16[2]; // [rsp+60h] [rbp-38h] BYREF
__int64 v17; // [rsp+70h] [rbp-28h]
__int64 v18; // [rsp+78h] [rbp-20h]
v4 = (_DWORD)a1 + 664;
if ( !a1 )
v4 = 0;
*(_OWORD *)v16 = 0;
v17 = 0;
v18 = 15;
LOBYTE(v16[0]) = 0;
v13[3] = 0;
v14 = 11;
v15 = 15;
strcpy((char *)v13, "Easing Rate");
v5 = *a1;
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
(*(void (__fastcall **)(__int64 *, _QWORD))(v5 + 1168))(a1, v6);
v9 = ConfigureValuePopup::create(v4, v7, v8, 4.0, (__int64)v13, (__int64)v16, 0);
v10 = *v9;
v11 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
(*(void (__fastcall **)(_QWORD *, _QWORD))(v10 + 64))(v9, v11);
return (*(__int64 (__fastcall **)(_QWORD *))(*v9 + 1064LL))(v9);
}