//
// cocos2d::CCLightning::dCCLightning from 0x1003476e8 to 0x10034772c (68 bytes)
//
// 2 xrefs:
// > j_cocos2d::CCLightning::dCCLightning @ 0x10034772c
// > sub_100347730 @ 0x100347738
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCLightning::dCCLightning(__int64 a1)
{
void *v2; // x0
*(_QWORD *)a1 = off_1007F2908;
*(_QWORD *)(a1 + 320) = off_1007F2CF8;
v2 = *(void **)(a1 + 384);
if ( v2 )
{
operator delete[](v2);
*(_QWORD *)(a1 + 384) = 0;
}
return cocos2d::CCNode::dCCNode((cocos2d::CCNode *)a1);
}