//
// cocos2d::CCLightning::CCLightning from 0x140048130 to 0x140048200 (208 bytes)
//
// 2 xrefs:
// > cocos2d::CCLightning::lightningWithStrikePoint @ 0x14004829f
// > ??> @ 0x14090fb0c
//
// This function is hookable on this platform (idp: pc, 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 11:25:31 +0000
//
// 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), (const struct cocos2d::CCPoint *)&unk_140909A20);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a1 + 336), (const struct cocos2d::CCPoint *)&unk_140909A20);
*(_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;
}