//
// PlayerObject::spawnCircle from 0x1002c4378 to 0x1002c4458 (224 bytes)
//
// 1 xrefs:
// > PlayerObject::playSpawnEffect @ 0x1002c4314
//
// This function is hookable on this platform (idp: arm, 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 11:02:32 +0000
//
void __fastcall PlayerObject::spawnCircle(__int64 a1)
{
__int64 v2; // x20
__int16 v3; // w8
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x8
__int64 v8; // x8
__int64 v9; // x0
if ( (*(_BYTE *)(GameManager::sharedState(a1) + 925) & 1) == 0 )
{
v2 = CCCircleWave::create_1(1);
v3 = *(_WORD *)(a1 + 2602);
*(_BYTE *)(v2 + 342) = *(_BYTE *)(a1 + 2604);
*(_WORD *)(v2 + 340) = v3;
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v4);
(*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))(*(_QWORD *)(a1 + 3024), v2, 0);
v5 = CCCircleWave::followObject((_QWORD *)v2, a1, 1);
v6 = GameManager::sharedState(v5);
v7 = *(_QWORD *)(v6 + 544);
if ( v7 )
v8 = v7 + 13992;
else
v8 = 0;
*(_QWORD *)(v2 + 368) = v8;
v9 = GameManager::sharedState(v6);
PlayLayer::addCircle(*(_QWORD *)(v9 + 544), v2);
*(_DWORD *)(v2 + 352) = 1;
}
}