//
// ParticlePreviewLayer::init from 0x10046bd90 to 0x10046bded (93 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:31 +0000
//
__int64 __fastcall ParticlePreviewLayer::init(_QWORD *a1, __int64 a2)
{
__int64 result; // rax
unsigned int v3; // ebx
int v4[5]; // [rsp+Ch] [rbp-14h] BYREF
v4[0] = -16777216;
result = cocos2d::CCLayerColor::initWithColor_1(a1, v4);
if ( (_BYTE)result )
{
a1[69] = a2;
v3 = result;
(*(void (__fastcall **)(_QWORD *, __int64, __int64, float, float))(*a1 + 464LL))(a1, a2, 100, 120.0, 180.0);
return v3;
}
return result;
}