//
// CCLightStrip::draw from 0x6c7620 to 0x6c77ac (396 bytes)
//
// 2 xrefs:
// > ??> @ 0xdb958
// > ??> @ 0x1421688
//
// This function is hookable on this platform (idp: arm, 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:51:21 +0000
//
__int64 __fastcall CCLightStrip::draw(CCLightStrip *this)
{
unsigned int v2; // w2
unsigned __int8 v4; // w4
float v5; // s8
unsigned int v6; // w2
_BYTE v7[8]; // [xsp+48h] [xbp+48h] BYREF
__int64 v8; // [xsp+50h] [xbp+50h] BYREF
__int64 v9; // [xsp+58h] [xbp+58h] BYREF
__int64 v10; // [xsp+60h] [xbp+60h] BYREF
if ( (*(unsigned __int8 (__fastcall **)(CCLightStrip *))(*(_QWORD *)this + 352LL))(this) )
{
cocos2d::ccGLBlendFunc((cocos2d *)((char *)&elf_hash_bucket[66] + 2), 1u, v2);
cocos2d::ccDrawColor4B(
(cocos2d *)*((unsigned __int8 *)this + 332),
*((_BYTE *)this + 333),
*((_BYTE *)this + 334),
(unsigned int)*((float *)this + 84),
v4);
v5 = *((float *)this + 79) + (float)((float)(*((float *)this + 85) - *((float *)this + 79)) * 0.25);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, (float)-v5 * 0.5, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8, v5 * 0.5, 0.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, *((float *)this + 85) * 0.5, *((float *)this + 86));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, (float)-*((float *)this + 85) * 0.5, *((float *)this + 86));
cocos2d::ccDrawSolidPoly(
v7,
4,
(float)*((unsigned __int8 *)this + 332) / 255.0,
(float)*((unsigned __int8 *)this + 333) / 255.0,
(float)*((unsigned __int8 *)this + 334) / 255.0,
*((float *)this + 84) / 255.0);
cocos2d::ccGLBlendFunc((cocos2d *)((char *)&dword_0 + 1), 0x303u, v6);
}
return _stack_chk_guard;
}