//
// CCCircleAlert::init from 0x100158200 to 0x1001582ef (239 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:25:05 +0000
//
char __fastcall CCCircleAlert::init(__int64 a1, float a2)
{
__int64 v3; // r14
int v4; // r12d
int v5; // eax
int v6; // ecx
int v7; // r8d
int v8; // r9d
__int64 v9; // rdi
__int64 v10; // rsi
int v11; // ecx
int v12; // r8d
int v13; // r9d
__int64 v14; // r14
__int64 v15; // rax
__int64 v16; // rax
*(float *)(a1 + 332) = a2;
*(_DWORD *)(a1 + 336) = 0;
*(_WORD *)(a1 + 340) = -1;
*(_BYTE *)(a1 + 342) = -1;
v3 = cocos2d::CCActionTween::create_1((std::string::value_type *)"radius");
v4 = cocos2d::CCActionTween::create_1((std::string::value_type *)"opacity");
v5 = cocos2d::CCActionTween::create_1((std::string::value_type *)"opacity");
v9 = v3;
v10 = sub_10039EB60(v4, v5, 0, v6, v7, v8);
v14 = sub_10039FF60(v3, v10, 0, v11, v12, v13);
v15 = cocos2d::CCDirector::sharedDirector(v9, v10);
v16 = (*(__int64 (__fastcall **)(__int64, float, float, double))(*(_QWORD *)v15 + 144LL))(v15, 0.30000001, 150.0, 0.0);
cocos2d::CCActionManager::addAction(v16, v14, a1, 0);
return 1;
}