//
// GJBaseGameLayer::playFlashEffect from 0x598404 to 0x59845c (88 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:10 +0000
//
int __fastcall GJBaseGameLayer::playFlashEffect(GJBaseGameLayer *this, cocos2d::CCDelayTime *a2, int a3, float a4)
{
cocos2d::CCHide *v7; // r0
float v8; // r1
unsigned int v9; // r2
cocos2d::CCFiniteTimeAction *v10; // r4
cocos2d::CCSequence *v11; // r0
cocos2d::CCAction *v12; // r4
*((float *)this + 2699) = a4;
v7 = (cocos2d::CCHide *)(*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 2698) + 172))(
*((_DWORD *)this + 2698),
1);
v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCHide::create(v7);
if ( a3 <= 1 )
v11 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a2, v8);
else
v11 = (cocos2d::CCSequence *)cocos2d::CCBlink::create(a2, COERCE_FLOAT(a3 - 1), v9);
v12 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v11, v10, 0);
(*(void (__fastcall **)(cocos2d::CCAction *, int))(*(_DWORD *)v12 + 36))(v12, 15);
return cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 2698), v12);
}