//
// GameToolbox::getEasedAction from 0x69d6f0 to 0x69d780 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0xc8bc0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:50:41 +0000
//
cocos2d::CCEaseInOut *__fastcall GameToolbox::getEasedAction(
cocos2d::CCEaseInOut *this,
cocos2d::CCActionInterval *a2,
float a3)
{
cocos2d::CCActionInterval *v3; // x1
if ( (_DWORD)a2 )
{
if ( a3 <= 0.0 )
{
v3 = (cocos2d::CCActionInterval *)(unsigned int)((_DWORD)a2 - 1);
a3 = 2.0;
if ( (unsigned int)v3 > 0x11 )
return this;
}
else
{
v3 = (cocos2d::CCActionInterval *)(unsigned int)((_DWORD)a2 - 1);
}
switch ( (int)v3 )
{
case 0:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseInOut::create(this, v3, a3);
break;
case 1:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseIn::create(this, v3, a3);
break;
case 2:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseOut::create(this, v3, a3);
break;
case 3:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseElasticInOut::create(this, v3, a3);
break;
case 4:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseElasticIn::create(this, v3, a3);
break;
case 5:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseElasticOut::create(this, v3, a3);
break;
case 6:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBounceInOut::create(this, v3);
break;
case 7:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBounceIn::create(this, v3);
break;
case 8:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBounceOut::create(this, v3);
break;
case 9:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseExponentialInOut::create(this, v3);
break;
case 10:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseExponentialIn::create(this, v3);
break;
case 11:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseExponentialOut::create(this, v3);
break;
case 12:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseSineInOut::create(this, v3);
break;
case 13:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseSineIn::create(this, v3);
break;
case 14:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseSineOut::create(this, v3);
break;
case 15:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBackInOut::create(this, v3);
break;
case 16:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBackIn::create(this, v3);
break;
case 17:
this = (cocos2d::CCEaseInOut *)cocos2d::CCEaseBackOut::create(this, v3);
break;
default:
return this;
}
}
return this;
}