//
// cocos2d::CCLightning::strikeRandom from 0x1005ddfe0 to 0x1005de04b (107 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
//
void __fastcall cocos2d::CCLightning::strikeRandom(cocos2d::CCLightning *a1)
{
cocos2d::CCShow *v1; // r14
cocos2d::CCFadeOut *v2; // r15
cocos2d::CCCallFunc *v3; // rax
cocos2d::CCSequence *v4; // rax
a1->m_seed = rand();
v1 = cocos2d::CCShow::create();
v2 = cocos2d::CCFadeOut::create(a1->m_duration);
v3 = cocos2d::CCCallFunc::create(a1, (cocos2d::SEL_CallFunc)(unsigned __int64)cocos2d::CCLightning::strikeFinished);
v4 = sub_1003B5760(v1, v2, v3, 0);
cocos2d::CCNode::runAction(a1, v4);
}