//
// cocos2d::CCLightning::lightningWithStrikePoint from 0x1006af4b0 to 0x1006af5cd (285 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::lightningFlash @ 0x1000fd6c9
// > RewardUnlockLayer::playRewardEffect @ 0x10020177e
// > SecretLayer5::showSuccessAnimation @ 0x100471476
//
// 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(_QWORD *a1, _QWORD *a2, float a3)
{
_QWORD *v3; // rbx
__int64 v5; // [rsp+Ch] [rbp-34h] BYREF
__int64 v6; // [rsp+14h] [rbp-2Ch] BYREF
float v7; // [rsp+1Ch] [rbp-24h]
v7 = a3;
v3 = operator new(0x198u);
cocos2d::CCNode::CCNode((__int64)v3);
*v3 = off_100B88330;
v3[40] = off_100B88730;
sub_1002782D0(v3 + 41, &qword_100BE5D68);
sub_1002782D0(v3 + 42, &qword_100BE5D68);
*((_BYTE *)v3 + 344) = 0;
*(_QWORD *)((char *)v3 + 348) = 0;
v3[45] = 0;
*((_DWORD *)v3 + 92) = 0x40000000;
*((_BYTE *)v3 + 373) = 0;
v3[47] = 0x3F8000003F000000LL;
*((_WORD *)v3 + 202) = 0;
*((_BYTE *)v3 + 406) = 0;
v3[48] = 0;
*(_QWORD *)((char *)v3 + 390) = 0;
sub_1002782D0(&v5, a1);
sub_1002782D0(&v6, a2);
cocos2d::CCLightning::initWithStrikePoint(v3, &v5, &v6, v7);
cocos2d::CCObject::autorelease((__int64)v3);
return v3;
}