//
// SetupTriggerPopup::onCustomEaseArrow from 0x1406156e0 to 0x140615773 (147 bytes)
//
// 3 xrefs:
// > SetupTriggerPopup::onCustomEaseArrowUp @ 0x14061569f
// > SetupTriggerPopup::onCustomEaseArrowDown @ 0x1406156cf
// > ??> @ 0x1409300d4
//
// 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
//
struct cocos2d::CCObject *__fastcall SetupTriggerPopup::onCustomEaseArrow(
cocos2d::CCDictionary **a1,
unsigned int a2,
unsigned __int8 a3)
{
__int64 v4; // rsi
int v5; // ebx
struct cocos2d::CCObject *result; // rax
v4 = (int)a2;
v5 = (int)(*((float (__fastcall **)(cocos2d::CCDictionary **, _QWORD))*a1 + 146))(a1, a2) + 2 * a3 - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > 18 )
v5 = 18;
SetupTriggerPopup::valueChanged((__int64)a1, v4, (float)v5);
SetupTriggerPopup::updateCustomEaseLabel(a1, (unsigned int)v4, (unsigned int)v5);
result = cocos2d::CCDictionary::objectForKey(a1[115], v4);
if ( result )
return (struct cocos2d::CCObject *)SetupTriggerPopup::toggleCustomEaseRateVisibility(
a1,
(unsigned int)v4,
*((unsigned int *)result + 14));
return result;
}