//
// PlayerObject::spawnCircle2 from 0x100413600 to 0x100413693 (147 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall PlayerObject::spawnCircle2(PlayerObject *a1)
{
CCCircleWave *v1; // r14
__int16 v2; // ax
__int64 v3; // rax
if ( !GameManager::sharedState()->m_performanceMode )
{
v1 = CCCircleWave::create_1(5.0, 50.0, 0.30000001, 0);
v2 = *(_WORD *)&a1->m_playerColor2.r;
v1->m_color.b = a1->m_playerColor2.b;
*(_WORD *)&v1->m_color.r = v2;
v3 = ((__int64 (__fastcall *)(PlayerObject *))a1->getPosition)(a1);
((void (__fastcall *)(CCCircleWave *, __int64))v1->setPosition)(v1, v3);
((void (__fastcall *)(cocos2d::CCLayer *, CCCircleWave *, _QWORD))a1->m_parentLayer->addChild_0)(
a1->m_parentLayer,
v1,
0);
}
}