//
// PlayerObject::spawnCircle2 from 0x1004006e0 to 0x100400773 (147 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:30:02 +0000
//
__int64 __fastcall PlayerObject::spawnCircle2(__int64 a1)
{
__int64 result; // rax
__int64 v2; // r14
__int16 v3; // ax
__int64 v4; // rax
result = GameManager::sharedState();
if ( !*(_BYTE *)(result + 925) )
{
v2 = CCCircleWave::create_1(0, 5.0, 50.0, 0.30000001);
v3 = *(_WORD *)(a1 + 2605);
*(_BYTE *)(v2 + 342) = *(_BYTE *)(a1 + 2607);
*(_WORD *)(v2 + 340) = v3;
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 192LL))(a1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, v4);
return (*(__int64 (__fastcall **)(_QWORD, __int64, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))(
*(_QWORD *)(a1 + 3024),
v2,
0);
}
return result;
}