//
// SetupTriggerPopup::onCustomEaseArrow from 0x5488d0 to 0x54893a (106 bytes)
//
// 2 xrefs:
// > SetupTriggerPopup::onCustomEaseArrowUp @ 0x548950
// > SetupTriggerPopup::onCustomEaseArrowDown @ 0x54896a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void SetupTriggerPopup::onCustomEaseArrow(SetupTriggerPopup *a1, int a2, bool a3)
{
_BOOL4 v5; // r4
int v6; // r0
int v7; // r0
int v8; // r4
cocos2d::CCObject *v9; // r3
v5 = a3;
v6 = (int)((float (__fastcall *)(SetupTriggerPopup *))a1->getValue)(a1);
if ( v5 )
v7 = v6 + 1;
else
v7 = v6 - 1;
v8 = v7 & ~(v7 >> 31);
if ( v8 >= 18 )
v8 = 18;
SetupTriggerPopup::valueChanged(a1, a2, (float)v8);
SetupTriggerPopup::updateCustomEaseLabel(a1, a2, v8);
v9 = cocos2d::CCDictionary::objectForKey(a1->m_customEasingTags, a2);
if ( v9 )
SetupTriggerPopup::toggleCustomEaseRateVisibility(a1, a2, (int)v9[1].__vftable);
}