//
// SetupMGTrigger::onEasing from 0xa20fd0 to 0xa21040 (112 bytes)
//
// 4 xrefs:
// > ??> @ 0x35910
// > SetupMGTrigger::init @ 0xa20608
// > SetupMGTrigger::init @ 0xa20700
// > ??> @ 0x1229a10
//
// 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 SetupMGTrigger::onEasing(SetupMGTrigger *a1, cocos2d::CCObject *a2)
{
int v3; // w0
EasingType m_mgEasingType; // w1
EasingType v5; // w1
v3 = a2->getTag(a2);
m_mgEasingType = a1->m_mgEasingType;
if ( v3 == 1 )
v5 = m_mgEasingType + 1;
else
v5 = m_mgEasingType - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > BackOut )
v5 = BackOut;
a1->m_mgEasingType = v5;
SetupMGTrigger::updateMoveCommandEasing(a1);
SetupMGTrigger::updateEasingLabel(a1);
SetupMGTrigger::toggleEasingRateVisibility(a1);
}