//
// cocos2d::CCParticleBatchNode::setTexture from 0xb01e38 to 0xb01eb0 (120 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'cocos2d::CCParticleBatchNode::setTexture @ 0xb01eb4
// > ??> @ 0x7e078
// > ??> @ 0x12171e8
//
// 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) && *(_QWORD *)&a1->m_tBlendFunc == 0x30300000001LL )
{
a1->m_tBlendFunc.src = 770;
a1->m_tBlendFunc.dst = 771;
}
}