//
// cocos2d::CCParticleSystemQuad::setTextureWithRect from 0x5de128 to 0x5de164 (60 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystemQuad::setTexture @ 0x5de196
// > cocos2d::CCParticleSystemQuad::setDisplayFrame @ 0x5de1e0
//
// 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::CCParticleSystemQuad::setTextureWithRect(
cocos2d::CCParticleSystemQuad *a1,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3)
{
GLuint v6; // r7
if ( !a1->m_pTexture || (v6 = a2->getName(a2), v6 != a1->m_pTexture->getName(a1->m_pTexture)) )
cocos2d::CCParticleSystem::setTexture(a1, a2);
cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, a3);
}