//
// cocos2d::CCEaseElasticOut::create from 0x100516150 to 0x1005161ef (159 bytes)
//
// 34 xrefs:
// > PlayLayer::showCompleteText @ 0x1000b477e
// > PlayLayer::showNewBest @ 0x1000b5ca5
// > CheckpointGameObject::triggerActivated @ 0x1001d5057
// > CheckpointGameObject::triggerActivated @ 0x1001d50c7
// > CustomSongLayer::show @ 0x10021653e
// > RewardsPage::show @ 0x10021b93f
// > DailyLevelPage::createDailyNode @ 0x100231752
// > DailyLevelPage::show @ 0x1002321cc
// > GJPromoPopup::show @ 0x1002b695c
// > GJPathsLayer::show @ 0x1002fefbc
// > GJPathPage::show @ 0x100302c9c
// > TopArtistsLayer::show @ 0x100311d3c
// > CommunityCreditsPage::show @ 0x100320e5c
// > ChallengesPage::createChallengeNode @ 0x10039df36
// > ChallengesPage::show @ 0x10039e5ec
// > BoomScrollLayer::moveToPage @ 0x1003a6736
// > WorldLevelPage::show @ 0x1003c6a9f
// > DialogLayer::animateIn @ 0x1003c8617
// > LevelLeaderboard::show @ 0x1003dc47c
// > PlayerObject::playSpiderDashEffect @ 0x10040e88f
// > PlayerObject::spiderTestJumpX @ 0x10040f87a
// > PlayerObject::spiderTestJumpY @ 0x10041071a
// > FollowRewardPage::show @ 0x10042188c
// > SecretGame01Layer::resetGame @ 0x10047f656
// > FLAlertLayer::show @ 0x10049c5bf
// > ShardsPage::show @ 0x1004c78cc
// > GameToolbox::getEasedAction @ 0x1004f172f
// > RetryLevelLayer::showLayer @ 0x1004f9233
// > cocos2d::CCEaseElasticIn::reverse @ 0x100516141
// > cocos2d::CCEaseElasticOut::create_1 @ 0x10051621d
// > TutorialPopup::animateMenu @ 0x1005d4756
// > CharacterColorPage::show @ 0x10065e8ec
// > InfoLayer::show @ 0x1007b32b6
// > ProfilePage::show @ 0x1007bfc0f
//
// 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
//
cocos2d::CCEaseElasticOut *__fastcall cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *a1, float a2)
{
_OWORD *v2; // rbx
v2 = operator new(0x70u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
v2[6] = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_10095F6D8;
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v2, a1->m_fDuration) )
{
*((_QWORD *)v2 + 12) = a1;
cocos2d::CCObject::retain(a1);
*((float *)v2 + 26) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v2);
return nullptr;
}
return (cocos2d::CCEaseElasticOut *)v2;
}