//
// cocos2d::CCParticleSystemQuad::setTextureWithRect from 0x100602f60 to 0x100602fba (90 bytes)
//
// 0 xrefs:
//
// 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 v4; // r15d
if ( !a1->m_pTexture
|| (v4 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *))a2->getName)(a2),
v4 != ((unsigned int (__fastcall *)(cocos2d::CCTexture2D *))a1->m_pTexture->getName)(a1->m_pTexture)) )
{
cocos2d::CCParticleSystem::setTexture(a1, a2);
}
cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, a3);
}