//
// CCLightFlash::showFlash from 0x3e5e58 to 0x3e5f5a (258 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:47:04 +0000
//
int __fastcall CCLightFlash::showFlash(cocos2d::CCArray **this)
{
int v3; // r0
float v4; // r1
cocos2d::CCEaseIn *v5; // r0
float v6; // r2
cocos2d::CCSequence *v7; // r0
cocos2d::CCSequence *v8; // r10
cocos2d::CCFiniteTimeAction *v9; // r11
float v10; // r1
int v11; // r9
float v12; // r1
cocos2d::CCEaseInOut *v13; // r0
float v14; // r2
int v15; // r0
int v16; // r8
int v17; // r0
cocos2d::CCAction *v18; // r0
_DWORD v19[4]; // [sp+Ch] [bp-20h] BYREF
_DWORD v20[2]; // [sp+1Ch] [bp-10h] BYREF
if ( !*((_BYTE *)this + 272) )
return CCLightFlash::fadeAndRemove(this);
if ( !*(this + 69) )
*(this + 69) = (cocos2d::CCArray *)this;
v20[0] = 0xFFFFFF;
v3 = cocos2d::CCLayerColor::create(v20);
*(this + 67) = (cocos2d::CCArray *)v3;
v19[0] = 770;
v19[1] = 1;
(*(void (__fastcall **)(int, int, int, _DWORD *))(*(_DWORD *)v3 + 644))(v3, 770, 1, v19);
(*(void (__fastcall **)(_DWORD, _DWORD, _DWORD))(*(_DWORD *)*(this + 69) + 232))(
*(this + 69),
*(this + 67),
*(this + 70));
v5 = (cocos2d::CCEaseIn *)cocos2d::CCFadeIn::create((cocos2d::CCFadeIn *)0x3E99999A, v4);
v7 = (cocos2d::CCSequence *)cocos2d::CCEaseIn::create(v5, (cocos2d::CCActionInterval *)0x40000000, v6);
v19[3] = 0;
v19[2] = CCLightFlash::removeLights;
v8 = v7;
v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, CCLightFlash::removeLights, 0);
v11 = cocos2d::CCDelayTime::create((cocos2d::CCDelayTime *)0x3F000000, v10);
v13 = (cocos2d::CCEaseInOut *)cocos2d::CCFadeOut::create((cocos2d::CCFadeOut *)0x3FC00000, v12);
v15 = cocos2d::CCEaseInOut::create(v13, (cocos2d::CCActionInterval *)0x40000000, v14);
v20[1] = 0;
v20[0] = CCLightFlash::cleanupFlash;
v16 = v15;
v17 = cocos2d::CCCallFunc::create(this, CCLightFlash::cleanupFlash, 0);
v18 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v8, v9, v11, v16, v17, 0);
return cocos2d::CCNode::runAction(*(this + 67), v18);
}