//
// CCCircleAlert::create from 0x5a6b48 to 0x5a6c64 (284 bytes)
//
// 2 xrefs:
// > CCAlertCircle::init @ 0x5a6c90
// > ??> @ 0x9f0d8
//
// 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
//
CCCircleAlert *CCCircleAlert::create(float a1, float a2, float a3)
{
__int64 v6; // x19
v6 = operator new(0x178u);
memset((void *)v6, 0, 0x178u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v6);
*(_QWORD *)(v6 + 320) = 0;
*(_QWORD *)v6 = &off_1141CA0;
*(_DWORD *)(v6 + 328) = 0;
*(_DWORD *)(v6 + 332) = 0;
*(_DWORD *)(v6 + 336) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v6 + 344));
*(_DWORD *)(v6 + 352) = 0;
*(_DWORD *)(v6 + 356) = 0;
*(_BYTE *)(v6 + 364) = 0;
*(_QWORD *)(v6 + 368) = 0;
*(_DWORD *)(v6 + 360) = 0;
*(_QWORD *)v6 = &off_1141920;
if ( CCCircleAlert::init((CCCircleAlert *)v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (CCCircleAlert *)v6;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
}