//
// cocos2d::CCTwirl::initWithDuration from 0x5b4ec2 to 0x5b4eea (40 bytes)
//
// 2 xrefs:
// > cocos2d::CCTwirl::create @ 0x5b4f48
// > cocos2d::CCTwirl::copyWithZone @ 0x5b5000
//
// 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 cocos2d::CCTwirl::initWithDuration(
cocos2d::CCTwirl *a1,
float a2,
const cocos2d::CCSize *a3,
cocos2d::CCPoint a4,
unsigned int a5,
float a6)
{
float x; // r6
_BOOL4 v8; // r5
x = a4.x;
v8 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v8 )
{
cocos2d::CCTwirl::setPosition(a1, (const cocos2d::CCPoint *)LODWORD(x));
a1[1].m_uReference = LODWORD(a4.y);
a1[1].m_uAutoReleaseCount = a5;
a1[1].m_eObjType = 1065353216;
}
return v8;
}