//
// cocos2d::CCActionInterval::initWithDuration from 0x1003b5400 to 0x1003b5431 (49 bytes)
//
// 80 xrefs:
// > cocos2d::CCGridAction::initWithDuration @ 0x10020a05d
// > cocos2d::CCTiledGrid3DAction::create @ 0x10020a42b
// > cocos2d::CCAccelDeccelAmplitude::create @ 0x10020a4f3
// > cocos2d::CCAccelDeccelAmplitude::initWithAction @ 0x10020a55d
// > cocos2d::CCAccelDeccelAmplitude::reverse @ 0x10020a755
// > cocos2d::CCAccelAmplitude::create @ 0x10020a813
// > cocos2d::CCAccelAmplitude::initWithAction @ 0x10020a87d
// > cocos2d::CCAccelAmplitude::reverse @ 0x10020aa65
// > cocos2d::CCDeccelAmplitude::create @ 0x10020ab23
// > cocos2d::CCDeccelAmplitude::initWithAction @ 0x10020ab8d
// > cocos2d::CCDeccelAmplitude::reverse @ 0x10020ad85
// > cocos2d::CCCardinalSplineTo::create @ 0x1002d18ae
// > cocos2d::CCCardinalSplineTo::initWithDuration @ 0x1002d19b5
// > cocos2d::CCCardinalSplineTo::copyWithZone @ 0x1002d1c41
// > cocos2d::CCCardinalSplineBy::create @ 0x1002d209a
// > cocos2d::CCCatmullRomTo::create @ 0x1002d26e9
// > cocos2d::CCCatmullRomTo::initWithDuration @ 0x1002d2780
// > cocos2d::CCCatmullRomBy::create @ 0x1002d2870
// > cocos2d::CCCatmullRomBy::initWithDuration @ 0x1002d2920
// > cocos2d::CCOrbitCamera::create @ 0x100367917
// > cocos2d::CCOrbitCamera::initWithDuration @ 0x1003679fa
// > cocos2d::CCOrbitCamera::copyWithZone @ 0x100367b38
// > cocos2d::CCProgressTo::create @ 0x100437a05
// > cocos2d::CCProgressTo::initWithDuration @ 0x100437a4e
// > cocos2d::CCProgressTo::copyWithZone @ 0x100437b0e
// > cocos2d::CCProgressFromTo::create @ 0x100437c4a
// > cocos2d::CCProgressFromTo::initWithDuration @ 0x100437ca3
// > cocos2d::CCProgressFromTo::copyWithZone @ 0x100437d70
// > cocos2d::CCProgressFromTo::reverse @ 0x100437e3e
// > cocos2d::CCActionEase::create @ 0x10051433b
// > cocos2d::CCActionEase::initWithAction @ 0x100514392
// > cocos2d::CCActionEase::copyWithZone @ 0x100514456
// > cocos2d::CCEaseRateAction::create @ 0x100514680
// > cocos2d::CCEaseRateAction::initWithAction @ 0x1005146fb
// > cocos2d::CCEaseRateAction::copyWithZone @ 0x1005147d7
// > cocos2d::CCEaseIn::create @ 0x100514990
// > cocos2d::CCEaseIn::copyWithZone @ 0x100514a97
// > cocos2d::CCEaseOut::create @ 0x100514bc0
// > cocos2d::CCEaseOut::copyWithZone @ 0x100514cc7
// > cocos2d::CCEaseInOut::create @ 0x100514df0
// > cocos2d::CCEaseInOut::copyWithZone @ 0x100514ef7
// > cocos2d::CCEaseExponentialIn::create @ 0x10051505b
// > cocos2d::CCEaseExponentialIn::copyWithZone @ 0x10051513b
// > cocos2d::CCEaseExponentialOut::create @ 0x10051526b
// > cocos2d::CCEaseExponentialOut::copyWithZone @ 0x10051534b
// > cocos2d::CCEaseExponentialInOut::create @ 0x10051547b
// > cocos2d::CCEaseExponentialInOut::copyWithZone @ 0x10051555b
// > cocos2d::CCEaseSineIn::create @ 0x1005156ab
// > cocos2d::CCEaseSineIn::copyWithZone @ 0x10051578b
// > cocos2d::CCEaseSineOut::create @ 0x1005158ab
// > cocos2d::CCEaseSineOut::copyWithZone @ 0x10051598b
// > cocos2d::CCEaseSineInOut::create @ 0x100515a9b
// > cocos2d::CCEaseSineInOut::copyWithZone @ 0x100515b7b
// > cocos2d::CCEaseElastic::create @ 0x100515cc0
// > cocos2d::CCEaseElastic::initWithAction @ 0x100515d3b
// > cocos2d::CCEaseElastic::copyWithZone @ 0x100515e17
// > cocos2d::CCEaseElasticIn::create @ 0x100515f10
// > cocos2d::CCEaseElasticIn::copyWithZone @ 0x100516017
// > cocos2d::CCEaseElasticOut::create @ 0x1005161b0
// > cocos2d::CCEaseElasticOut::copyWithZone @ 0x1005162d7
// > cocos2d::CCEaseElasticInOut::create @ 0x100516490
// > cocos2d::CCEaseElasticInOut::copyWithZone @ 0x100516597
// > cocos2d::CCEaseBounce::create @ 0x1005167ab
// > cocos2d::CCEaseBounce::copyWithZone @ 0x10051688b
// > cocos2d::CCEaseBounceIn::create @ 0x100516a2b
// > cocos2d::CCEaseBounceIn::copyWithZone @ 0x100516b0b
// > cocos2d::CCEaseBounceOut::create @ 0x100516ccb
// > cocos2d::CCEaseBounceOut::copyWithZone @ 0x100516dab
// > cocos2d::CCEaseBounceInOut::create @ 0x100516f4b
// > cocos2d::CCEaseBounceInOut::copyWithZone @ 0x10051702b
// > cocos2d::CCEaseBackIn::create @ 0x1005172bb
// > cocos2d::CCEaseBackIn::copyWithZone @ 0x10051739b
// > cocos2d::CCEaseBackOut::create @ 0x1005174ab
// > cocos2d::CCEaseBackOut::copyWithZone @ 0x10051758b
// > cocos2d::CCEaseBackInOut::create @ 0x1005176ab
// > cocos2d::CCEaseBackInOut::copyWithZone @ 0x10051778b
// > cocos2d::CCActionTween::create @ 0x1007a5418
// > cocos2d::CCActionTween::create_1 @ 0x1007a5517
// > cocos2d::CCActionTween::initWithDuration @ 0x1007a55ab
// > cocos2d::CCActionTween::reverse @ 0x1007a5748
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall cocos2d::CCActionInterval::initWithDuration(cocos2d::CCActionInterval *a1, float a2)
{
__m128 v2; // xmm1
v2 = _mm_cmpeq_ss((__m128)0LL, *(__m128 *)&a2);
*(_QWORD *)&a1->m_fDuration = _mm_andnot_ps(v2, *(__m128 *)&a2).u32[0] | v2.i32[0] & 0x34000000;
a1->m_bFirstTick = 1;
return 1;
}