//
// EndLevelLayer::diamondEnterFinished from 0x5359f8 to 0x535a9e (166 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:07 +0000
//
unsigned __int8 *__fastcall EndLevelLayer::diamondEnterFinished(EndLevelLayer *this)
{
bool v2; // r2
int v3; // r4
CCCircleWave *v4; // r0
CCCircleWave *v5; // r4
bool v7; // [sp+0h] [bp-4h]
_BYTE v8[8]; // [sp+4h] [bp+0h] BYREF
_BYTE v9[8]; // [sp+Ch] [bp+8h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.0, 8.0);
cocos2d::CCPoint::operator+(v8, (char *)this + 516, v9);
v3 = cocos2d::CCParticleSystemQuad::create((cocos2d::CCParticleSystemQuad *)"starEffect.plist", nullptr, v2);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 792))(v3, 1);
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 116) + 232))(*((_DWORD *)this + 116), v3, 9);
(*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v3 + 92))(v3, v8);
v4 = CCCircleWave::create((CCCircleWave *)0x41200000, 1119092736, (cocos2d::CCActionTween *)0x3ECCCCCD, 0.0, v7);
*((_BYTE *)v4 + 280) = -1;
v5 = v4;
*((_BYTE *)v4 + 281) = -1;
*((_BYTE *)v4 + 282) = -1;
(*(void (__fastcall **)(CCCircleWave *, _BYTE *))(*(_DWORD *)v4 + 92))(v4, v8);
(*(void (__fastcall **)(_DWORD, CCCircleWave *, int))(**((_DWORD **)this + 116) + 232))(
*((_DWORD *)this + 116),
v5,
9);
return EndLevelLayer::playEndEffect((unsigned __int8 *)this);
}