//
// EndLevelLayer::diamondEnterFinished from 0x8fbb94 to 0x8fbcb8 (292 bytes)
//
// 3 xrefs:
// > ??> @ 0x99ef8
// > EndLevelLayer::playDiamondEffect @ 0x8fa758
// > ??> @ 0x1544360
//
// 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:57:03 +0000
//
__int64 __fastcall EndLevelLayer::diamondEnterFinished(EndLevelLayer *this)
{
bool v2; // w2
__int64 v3; // x19
__int64 v4; // x0
__int64 v5; // x3
__int64 v6; // x19
__int64 v8; // [xsp+48h] [xbp+48h] BYREF
_BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.0, 8.0);
cocos2d::CCPoint::operator+(&v8, (char *)this + 656);
v3 = cocos2d::CCParticleSystemQuad::create((cocos2d::CCParticleSystemQuad *)"starEffect.plist", nullptr, v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1584LL))(v3, 1);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 72) + 464LL))(*((_QWORD *)this + 72), v3, 9);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 184LL))(v3, &v8);
v4 = CCCircleWave::create(nullptr, 10.0, 90.0, 0.4);
v5 = *(_QWORD *)v4;
*(_BYTE *)(v4 + 340) = -1;
*(_BYTE *)(v4 + 341) = -1;
*(_BYTE *)(v4 + 342) = -1;
v6 = v4;
(*(void (__fastcall **)(__int64, __int64 *))(v5 + 184))(v4, &v8);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 72) + 464LL))(*((_QWORD *)this + 72), v6, 9);
EndLevelLayer::playEndEffect(this);
return _stack_chk_guard;
}