//
// GJBaseGameLayer::playFlashEffect from 0x479910 to 0x479968 (88 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 GJBaseGameLayer::playFlashEffect(GJBaseGameLayer *a1, float a2, int a3, float a4)
{
cocos2d::CCHide *v7; // r4
cocos2d::CCSequence *v8; // r0
cocos2d::CCAction *v9; // r4
a1->m_unk31f8 = a4;
a1->m_flashNode->setVisible(a1->m_flashNode, 1);
v7 = cocos2d::CCHide::create();
if ( a3 <= 1 )
v8 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a2);
else
v8 = (cocos2d::CCSequence *)cocos2d::CCBlink::create(a2, a3 - 1);
v9 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v7, 0);
v9->setTag(v9, 15);
cocos2d::CCNode::runAction(a1->m_flashNode, v9);
}