//
// cocos2d::CCActionInterval::initWithDuration from 0x10021d174 to 0x10021d198 (36 bytes)
//
// 2 xrefs:
// > cocos2d::CCActionEase::initWithAction @ 0x100309b50
// > cocos2d::CCActionTween::create_1 @ 0x10044fdc0
//
// 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 11:01:06 +0000
//
__int64 __fastcall cocos2d::CCActionInterval::initWithDuration(__int64 a1, float a2)
{
if ( a2 == 0.0 )
a2 = 0.00000011921;
*(float *)(a1 + 80) = a2;
*(_DWORD *)(a1 + 84) = 0;
*(_BYTE *)(a1 + 88) = 1;
return 1;
}