//
// SetupTriggerPopup::onCustomEaseRate from 0x100225090 to 0x10022514e (190 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x100224ce4
//
// 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::onCustomEaseRate(__int64 a1, __int64 a2)
{
unsigned int v2; // eax
float v3; // xmm0_4
__int64 v4; // r14
unsigned int v5; // eax
_WORD v7[8]; // [rsp+0h] [rbp-40h] BYREF
void *__p; // [rsp+10h] [rbp-30h]
char v9; // [rsp+18h] [rbp-28h] BYREF
void *v10[4]; // [rsp+19h] [rbp-27h] BYREF
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v3 = (*(float (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1464LL))(a1, v2);
v9 = 22;
strcpy((char *)v10, "Easing Rate");
v7[0] = 0;
v4 = ConfigureValuePopup::create(a1 + 664, &v9, v7, 0, v3, 0.1, 4.0);
if ( (v7[0] & 1) != 0 )
operator delete(__p);
if ( (v9 & 1) != 0 )
operator delete(*(void **)((char *)&v10[1] + 7));
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 72LL))(v4, v5);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}