//
// GJBaseGameLayer::playFlashEffect from 0x86a9bc to 0x86aa5c (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x67cf8
//
// 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::CCNode *m_flashNode; // x2
cocos2d::CCHide *v7; // x0
float v8; // s0
cocos2d::CCSequence *v9; // x0
cocos2d::CCAction *v10; // x20
cocos2d::CCFiniteTimeAction *v12; // [xsp+20h] [xbp+20h]
m_flashNode = a1->m_flashNode;
a1->m_unk31f8 = a4;
m_flashNode->setVisible(m_flashNode, 1);
v7 = cocos2d::CCHide::create();
v8 = a2;
v12 = v7;
if ( a3 <= 1 )
v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(v8);
else
v9 = (cocos2d::CCSequence *)cocos2d::CCBlink::create(v8, a3 - 1);
v10 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v12, 0);
v10->setTag(v10, 15);
cocos2d::CCNode::runAction(a1->m_flashNode, v10);
}