//
// cocos2d::CCLightning::CCLightning from 0x100347640 to 0x1003476d4 (148 bytes)
//
// 1 xrefs:
// > cocos2d::CCLightning::lightningWithStrikePoint @ 0x100347774
//
// 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
//
__int64 __fastcall cocos2d::CCLightning::CCLightning(__int64 a1)
{
_QWORD *v2; // x0
v2 = (_QWORD *)cocos2d::CCNode::CCNode(a1);
*v2 = off_1007F2908;
v2[40] = off_1007F2CF8;
sub_1000229B8(v2 + 41, &qword_10086E270);
sub_1000229B8((__int64 *)(a1 + 336), &qword_10086E270);
*(_BYTE *)(a1 + 344) = 0;
*(_QWORD *)(a1 + 348) = 0;
*(_QWORD *)(a1 + 360) = 0;
*(_DWORD *)(a1 + 368) = 0x40000000;
*(_BYTE *)(a1 + 373) = 0;
*(_QWORD *)(a1 + 376) = 0x3F8000003F000000LL;
*(_WORD *)(a1 + 404) = 0;
*(_BYTE *)(a1 + 406) = 0;
*(_QWORD *)(a1 + 384) = 0;
*(_QWORD *)(a1 + 390) = 0;
return a1;
}