//
// CCLightStrip::init from 0x3e5f70 to 0x3e601a (170 bytes)
//
// 1 xrefs:
// > CCLightStrip::create @ 0x3e607a
//
// 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 CCLightStrip::init(
CCLightStrip *this,
float a2,
float a3,
float a4,
cocos2d::CCActionTween *a5,
cocos2d::CCDelayTime *a6)
{
float v8; // r3
float v9; // r1
cocos2d::CCShow *v10; // r8
cocos2d::CCFiniteTimeAction *v11; // r7
cocos2d::CCEaseOut *v12; // r0
float v13; // r2
cocos2d::CCSpawn *v14; // r6
cocos2d::CCEaseOut *v15; // r0
float v16; // r2
cocos2d::CCFiniteTimeAction *v17; // r0
int v18; // r0
cocos2d::CCDirector *v19; // r5
int v20; // r0
cocos2d::CCActionManager *v21; // r0
float savedregs; // [sp+0h] [bp+0h]
float savedregsa; // [sp+0h] [bp+0h]
*((float *)this + 67) = a3;
*((float *)this + 66) = a2;
*((float *)this + 68) = a4;
*((_DWORD *)this + 73) = 1065353216;
*((float *)this + 72) = a2;
*((_DWORD *)this + 71) = 1132396544;
v8 = *(float *)this;
*((float *)this + 69) = *(float *)&a5;
(*(void (__fastcall **)(CCLightStrip *, _DWORD))(LODWORD(v8) + 172))(this, 0);
v10 = (cocos2d::CCShow *)cocos2d::CCDelayTime::create(a6, v9);
v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCShow::create(v10);
v12 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(
a5,
COERCE_FLOAT("height"),
*((const char **)this + 73),
a4,
savedregs);
v14 = (cocos2d::CCSpawn *)cocos2d::CCEaseOut::create(v12, (cocos2d::CCActionInterval *)0x40000000, v13);
v15 = (cocos2d::CCEaseOut *)cocos2d::CCActionTween::create(
a5,
COERCE_FLOAT("width"),
*((const char **)this + 72),
*((float *)this + 67),
savedregsa);
v17 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseOut::create(v15, (cocos2d::CCActionInterval *)0x40000000, v16);
v18 = cocos2d::CCSpawn::create(v14, v17, 0);
v19 = (cocos2d::CCDirector *)cocos2d::CCSequence::create(v10, v11, v18, 0);
v20 = cocos2d::CCDirector::sharedDirector(v19);
v21 = (cocos2d::CCActionManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v20 + 72))(v20);
cocos2d::CCActionManager::addAction(v21, v19, this, 0);
return 1;
}