//
// SetupTriggerPopup::onCustomEaseArrowDown from 0x100225220 to 0x1002252be (158 bytes)
//
// 1 xrefs:
// > SetupTriggerPopup::createCustomEasingControls @ 0x100224f18
//
// 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::onCustomEaseArrowDown(_QWORD *a1, __int64 a2)
{
__int64 v2; // r14
int v3; // eax
int v4; // ecx
unsigned int v5; // ecx
int v6; // r15d
__int64 result; // rax
v2 = (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v3 = (int)(*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, v2);
v4 = 1;
if ( v3 >= 2 )
v4 = v3;
v5 = v4 - 1;
v6 = 18;
if ( v5 < 0x12 )
v6 = v5;
SetupTriggerPopup::valueChanged(a1, v2, (float)v6);
SetupTriggerPopup::updateCustomEaseLabel(a1, (unsigned int)v2, (unsigned int)v6);
result = cocos2d::CCDictionary::objectForKey_1(a1[117]);
if ( result )
return SetupTriggerPopup::toggleCustomEaseRateVisibility(a1, (unsigned int)v2, *(unsigned int *)(result + 56));
return result;
}