//
// cocos2d::CCLightning::lightningWithStrikePoint_1 from 0x1006af2f0 to 0x1006af417 (295 bytes)
//
// 0 xrefs:
//
// 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 12:35:23 +0000
//
_QWORD *__fastcall cocos2d::CCLightning::lightningWithStrikePoint_1(_QWORD *a1)
{
_QWORD *v1; // rbx
__int64 v3; // [rsp+0h] [rbp-30h] BYREF
__int64 v4; // [rsp+8h] [rbp-28h] BYREF
_QWORD v5[4]; // [rsp+10h] [rbp-20h] BYREF
v1 = operator new(0x198u);
cocos2d::CCNode::CCNode((__int64)v1);
*v1 = off_100B88330;
v1[40] = off_100B88730;
sub_1002782D0(v1 + 41, &qword_100BE5D68);
sub_1002782D0(v1 + 42, &qword_100BE5D68);
*((_BYTE *)v1 + 344) = 0;
*(_QWORD *)((char *)v1 + 348) = 0;
v1[45] = 0;
*((_DWORD *)v1 + 92) = 0x40000000;
*((_BYTE *)v1 + 373) = 0;
v1[47] = 0x3F8000003F000000LL;
*((_WORD *)v1 + 202) = 0;
*((_BYTE *)v1 + 406) = 0;
v1[48] = 0;
*(_QWORD *)((char *)v1 + 390) = 0;
sub_1002782D0(v5, a1);
sub_1002782D0(&v3, v5);
sub_1002782D0(&v4, &qword_100BE5D68);
cocos2d::CCLightning::initWithStrikePoint(v1, &v3, &v4, 0.5);
cocos2d::CCObject::autorelease((__int64)v1);
return v1;
}