//
// cocos2d::CCActionInterval::initWithDuration from 0x7bdf7c to 0x7bdfa2 (38 bytes)
//
// 37 xrefs:
// > cocos2d::CCOrbitCamera::initWithDuration @ 0x7b6a60
// > cocos2d::CCCardinalSplineTo::initWithDuration @ 0x7b7304
// > cocos2d::CCActionEase::initWithAction @ 0x7b8524
// > cocos2d::CCGridAction::initWithDuration @ 0x7b979c
// > cocos2d::CCAccelDeccelAmplitude::initWithAction @ 0x7b9d24
// > cocos2d::CCAccelAmplitude::initWithAction @ 0x7b9dae
// > cocos2d::CCDeccelAmplitude::initWithAction @ 0x7b9e36
// > cocos2d::CCActionInterval::create @ 0x7bdfc0
// > cocos2d::CCActionInterval::copyWithZone @ 0x7be018
// > cocos2d::CCRotateTo::initWithDuration @ 0x7be198
// > cocos2d::CCSkewTo::initWithDuration @ 0x7be1ac
// > cocos2d::CCSequence::initWithTwoActions @ 0x7be1ee
// > cocos2d::CCRepeat::initWithAction @ 0x7be3b4
// > cocos2d::CCRotateTo::initWithDuration @ 0x7be59a
// > cocos2d::CCRotateBy::initWithDuration @ 0x7be632
// > cocos2d::CCRotateBy::initWithDuration @ 0x7be688
// > cocos2d::CCMoveBy::initWithDuration @ 0x7be78a
// > cocos2d::CCMoveTo::initWithDuration @ 0x7be86c
// > cocos2d::CCJumpBy::initWithDuration @ 0x7bea98
// > cocos2d::CCBezierBy::initWithDuration @ 0x7becae
// > cocos2d::CCBezierTo::initWithDuration @ 0x7bee62
// > cocos2d::CCScaleTo::initWithDuration @ 0x7beede
// > cocos2d::CCScaleTo::initWithDuration @ 0x7bef34
// > cocos2d::CCBlink::initWithDuration @ 0x7bf0f8
// > cocos2d::CCFadeIn::create @ 0x7bf1dc
// > cocos2d::CCFadeOut::create @ 0x7bf220
// > cocos2d::CCFadeTo::initWithDuration @ 0x7bf240
// > cocos2d::CCTintTo::initWithDuration @ 0x7bf2f8
// > cocos2d::CCTintBy::initWithDuration @ 0x7bf3d8
// > cocos2d::CCDelayTime::create @ 0x7bf4f8
// > cocos2d::CCSpawn::initWithTwoActions @ 0x7bf532
// > cocos2d::CCReverseTime::initWithAction @ 0x7bf72e
// > cocos2d::CCTargetedAction::initWithTarget @ 0x7bf846
// > cocos2d::CCAnimate::initWithAnimation @ 0x7bf952
// > cocos2d::CCProgressTo::initWithDuration @ 0x7c0aec
// > cocos2d::CCProgressFromTo::initWithDuration @ 0x7c0bac
// > cocos2d::CCActionTween::initWithDuration @ 0x7c2c42
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:18 +0000
//
int __fastcall cocos2d::CCActionInterval::initWithDuration(cocos2d::CCActionInterval *this, float a2)
{
if ( a2 == 0.0 )
*((_DWORD *)this + 17) = 872415232;
else
*((float *)this + 17) = a2;
*((_DWORD *)this + 18) = 0;
*((_BYTE *)this + 76) = 1;
return 1;
}