//
// EndLevelLayer::diamondEnterFinished from 0x1004bc890 to 0x1004bc989 (249 bytes)
//
// 1 xrefs:
// > EndLevelLayer::playDiamondEffect @ 0x1004bbfbb
//
// 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:31:03 +0000
//
void __fastcall EndLevelLayer::diamondEnterFinished(__int64 a1)
{
__int64 v2; // r15
__int64 v3; // r15
double v4; // [rsp+0h] [rbp-30h] BYREF
unsigned __int64 v5[5]; // [rsp+8h] [rbp-28h] BYREF
sub_100278250((float *)v5, 0.0, 8.0);
sub_100278350(&v4, (unsigned __int64 *)(a1 + 656), v5);
v2 = cocos2d::CCParticleSystemQuad::create("starEffect.plist", 0);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1584LL))(v2, 1);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 576) + 464LL))(*(_QWORD *)(a1 + 576), v2, 9);
(*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v2 + 184LL))(v2, &v4);
v3 = CCCircleWave::create_1(0, 10.0, 90.0, 0.40000001);
*(_BYTE *)(v3 + 342) = -1;
*(_WORD *)(v3 + 340) = -1;
(*(void (__fastcall **)(__int64, double *))(*(_QWORD *)v3 + 184LL))(v3, &v4);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 576) + 464LL))(*(_QWORD *)(a1 + 576), v3, 9);
EndLevelLayer::playEndEffect(a1);
}