//
// SetupTriggerPopup::onEaseRate from 0x100223fa0 to 0x10022403c (156 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::createEasingControls @ 0x100223b55
//
// 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:27:04 +0000
//
__int64 __fastcall SetupTriggerPopup::onEaseRate(__int64 a1)
{
float v1; // xmm0_4
__int64 v2; // rbx
_WORD v4[8]; // [rsp+8h] [rbp-38h] BYREF
void *__p; // [rsp+18h] [rbp-28h]
char v6; // [rsp+20h] [rbp-20h] BYREF
void *v7[3]; // [rsp+21h] [rbp-1Fh] BYREF
v1 = *(float *)(a1 + 820);
v6 = 22;
strcpy((char *)v7, "Easing Rate");
v4[0] = 0;
v2 = ConfigureValuePopup::create(a1 + 664, &v6, v4, 0, v1, 0.1, 4.0);
if ( (v4[0] & 1) != 0 )
operator delete(__p);
if ( (v6 & 1) != 0 )
operator delete(*(void **)((char *)&v7[1] + 7));
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 72LL))(v2, 85);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
}