// // CCLightStrip::init from 0x2fca6c to 0x2fcb16 (170 bytes) // // 1 xrefs: // > CCLightStrip::create @ 0x2fcb76 // // 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) { CCLightStrip_vtbl *v8; // r3 cocos2d::CCSequence *v9; // r8 cocos2d::CCShow *v10; // r7 cocos2d::CCActionInterval *v11; // r0 cocos2d::CCEaseOut *v12; // r6 cocos2d::CCActionInterval *v13; // r0 cocos2d::CCEaseOut *v14; // r0 int v15; // r0 cocos2d::CCAction *v16; // r5 cocos2d::CCDirector *v17; // r0 cocos2d::CCActionManager *v18; // r0 float savedregs; // [sp+0h] [bp+0h] float savedregsa; // [sp+0h] [bp+0h] a1->m_toWidth = a3; a1->m_objectWidth = a2; a1->m_toHeight = a4; a1->m_height = 1.0; a1->m_width = a2; a1->m_opacity = 255.0; v8 = a1->__vftable; a1->m_duration = a5; v8->setVisible(a1, 0); v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a6); v10 = cocos2d::CCShow::create(); v11 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create( (cocos2d::CCActionTween *)LODWORD(a5), COERCE_FLOAT("height"), (const char *)LODWORD(a1->m_height), a4, savedregs); v12 = cocos2d::CCEaseOut::create(v11, 2.0); v13 = (cocos2d::CCActionInterval *)cocos2d::CCActionTween::create( (cocos2d::CCActionTween *)LODWORD(a5), COERCE_FLOAT("width"), (const char *)LODWORD(a1->m_width), a1->m_toWidth, savedregsa); v14 = cocos2d::CCEaseOut::create(v13, 2.0); v15 = cocos2d::CCSpawn::create((cocos2d::CCSpawn *)v12, v14, 0); v16 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, v15, 0); v17 = cocos2d::CCDirector::sharedDirector(); v18 = v17->getActionManager(v17); cocos2d::CCActionManager::addAction(v18, v16, a1, 0); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source