//
// cocos2d::CCLightning::setColor from 0x100347a8c to 0x100347aa4 (24 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007f2cc8
//
// 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 __fastcall cocos2d::CCLightning::setColor(cocos2d::CCLightning *a1, const cocos2d::ccColor3B *a2)
{
__int16 v2; // w9
v2 = *(_WORD *)&a2->r;
a1->m_color.b = a2->b;
*(_WORD *)&a1->m_color.r = v2;
}