// // cocos2d::CCParticleBatchNode::initWithTexture from 0x7e5978 to 0x7e59dc (100 bytes) // // 2 xrefs: // > cocos2d::CCParticleBatchNode::createWithTexture @ 0x7e59fa // > cocos2d::CCParticleBatchNode::initWithFile @ 0x7e5a36 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:00:53 +0000 // int __fastcall cocos2d::CCParticleBatchNode::initWithTexture( cocos2d::CCParticleBatchNode *this, cocos2d::CCTexture2D *a2, cocos2d *a3) { cocos2d::CCTextureAtlas *v6; // r6 cocos2d::CCArray *v7; // r6 cocos2d::CCShaderCache *v8; // r0 int v9; // r3 void (__fastcall *v10)(cocos2d::CCParticleBatchNode *, int); // r6 cocos2d::CCShaderCache *v11; // r0 int v12; // r0 v6 = (cocos2d::CCTextureAtlas *)operator new(0x58u); cocos2d::CCTextureAtlas::CCTextureAtlas(v6); *((_DWORD *)this + 67) = v6; cocos2d::CCTextureAtlas::initWithTexture(v6, a2, (unsigned int)a3); v7 = (cocos2d::CCArray *)operator new(0x38u); cocos2d::CCArray::CCArray(v7); *((_DWORD *)this + 48) = v7; v8 = (cocos2d::CCShaderCache *)cocos2d::CCArray::initWithCapacity(v7, a3); *((_DWORD *)this + 69) = 771; v9 = *(_DWORD *)this; *((_DWORD *)this + 68) = 1; v10 = *(void (__fastcall **)(cocos2d::CCParticleBatchNode *, int))(v9 + 332); v11 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(v8); v12 = cocos2d::CCShaderCache::programForKey(v11, "ShaderPositionTextureColor"); v10(this, v12); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source