// // cocos2d::CCParticleBatchNode::initWithTexture from 0x1800616f0 to 0x1800617c3 (211 bytes) // // 5 xrefs: // > cocos2d::CCParticleBatchNode::create @ 0x18006137b // > cocos2d::CCParticleBatchNode::createWithTexture @ 0x180061458 // > cocos2d::CCParticleBatchNode::initWithFile @ 0x1800616e3 // > @ 0x1801438a8 // > @ 0x1801b3654 // // 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 // // Hidden C++ exception states: #wind=2 char __fastcall cocos2d::CCParticleBatchNode::initWithTexture( cocos2d::CCParticleBatchNode *this, struct cocos2d::CCTexture2D *a2, unsigned int a3) { cocos2d::CCTextureAtlas *v6; // rax cocos2d::CCArray *v7; // rbx cocos2d::CCTextureAtlas *v8; // rax cocos2d::CCArray *v9; // rax cocos2d::CCParticleBatchNode_vtbl *v10; // rbx cocos2d::CCShaderCache *v11; // rax struct cocos2d::CCGLProgram *v12; // rax v6 = (cocos2d::CCTextureAtlas *)operator new(0x70u); v7 = nullptr; if ( v6 ) v8 = (cocos2d::CCTextureAtlas *)cocos2d::CCTextureAtlas::CCTextureAtlas(v6); else v8 = nullptr; this->m_pTextureAtlas = v8; cocos2d::CCTextureAtlas::initWithTexture(v8, a2, a3); v9 = (cocos2d::CCArray *)operator new(0x40u); if ( v9 ) v7 = cocos2d::CCArray::CCArray(v9); this->m_pChildren = v7; cocos2d::CCArray::initWithCapacity(v7, a3); this->m_tBlendFunc.src = 1; this->m_tBlendFunc.dst = 771; v10 = this->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v11 = cocos2d::CCShaderCache::sharedShaderCache(); v12 = cocos2d::CCShaderCache::programForKey(v11, "ShaderPositionTextureColor"); ((void (__fastcall *)(cocos2d::CCParticleBatchNode *, struct cocos2d::CCGLProgram *))v10->setShaderProgram)(this, v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source