//
// CCCircleAlert::init from 0x3e56b4 to 0x3e5754 (160 bytes)
//
// 1 xrefs:
// > CCCircleAlert::create @ 0x3e579c
//
// 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 11:47:04 +0000
//
int __fastcall CCCircleAlert::init(CCCircleAlert *this, char *a2, float a3, cocos2d::CCActionTween *a4)
{
float v4; // s16
cocos2d::CCSpawn *v7; // r8
cocos2d::CCSequence *v8; // r9
cocos2d::CCFiniteTimeAction *v9; // r0
cocos2d::CCFiniteTimeAction *v10; // r0
cocos2d::CCDirector *v11; // r5
int v12; // r0
cocos2d::CCActionManager *v13; // r0
float v15; // [sp+0h] [bp-Ch]
float v16; // [sp+0h] [bp-Ch]
*((_DWORD *)this + 68) = a2;
*((_DWORD *)this + 69) = 0;
*((_WORD *)this + 140) = -1;
*((_BYTE *)this + 282) = -1;
v7 = (cocos2d::CCSpawn *)cocos2d::CCActionTween::create(a4, COERCE_FLOAT("radius"), a2, a3, v4);
v8 = (cocos2d::CCSequence *)cocos2d::CCActionTween::create(
COERCE_COCOS2D_CCACTIONTWEEN_(*(float *)&a4 - 0.3),
COERCE_FLOAT("opacity"),
*((const char **)this + 69),
150.0,
v15);
v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCActionTween::create(
(cocos2d::CCActionTween *)0x3E99999A,
COERCE_FLOAT("opacity"),
(const char *)0x43160000,
0.0,
v16);
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCSequence::create(v8, v9, 0);
v11 = (cocos2d::CCDirector *)cocos2d::CCSpawn::create(v7, v10, 0);
v12 = cocos2d::CCDirector::sharedDirector(v11);
v13 = (cocos2d::CCActionManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v12 + 72))(v12);
cocos2d::CCActionManager::addAction(v13, v11, this, 0);
return 1;
}