//
// CCLightStrip::create from 0x5a7b20 to 0x5a7c18 (248 bytes)
//
// 2 xrefs:
// > CCLightFlash::playEffect @ 0x5a7ec0
// > ??> @ 0x9efd0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
CCLightStrip *CCLightStrip::create(float a1, float a2, float a3, float a4, float a5)
{
__int64 v10; // x19
v10 = operator new(0x160u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v10);
*(_QWORD *)v10 = &off_1142750;
*(_DWORD *)(v10 + 316) = 0;
*(_DWORD *)(v10 + 320) = 0;
*(_DWORD *)(v10 + 324) = 0;
*(_DWORD *)(v10 + 328) = 0;
*(_DWORD *)(v10 + 336) = 0;
*(_DWORD *)(v10 + 340) = 0;
*(_DWORD *)(v10 + 344) = 0;
if ( CCLightStrip::init((CCLightStrip *)v10, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
return (CCLightStrip *)v10;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
}