//
// cocos2d::CCTwirl::initWithDuration from 0x7bb70a to 0x7bb732 (40 bytes)
//
// 2 xrefs:
// > cocos2d::CCTwirl::create @ 0x7bb790
// > cocos2d::CCTwirl::copyWithZone @ 0x7bb848
//
// 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:15 +0000
//
int __fastcall cocos2d::CCTwirl::initWithDuration(
cocos2d::CCGridAction *a1,
float a2,
const cocos2d::CCSize *a3,
const cocos2d::CCPoint *a4,
int a5,
int a6)
{
int v8; // r5
v8 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v8 )
{
cocos2d::CCTwirl::setPosition(a1, a4);
*((_DWORD *)a1 + 24) = a5;
*((_DWORD *)a1 + 25) = a6;
*((_DWORD *)a1 + 26) = 1065353216;
}
return v8;
}