//
// GJBaseGameLayer::playFlashEffect from 0x100142ed0 to 0x100142f65 (149 bytes)
//
// 0 xrefs:
//
// 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:24:56 +0000
//
__int64 __fastcall GJBaseGameLayer::playFlashEffect(__int64 a1, int a2, float a3, float a4)
{
int v4; // r14d
int v5; // eax
int v6; // ecx
int v7; // r8d
int v8; // r9d
__int64 v9; // r14
*(float *)(a1 + 12560) = a4;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 12552) + 344LL))(*(_QWORD *)(a1 + 12552), 1);
v4 = cocos2d::CCHide::create();
if ( a2 < 2 )
v5 = cocos2d::CCDelayTime::create(a3);
else
v5 = cocos2d::CCBlink::create((unsigned int)(a2 - 1), a3);
v9 = sub_10039EB60(v5, v4, 0, v6, v7, v8);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 72LL))(v9, 15);
return cocos2d::CCNode::runAction(*(_QWORD *)(a1 + 12552), v9);
}