//
// cocos2d::CCTwirl::initWithDuration from 0xabcb84 to 0xabcbf0 (108 bytes)
//
// 4 xrefs:
// > cocos2d::CCTwirl::create @ 0xabccbc
// > cocos2d::CCTwirl::copyWithZone @ 0xabcd78
// > cocos2d::CCTwirl::copyWithZone @ 0xabce64
// > ??> @ 0xab990
//
// 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 cocos2d::CCTwirl::initWithDuration(
cocos2d::CCTwirl *a1,
float a2,
const cocos2d::CCSize *a3,
cocos2d::CCPoint a4,
unsigned int a5,
float a6)
{
int v6; // w3
int x_low; // s8
int v8; // w21
bool v10; // w19
cocos2d::CCPoint *v12; // [xsp+38h] [xbp+38h]
x_low = LODWORD(a4.x);
v8 = v6;
v12 = *(cocos2d::CCPoint **)&a5;
v10 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v10 )
{
cocos2d::CCTwirl::setPosition(a1, v12);
a1[1].m_nLuaID = v8;
a1[1].cocos2d::CCGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = x_low;
*(float *)&a1[1].m_uReference = 1.0;
}
return v10;
}