//
// CCLightStrip::init from 0x6c7b20 to 0x6c7c38 (280 bytes)
//
// 2 xrefs:
// > CCLightStrip::create @ 0x6c7cc0
// > ??> @ 0x59548
//
// This function is hookable on this platform (idp: arm, 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:51:21 +0000
//
__int64 __fastcall CCLightStrip::init(CCLightStrip *this, float a2, float a3, float a4, float a5, float a6)
{
__int64 v7; // x2
cocos2d::CCDelayTime *v9; // x0
cocos2d::CCShow *v10; // x21
cocos2d::CCFiniteTimeAction *v11; // x20
const char *v12; // x1
cocos2d::CCEaseOut *v13; // x0
cocos2d::CCActionInterval *v14; // x1
cocos2d::CCSpawn *v15; // x22
const char *v16; // x1
cocos2d::CCEaseOut *v17; // x0
cocos2d::CCActionInterval *v18; // x1
cocos2d::CCFiniteTimeAction *v19; // x0
__int64 v20; // x0
__int64 v21; // x0
cocos2d::CCActionManager *v22; // x0
cocos2d::CCDirector *v26; // [xsp+50h] [xbp+50h]
*((float *)this + 80) = a3;
v7 = *(_QWORD *)this;
*((float *)this + 81) = a4;
*((float *)this + 79) = a2;
*((float *)this + 82) = a5;
*((float *)this + 85) = a2;
*((float *)this + 86) = 1.0;
*((_DWORD *)this + 84) = 1132396544;
v9 = (cocos2d::CCDelayTime *)(*(__int64 (__fastcall **)(CCLightStrip *, _QWORD))(v7 + 344))(this, 0);
v10 = (cocos2d::CCShow *)cocos2d::CCDelayTime::create(v9, a6);
v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v10);
v13 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(
(cocos2d::CCActionTween *)"height",
a5,
v12,
*((float *)this + 86),
a4);
v15 = (cocos2d::CCSpawn *)cocos2d::CCEaseOut::create(v13, v14, 2.0);
v17 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(
(cocos2d::CCActionTween *)"width",
a5,
v16,
*((float *)this + 85),
*((float *)this + 80));
v19 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseOut::create(v17, v18, 2.0);
v20 = cocos2d::CCSpawn::create(v15, v19, 0);
v26 = (cocos2d::CCDirector *)cocos2d::CCSequence::create(v10, v11, v20, 0);
v21 = cocos2d::CCDirector::sharedDirector(v26);
v22 = (cocos2d::CCActionManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v21 + 144LL))(v21);
cocos2d::CCActionManager::addAction(v22, v26, this, 0);
return 1;
}