// // cocos2d::CCParticleBatchNode::initWithTexture from 0x1003c8a10 to 0x1003c8ab4 (164 bytes) // // 3 xrefs: // > cocos2d::CCParticleBatchNode::createWithTexture @ 0x1003c89e1 // > cocos2d::CCParticleBatchNode::create @ 0x1003c8b33 // > cocos2d::CCParticleBatchNode::initWithFile @ 0x1003c8b9c // // 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 __fastcall cocos2d::CCParticleBatchNode::initWithTexture( cocos2d::CCParticleBatchNode *a1, cocos2d::CCTexture2D *a2, unsigned int a3) { cocos2d::CCTextureAtlas *v4; // r14 cocos2d::CCArray *v5; // r14 cocos2d::CCShaderCache *v6; // rax cocos2d::CCGLProgram *v7; // rax v4 = (cocos2d::CCTextureAtlas *)operator new(0x70u); cocos2d::CCTextureAtlas::CCTextureAtlas(v4); a1->m_pTextureAtlas = v4; cocos2d::CCTextureAtlas::initWithTexture(v4, a2, a3); v5 = (cocos2d::CCArray *)operator new(0x40u); sub_10071F890(v5); a1->m_pChildren = v5; sub_10071F950(v5, a3); a1->m_tBlendFunc = (cocos2d::ccBlendFunc)0x30300000001LL; v6 = cocos2d::CCShaderCache::sharedShaderCache(); v7 = cocos2d::CCShaderCache::programForKey(v6, "ShaderPositionTextureColor"); ((void (__fastcall *)(cocos2d::CCParticleBatchNode *, cocos2d::CCGLProgram *))a1->setShaderProgram)(a1, v7); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source