//
// cocos2d::CCLightning::CCLightning from 0x575790 to 0x575840 (176 bytes)
//
// 4 xrefs:
// > cocos2d::CCLightning::lightningWithStrikePoint @ 0x5759cc
// > cocos2d::CCLightning::lightningWithStrikePoint @ 0x575b30
// > ??> @ 0x496b0
// > ??> @ 0x7b3d8
//
// 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
//
// Alternative name is '_ZN7cocos2d11CCLightningC1Ev'
float __fastcall cocos2d::CCLightning::CCLightning(cocos2d::CCLightning *this)
{
cocos2d::CCNode::CCNode(this);
this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (cocos2d::CCLightning_vtbl *)&off_11384F0;
this->cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_11388E0;
cocos2d::CCPoint::CCPoint(&this->m_strikePoint, &stru_12415D8);
cocos2d::CCPoint::CCPoint(&this->m_strikePoint2, &stru_12415D8);
this->m_split = 0;
this->m_displacement = 0;
this->m_lineWidth = 2.0;
this->m_minDisplacement = 0;
this->m_seed = 0;
this->m_removeAfterFinished = 0;
this->m_duration = 0.5;
this->m_lightningPoints = nullptr;
this->m_numPoints = 0;
this->m_displayedOpacity = 0;
this->m_opacity = 0;
this->m_cascadeColorEnabled = 0;
this->m_cascadeOpacityEnabled = 0;
this->m_opacityModifyEnabled = 0;
this->m_opacityModify = 1.0;
return 1.0;
}