//
// SetupCameraOffsetTrigger::onEasing from 0x502c44 to 0x502c82 (62 bytes)
//
// 0 xrefs:
//
// 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; // r0
EasingType m_cameraEasingType; // r3
int v5; // r3
EasingType v6; // r3
v3 = a2->getTag(a2);
m_cameraEasingType = a1->m_cameraEasingType;
if ( v3 == 1 )
v5 = m_cameraEasingType + 1;
else
v5 = m_cameraEasingType - 1;
v6 = v5 & ~(v5 >> 31);
if ( v6 >= BackOut )
v6 = BackOut;
a1->m_cameraEasingType = v6;
SetupCameraOffsetTrigger::updateMoveCommandEasing(a1);
SetupCameraOffsetTrigger::updateEasingLabel(a1);
SetupCameraOffsetTrigger::toggleEasingRateVisibility(a1);
}