//
// cocos2d::CCParticleSystemQuad::setTexture from 0x18006ce40 to 0x18006cea0 (96 bytes)
//
// 14 xrefs:
// > ??> @ 0x1801012a0
// > ??> @ 0x180101920
// > ??> @ 0x180101fa0
// > ??> @ 0x180102620
// > ??> @ 0x180102ca0
// > ??> @ 0x180103320
// > ??> @ 0x1801039a0
// > ??> @ 0x180104020
// > ??> @ 0x1801046a0
// > ??> @ 0x180104d20
// > ??> @ 0x1801053a0
// > ??> @ 0x1801066f0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be098
//
// 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 11:21:55 +0000
//
void __fastcall cocos2d::CCParticleSystemQuad::setTexture(
cocos2d::CCParticleSystemQuad *this,
struct cocos2d::CCTexture2D *a2)
{
cocos2d::CCRect *v4; // rax
_BYTE v5[24]; // [rsp+30h] [rbp-18h] BYREF
float v6; // [rsp+50h] [rbp+8h] BYREF
float v7; // [rsp+54h] [rbp+Ch]
(*(void (__fastcall **)(struct cocos2d::CCTexture2D *, float *))(*(_QWORD *)a2 + 136LL))(a2, &v6);
v4 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v5, 0.0, 0.0, v6, v7);
cocos2d::CCParticleSystemQuad::setTextureWithRect((cocos2d::CCParticleSystemQuad *)((char *)this - 320), a2, v4);
}