// // LevelEditorLayer::updatePreviewParticle from 0x66237c to 0x66244c (208 bytes) // // 3 xrefs: // > LevelEditorLayer::updatePreviewParticles @ 0x6624a0 // > LevelEditorLayer::addSpecial @ 0x6705f4 // > @ 0x9f690 // // 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 // void LevelEditorLayer::updatePreviewParticle(LevelEditorLayer *a1, ParticleGameObject *a2) { float *v2; // x20 ParticleGameObject_vtbl *v4; // x2 bool (__fastcall *isVisible)(cocos2d::CCNode *__hidden); // x2 bool v6; // w0 ParticleGameObject *v7; // x1 float v8; // s0 void (__fastcall *unclaimParticle)(ParticleGameObject *__hidden); // x2 v2 = &a1->m_varianceValues.__elems_[1975]; v4 = a2->EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( a1->m_previewParticles ) { isVisible = v4->isVisible; a2->m_notPreviewing = 0; v6 = isVisible(a2); v7 = a2; if ( v6 ) { a2->claimParticle(a2); v7 = a2; v8 = 0.0; if ( !*((_BYTE *)v2 + 1942) ) { LABEL_4: if ( a1->m_playbackMode != Playing ) v8 = 50.0; } } else { v8 = 0.0; if ( !*((_BYTE *)v2 + 1942) ) goto LABEL_4; } } else { unclaimParticle = v4->unclaimParticle; a2->m_notPreviewing = 1; unclaimParticle(a2); v8 = 0.0; v7 = a2; if ( a1->m_playbackMode != Playing ) { ParticleGameObject::updateParticlePreviewArtOpacity(a2, 255.0); return; } } ParticleGameObject::updateParticlePreviewArtOpacity(v7, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source