//
// cocos2d::CCLightning::strikeFinished from 0x1006af9d0 to 0x1006af9e9 (25 bytes)
//
// 4 xrefs:
// > cocos2d::CCLightning::initWithStrikePoint @ 0x1006af6e9
// > cocos2d::CCLightning::strike @ 0x1006af765
// > cocos2d::CCLightning::strikeRandom @ 0x1006af923
// > cocos2d::CCLightning::strikeWithSeed @ 0x1006af98c
//
// 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
//
__int64 __fastcall cocos2d::CCLightning::strikeFinished(_BYTE *a1)
{
__int64 result; // rax
if ( a1[373] == 1 )
return (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)a1 + 536LL))(a1);
return result;
}