//
// cocos2d::CCLightning::CCLightning from 0x140044470 to 0x140044540 (208 bytes)
//
// 2 xrefs:
// > cocos2d::CCLightning::lightningWithStrikePoint @ 0x1400445df
// > ??> @ 0x1406c45fc
//
// 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
//
// Hidden C++ exception states: #wind=1
__int64 __fastcall cocos2d::CCLightning::CCLightning(__int64 a1)
{
cocos2d::CCNode::CCNode((cocos2d::CCNode *)a1);
cocos2d::CCRGBAProtocol::CCRGBAProtocol((cocos2d::CCRGBAProtocol *)(a1 + 320));
*(_QWORD *)a1 = &cocos2d::CCLightning::`vftable';
*(_QWORD *)(a1 + 320) = &cocos2d::CCLightning::`vftable';
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 328), &stru_1406C12E8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 336), &stru_1406C12E8);
*(_BYTE *)(a1 + 344) = 0;
*(_QWORD *)(a1 + 348) = 0;
*(_QWORD *)(a1 + 360) = 0;
*(_DWORD *)(a1 + 368) = 0x40000000;
*(_BYTE *)(a1 + 373) = 0;
*(_DWORD *)(a1 + 376) = 1056964608;
*(_DWORD *)(a1 + 380) = 1065353216;
*(_QWORD *)(a1 + 384) = 0;
*(_DWORD *)(a1 + 392) = 0;
*(_WORD *)(a1 + 396) = 0;
*(_WORD *)(a1 + 404) = 0;
*(_BYTE *)(a1 + 406) = 0;
return a1;
}