//
// cocos2d::CCTwirl::create from 0x10026bdc0 to 0x10026bebd (253 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:27:35 +0000
//
_OWORD *__fastcall cocos2d::CCTwirl::create(__int64 a1, __int64 a2, int a3, float a4, float a5)
{
_OWORD *v6; // rbx
_BYTE v8[8]; // [rsp+8h] [rbp-38h] BYREF
float v9; // [rsp+10h] [rbp-30h]
float v10; // [rsp+14h] [rbp-2Ch]
v10 = a5;
v9 = a4;
v6 = operator new(0x78u);
*v6 = 0;
v6[1] = 0;
v6[2] = 0;
v6[3] = 0;
v6[4] = 0;
v6[5] = 0;
v6[6] = 0;
*((_QWORD *)v6 + 14) = 0;
cocos2d::CCAction::CCAction(v6);
*((_DWORD *)v6 + 20) = 0;
*(_QWORD *)v6 = off_100AE05B0;
sub_100278600((char *)v6 + 92);
*(_QWORD *)v6 = off_100AF74D8;
sub_1002782A0((char *)v6 + 100);
sub_1002782D0(v8, a2);
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v6, a1) )
{
sub_100278300((char *)v6 + 100, v8);
*((_DWORD *)v6 + 27) = a3;
*((float *)v6 + 28) = v10;
*((_DWORD *)v6 + 29) = 1065353216;
cocos2d::CCObject::autorelease(v6);
}
else
{
cocos2d::CCObject::release(v6);
return nullptr;
}
return v6;
}