//
// PlayLayer::spawnCircle from 0x6f3c2c to 0x6f3d04 (216 bytes)
//
// 4 xrefs:
// > ??> @ 0x80cb0
// > PlayLayer::showCompleteText @ 0x6f3ab4
// > PlayLayer::levelComplete @ 0x703870
// > ??> @ 0x1543588
//
// 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 12:51:49 +0000
//
__int64 __fastcall PlayLayer::spawnCircle(PlayLayer *this)
{
cocos2d::CCDirector *v2; // x0
float v3; // s0
__int64 v4; // x19
__int64 v5; // x3
_BYTE *v6; // x2
char v7; // w5
char v8; // w4
void (__fastcall *v9)(__int64, _BYTE *); // x21
__int64 result; // x0
_BYTE v11[8]; // [xsp+40h] [xbp+40h] BYREF
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getScreenRight(v2);
v4 = CCCircleWave::create((CCCircleWave *)((char *)&dword_0 + 1), 10.0, v3, 0.5);
*(_DWORD *)(v4 + 356) = 4;
v5 = *(_QWORD *)v4;
v6 = *((_BYTE **)this + 407);
v7 = v6[2602];
v8 = v6[2603];
*(_BYTE *)(v4 + 342) = v6[2604];
*(_BYTE *)(v4 + 340) = v7;
*(_BYTE *)(v4 + 341) = v8;
v9 = *(void (__fastcall **)(__int64, _BYTE *))(v5 + 184);
PlayLayer::getEndPosition(this, (cocos2d::CCPoint *)v11);
v9(v4, v11);
(*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**((_QWORD **)this + 490) + 464LL))(*((_QWORD *)this + 490), v4, 0);
result = _stack_chk_guard;
*(_DWORD *)(v4 + 352) = 1;
return result;
}