//
// GJBaseGameLayer::playFlashEffect from 0x100163760 to 0x1001637f5 (149 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 GJBaseGameLayer::playFlashEffect(GJBaseGameLayer *a1, float a2, int a3, float a4)
{
unsigned int v4; // r14d
unsigned int v5; // eax
int v6; // ecx
int v7; // r8d
int v8; // r9d
cocos2d::CCAction *v9; // r14
a1->m_unk31f8 = a4;
((void (__fastcall *)(cocos2d::CCNode *, __int64))a1->m_flashNode->setVisible)(a1->m_flashNode, 1);
v4 = (unsigned int)cocos2d::CCHide::create();
if ( a3 < 2 )
v5 = (unsigned int)cocos2d::CCDelayTime::create(a2);
else
v5 = (unsigned int)cocos2d::CCBlink::create(a2, a3 - 1);
v9 = (cocos2d::CCAction *)sub_1003B5760(v5, v4, 0, v6, v7, v8);
((void (__fastcall *)(cocos2d::CCAction *, __int64))v9->setTag)(v9, 15);
cocos2d::CCNode::runAction(a1->m_flashNode, v9);
}