//
// EasingSelectPopup::onCell from 0x140176790 to 0x14017683e (174 bytes)
//
// 4 xrefs:
// > EasingSelectPopup::init @ 0x140175fe9
// > ??> @ 0x14089d4c0
// > ??> @ 0x14089d4d0
// > ??> @ 0x140918554
//
// 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:27:33 +0000
//
void __fastcall EasingSelectPopup::onCell(__int64 a1, __int64 a2)
{
unsigned int v3; // eax
unsigned int v4; // edi
__int64 v5; // rdx
__int64 v6; // rcx
if ( *(_QWORD *)(a1 + 1000) )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = v3;
SetupTriggerPopup::valueChanged(*(_QWORD *)(a1 + 1000), *(unsigned int *)(a1 + 1012));
v5 = *(unsigned int *)(a1 + 1012);
v6 = *(_QWORD *)(a1 + 1000);
if ( (_DWORD)v5 == 30 )
{
*(_DWORD *)(v6 + 816) = v4;
SetupTriggerPopup::updateEaseLabel(*(_QWORD *)(a1 + 1000));
SetupTriggerPopup::toggleEaseRateVisibility(*(_QWORD *)(a1 + 1000));
}
else
{
SetupTriggerPopup::updateCustomEaseLabel(v6, v5, v4);
SetupTriggerPopup::toggleCustomEaseRateVisibility(
*(_QWORD *)(a1 + 1000),
*(unsigned int *)(a1 + 1012),
*(unsigned int *)(a1 + 1016));
}
EasingSelectPopup::refreshCellHighlight(a1);
EasingSelectPopup::refreshRateVisual(a1);
}
}