//
// SetupCameraOffsetTrigger::onEasing from 0x9692ac to 0x96931c (112 bytes)
//
// 4 xrefs:
// > ??> @ 0x2b008
// > SetupCameraOffsetTrigger::init @ 0x96862c
// > SetupCameraOffsetTrigger::init @ 0x96870c
// > ??> @ 0x1229398
//
// 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 SetupCameraOffsetTrigger::onEasing(SetupCameraOffsetTrigger *a1, cocos2d::CCObject *a2)
{
int v3; // w0
EasingType m_cameraEasingType; // w1
EasingType v5; // w1
v3 = a2->getTag(a2);
m_cameraEasingType = a1->m_cameraEasingType;
if ( v3 == 1 )
v5 = m_cameraEasingType + 1;
else
v5 = m_cameraEasingType - 1;
if ( v5 < 0 )
v5 = 0;
if ( v5 > BackOut )
v5 = BackOut;
a1->m_cameraEasingType = v5;
SetupCameraOffsetTrigger::updateMoveCommandEasing(a1);
SetupCameraOffsetTrigger::updateEasingLabel(a1);
SetupCameraOffsetTrigger::toggleEasingRateVisibility(a1);
}