//
// SetupCameraOffsetTrigger::onEasing from 0x100190104 to 0x100190168 (100 bytes)
//
// 1 xrefs:
// > SetupCameraOffsetTrigger::init @ 0x10018f5bc
//
// 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 __fastcall SetupCameraOffsetTrigger::onEasing(SetupCameraOffsetTrigger *a1, cocos2d::CCObject *a2)
{
int v3; // w9
EasingType v4; // w8
if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 )
v3 = 1;
else
v3 = -1;
v4 = (a1->m_cameraEasingType + v3) & ~((a1->m_cameraEasingType + v3) >> 31);
if ( v4 >= BackOut )
v4 = BackOut;
a1->m_cameraEasingType = v4;
SetupCameraOffsetTrigger::updateMoveCommandEasing(a1);
SetupCameraOffsetTrigger::updateEasingLabel(a1);
SetupCameraOffsetTrigger::toggleEasingRateVisibility(a1);
}