// // ParticlePreviewLayer::init from 0x9c5288 to 0x9c5328 (160 bytes) // // 2 xrefs: // > ParticlePreviewLayer::create @ 0x9c53b0 // > @ 0x3be08 // // 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 ParticlePreviewLayer::init(ParticlePreviewLayer *a1, cocos2d::CCParticleSystemQuad *a2) { bool v4; // w20 ParticlePreviewLayer_vtbl *v5; // x3 cocos2d::ccColor4B v7; // [xsp+30h] [xbp+30h] BYREF v7.r = 0; v7.g = 0; v7.b = 0; v7.a = -1; v4 = cocos2d::CCLayerColor::initWithColor(a1, &v7, 120.0, 180.0); if ( v4 ) { v5 = a1->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; a1->m_particleSystem = a2; v5->addChild_0(a1, a2, 100); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source