//
// cocos2d::CCLightning::lightningWithStrikePoint_1 from 0x1005dd9e0 to 0x1005ddb07 (295 bytes)
//
// 0 xrefs:
//
// 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::CCLightning *__fastcall cocos2d::CCLightning::lightningWithStrikePoint_1(cocos2d::CCPoint a1)
{
double *v1; // rdi
cocos2d::CCPoint v2; // xmm1_8
float v3; // xmm2_4
char *v4; // rbx
__int64 v6; // [rsp+0h] [rbp-30h] BYREF
__int64 v7; // [rsp+8h] [rbp-28h] BYREF
double v8[4]; // [rsp+10h] [rbp-20h] BYREF
v4 = (char *)operator new(0x198u);
cocos2d::CCNode::CCNode((__int64)v4);
*(_QWORD *)v4 = off_100975770;
*((_QWORD *)v4 + 40) = off_100975B60;
sub_10028CC60((_QWORD *)v4 + 41, &dbl_1009A2DD8);
sub_10028CC60((_QWORD *)v4 + 42, &dbl_1009A2DD8);
v4[344] = 0;
*(_QWORD *)(v4 + 348) = 0;
*((_QWORD *)v4 + 45) = 0;
*((_DWORD *)v4 + 92) = 0x40000000;
v4[373] = 0;
*((_QWORD *)v4 + 47) = 0x3F8000003F000000LL;
*((_WORD *)v4 + 202) = 0;
v4[406] = 0;
*((_QWORD *)v4 + 48) = 0;
*(_QWORD *)(v4 + 390) = 0;
sub_10028CC60(v8, v1);
sub_10028CC60(&v6, v8);
sub_10028CC60(&v7, &dbl_1009A2DD8);
cocos2d::CCLightning::initWithStrikePoint((cocos2d::CCLightning *)v4, (cocos2d::CCPoint)1056964608LL, v2, v3);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (cocos2d::CCLightning *)v4;
}