//
// GJRotateCommandLayer::onEasing from 0x9284c0 to 0x928530 (112 bytes)
//
// 4 xrefs:
// > ??> @ 0xc05a0
// > GJRotateCommandLayer::init @ 0x926f34
// > GJRotateCommandLayer::init @ 0x927008
// > ??> @ 0x122eae0
//
// 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 GJRotateCommandLayer::onEasing(GJRotateCommandLayer *a1, cocos2d::CCObject *a2)
{
int v3; // w0
EasingType m_rotateEasingType; // w1
EasingType v5; // w1
v3 = a2->getTag(a2);
m_rotateEasingType = a1->m_rotateEasingType;
if ( v3 == 1 )
v5 = m_rotateEasingType + 1;
else
v5 = m_rotateEasingType - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > BackOut )
v5 = BackOut;
a1->m_rotateEasingType = v5;
GJRotateCommandLayer::updateMoveCommandEasing(a1);
GJRotateCommandLayer::updateEasingLabel(a1);
GJRotateCommandLayer::toggleEasingRateVisibility(a1);
}