//
// cocos2d::CCTwirl::create from 0x7bb734 to 0x7bb7ba (134 bytes)
//
// 0 xrefs:
//
// 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
//
_DWORD *__fastcall cocos2d::CCTwirl::create(
float a1,
const cocos2d::CCSize *a2,
const cocos2d::CCPoint *a3,
int a4,
int a5)
{
_DWORD *v9; // r4
_BYTE v11[8]; // [sp+Ch] [bp-Ch] BYREF
v9 = (_DWORD *)operator new(0x6Cu);
memset(v9, 0, 0x6Cu);
cocos2d::CCGrid3DAction::CCGrid3DAction((cocos2d::CCGrid3DAction *)v9);
*v9 = &off_D033E0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 22));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a3);
if ( cocos2d::CCTwirl::initWithDuration((cocos2d::CCGridAction *)v9, a1, a2, (const cocos2d::CCPoint *)v11, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v9);
return nullptr;
}
return v9;
}