//
// CCLightStrip::draw from 0x5a6ffc to 0x5a7188 (396 bytes)
//
// 2 xrefs:
// > ??> @ 0xa7520
// > ??> @ 0x1142a28
//
// 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
//
void CCLightStrip::draw(CCLightStrip *a1)
{
float v2; // s8
cocos2d::CCPoint v3; // [xsp+48h] [xbp+48h] BYREF
cocos2d::CCPoint v4; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint v5; // [xsp+58h] [xbp+58h] BYREF
cocos2d::CCPoint v6; // [xsp+60h] [xbp+60h] BYREF
cocos2d::ccColor4F v7; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
if ( a1->isVisible(a1) )
{
cocos2d::ccGLBlendFunc((unsigned int)&elf_hash_bucket[66] + 2, 1u);
cocos2d::ccDrawColor4B(a1->m_color.r, a1->m_color.g, a1->m_color.b, (unsigned int)a1->m_opacity);
v2 = a1->m_objectWidth + (float)((float)(a1->m_width - a1->m_objectWidth) * 0.25);
cocos2d::CCPoint::CCPoint(&v3, (float)-v2 * 0.5, 0.0);
cocos2d::CCPoint::CCPoint(&v4, v2 * 0.5, 0.0);
cocos2d::CCPoint::CCPoint(&v5, a1->m_width * 0.5, a1->m_height);
cocos2d::CCPoint::CCPoint(&v6, (float)-a1->m_width * 0.5, a1->m_height);
v7.g = (float)a1->m_color.g / 255.0;
v7.r = (float)a1->m_color.r / 255.0;
v7.b = (float)a1->m_color.b / 255.0;
v7.a = a1->m_opacity / 255.0;
cocos2d::ccDrawSolidPoly(&v3, 4u, v7);
cocos2d::ccGLBlendFunc((unsigned int)&dword_0 + 1, 0x303u);
}
}