//
// cocos2d::CCParticleSystemQuad::setTextureWithRect from 0x1006da940 to 0x1006da99a (90 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:35:42 +0000
//
double *__fastcall cocos2d::CCParticleSystemQuad::setTextureWithRect(__int64 a1, __int64 a2, __int64 a3)
{
int v4; // r15d
if ( !*(_QWORD *)(a1 + 664)
|| (v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 104LL))(a2),
v4 != (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 104LL))(*(_QWORD *)(a1 + 664))) )
{
cocos2d::CCParticleSystem::setTexture(a1);
}
return cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, a3);
}