//
// cocos2d::CCParticleSystemQuad::setTextureWithRect from 0x10025393c to 0x1002539b0 (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystemQuad::setTexture @ 0x1002539fc
// > cocos2d::CCParticleSystemQuad::setDisplayFrame @ 0x100253a60
//
// 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 __fastcall cocos2d::CCParticleSystemQuad::setTextureWithRect(
cocos2d::CCParticleSystemQuad *a1,
cocos2d::CCTexture2D *a2,
const cocos2d::CCRect *a3)
{
int v6; // w22
if ( !a1->m_pTexture
|| (v6 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *))a2->getName)(a2),
v6 != ((unsigned int (__fastcall *)(cocos2d::CCTexture2D *))a1->m_pTexture->getName)(a1->m_pTexture)) )
{
cocos2d::CCParticleSystem::setTexture(a1, a2);
}
cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, a3);
}