//
// cocos2d::CCActionInterval::initWithDuration from 0x10018a1e8 to 0x10018a20c (36 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionEase::initWithAction @ 0x10026bd4c
// > cocos2d::CCActionTween::create_1 @ 0x1003a8e00
//
// 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
//
bool __fastcall cocos2d::CCActionInterval::initWithDuration(cocos2d::CCActionInterval *a1, float a2)
{
if ( a2 == 0.0 )
a2 = 0.00000011921;
a1->m_fDuration = a2;
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
return 1;
}