//
// CCCircleAlert::create from 0x100178ca0 to 0x100178e20 (384 bytes)
//
// 2 xrefs:
// > CCAlertCircle::create @ 0x100178f89
// > CCAlertCircle::init @ 0x100179042
//
// 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 *__fastcall CCCircleAlert::create(float a1, float a2, float a3)
{
char *v3; // rbx
unsigned int v4; // r14d
unsigned int v5; // r12d
unsigned int v6; // eax
int v7; // ecx
int v8; // r8d
int v9; // r9d
int v10; // esi
int v11; // ecx
int v12; // r8d
int v13; // r9d
cocos2d::CCAction *v14; // r14
cocos2d::CCDirector *v15; // rax
cocos2d::CCActionManager *v16; // rax
v3 = (char *)operator new(0x178u);
__bzero(v3, 376);
cocos2d::CCNode::CCNode(v3);
*(_QWORD *)v3 = off_1008C3050;
*((_OWORD *)v3 + 20) = 0;
*((_DWORD *)v3 + 84) = 0;
sub_10028CC30(v3 + 344);
*((_QWORD *)v3 + 46) = 0;
*((_QWORD *)v3 + 44) = 0;
*(_QWORD *)(v3 + 357) = 0;
*(_QWORD *)v3 = off_1008C3780;
*(_QWORD *)(v3 + 332) = LODWORD(a1);
*((_WORD *)v3 + 170) = -1;
v3[342] = -1;
v4 = (unsigned int)cocos2d::CCActionTween::create_1(a3, "radius", a1, a2);
v5 = (unsigned int)cocos2d::CCActionTween::create_1(a3 + -0.30000001, "opacity", *((float *)v3 + 84), 150.0);
v6 = (unsigned int)cocos2d::CCActionTween::create_1(0.30000001, "opacity", 150.0, 0.0);
v10 = sub_1003B5760(v5, v6, 0, v7, v8, v9);
v14 = (cocos2d::CCAction *)sub_1003B6B60(v4, v10, 0, v11, v12, v13);
v15 = cocos2d::CCDirector::sharedDirector();
v16 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v15->getActionManager)(v15);
cocos2d::CCActionManager::addAction(v16, v14, (cocos2d::CCNode *)v3, 0);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
return (CCCircleAlert *)v3;
}