//
// cocos2d::CCParticleSystemQuad::setTextureWithRect from 0x1002f0ab8 to 0x1002f0b2c (116 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystemQuad::setTexture @ 0x1002f0b78
// > cocos2d::CCParticleSystemQuad::setDisplayFrame @ 0x1002f0bdc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:02:55 +0000
//
__int64 __fastcall cocos2d::CCParticleSystemQuad::setTextureWithRect(_QWORD *a1, __int64 a2, float *a3)
{
int v6; // w22
if ( !a1[83]
|| (v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 104LL))(a2),
v6 != (*(unsigned int (__fastcall **)(_QWORD))(*(_QWORD *)a1[83] + 104LL))(a1[83])) )
{
cocos2d::CCParticleSystem::setTexture(a1, a2);
}
return cocos2d::CCParticleSystemQuad::initTexCoordsWithRect((__int64)a1, a3);
}