//
// cocos2d::CCParticleBatchNode::setTexture from 0x5dd09e to 0x5dd0d6 (56 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCParticleBatchNode::setTexture @ 0x5dd0da
//
// 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 cocos2d::CCParticleBatchNode::setTexture(cocos2d::CCParticleBatchNode *a1, cocos2d::CCTexture2D *a2)
{
((void (__fastcall *)(cocos2d::CCTextureAtlas *))a1->m_pTextureAtlas->setTexture)(a1->m_pTextureAtlas);
if ( a2
&& !cocos2d::CCTexture2D::hasPremultipliedAlpha(a2)
&& a1->m_tBlendFunc.src == 1
&& a1->m_tBlendFunc.dst == 771 )
{
a1->m_tBlendFunc.src = 770;
}
}