// // CCLightStrip::init from 0x5a7a04 to 0x5a7b1c (280 bytes) // // 2 xrefs: // > CCLightStrip::create @ 0x5a7ba4 // > @ 0x3dcf8 // // 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 CCLightStrip::init(CCLightStrip *a1, float a2, float a3, float a4, float a5, float a6) { void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x2 cocos2d::CCSequence *v9; // x21 cocos2d::CCShow *v10; // x20 const char *v11; // x1 cocos2d::CCActionInterval *v12; // x0 cocos2d::CCEaseOut *v13; // x22 const char *v14; // x1 cocos2d::CCActionInterval *v15; // x0 cocos2d::CCEaseOut *v16; // x0 __int64 v17; // x0 cocos2d::CCDirector *v18; // x0 cocos2d::CCActionManager *v19; // x0 cocos2d::CCAction *v23; // [xsp+50h] [xbp+50h] setVisible = a1->setVisible; a1->m_toWidth = a3; a1->m_toHeight = a4; a1->m_objectWidth = a2; a1->m_duration = a5; a1->m_width = a2; a1->m_opacity = 255.0; a1->m_height = 1.0; setVisible(a1, 0); v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a6); v10 = cocos2d::CCShow::create(); v12 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create( (cocos2d::CCActionTween *)"height", a5, v11, a1->m_height, a4); v13 = cocos2d::CCEaseOut::create(v12, 2.0); v15 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create( (cocos2d::CCActionTween *)"width", a5, v14, a1->m_width, a1->m_toWidth); v16 = cocos2d::CCEaseOut::create(v15, 2.0); v17 = cocos2d::CCSpawn::create((cocos2d::CCSpawn *)v13, v16, 0); v23 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, v17, 0); v18 = cocos2d::CCDirector::sharedDirector(); v19 = v18->getActionManager(v18); cocos2d::CCActionManager::addAction(v19, v23, a1, 0); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source