//
// SetupTriggerPopup::onEase from 0xb24bcc to 0xb24c44 (120 bytes)
//
// 4 xrefs:
// > ??> @ 0x84310
// > SetupTriggerPopup::createEasingControls @ 0xb21c18
// > SetupTriggerPopup::createEasingControls @ 0xb21d1c
// > ??> @ 0x1543728
//
// This function is hookable on this platform (idp: arm, 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 13:01:38 +0000
//
__int64 __fastcall SetupTriggerPopup::onEase(SetupTriggerPopup *this, cocos2d::CCObject *a2)
{
int v3; // w0
int v4; // w2
int v5; // w2
v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *((_DWORD *)this + 204);
if ( v3 == 1 )
v5 = v4 + 1;
else
v5 = v4 - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > 18 )
v5 = 18;
*((_DWORD *)this + 204) = v5;
SetupTriggerPopup::valueChanged(this, 30, (float)v5);
SetupTriggerPopup::updateEaseLabel(this);
return SetupTriggerPopup::toggleEaseRateVisibility(this);
}