// // CCLightStrip::init from 0x100031544 to 0x10003165c (280 bytes) // // 1 xrefs: // > CCLightStrip::create @ 0x100031190 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall CCLightStrip::init(CCLightStrip *a1, float a2, float a3, float a4, float a5, float a6) { cocos2d::CCDelayTime *v10; // x20 cocos2d::CCActionTween *v11; // x0 cocos2d::CCEaseOut *v12; // x22 cocos2d::CCActionTween *v13; // x0 cocos2d::CCAction *v14; // x20 cocos2d::CCDirector *v15; // x0 cocos2d::CCActionManager *v16; // x0 a1->m_objectWidth = a2; a1->m_toWidth = a3; a1->m_toHeight = a4; a1->m_duration = a5; a1->m_width = a2; a1->m_height = 1.0; a1->m_opacity = 255.0; ((void (__fastcall *)(CCLightStrip *, _QWORD))a1->setVisible)(a1, 0); v10 = cocos2d::CCDelayTime::create(a6); cocos2d::CCShow::create(); v11 = cocos2d::CCActionTween::create_1(a5, "height", a1->m_height, a4); v12 = cocos2d::CCEaseOut::create(v11, 2.0); v13 = cocos2d::CCActionTween::create_1(a5, "width", a1->m_width, a1->m_toWidth); cocos2d::CCEaseOut::create(v13, 2.0); sub_10018ABE0(v12); v14 = (cocos2d::CCAction *)sub_10018A494(v10); v15 = cocos2d::CCDirector::sharedDirector(); v16 = (cocos2d::CCActionManager *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v15->getActionManager)(v15); cocos2d::CCActionManager::addAction(v16, v14, a1, 0); return 1; }