//
// cocos2d::CCParticleSystemQuad::setTexture from 0x18006ac80 to 0x18006ace0 (96 bytes)
//
// 14 xrefs:
// > ??> @ 0x1800fad60
// > ??> @ 0x1800fb3d0
// > ??> @ 0x1800fba40
// > ??> @ 0x1800fc0b0
// > ??> @ 0x1800fc720
// > ??> @ 0x1800fcd90
// > ??> @ 0x1800fd400
// > ??> @ 0x1800fda70
// > ??> @ 0x1800fe0e0
// > ??> @ 0x1800fe750
// > ??> @ 0x1800fedc0
// > ??> @ 0x1801000a0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3d50
//
// 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::setTexture(
cocos2d::CCParticleSystemQuad *this,
struct cocos2d::CCTexture2D *a2)
{
cocos2d::CCRect *v4; // rax
cocos2d::CCRect v5; // [rsp+30h] [rbp-18h] BYREF
float v6; // [rsp+50h] [rbp+8h] BYREF
float v7; // [rsp+54h] [rbp+Ch]
((void (__fastcall *)(struct cocos2d::CCTexture2D *, float *))a2->getContentSize)(a2, &v6);
v4 = cocos2d::CCRect::CCRect(&v5, 0.0, 0.0, v6, v7);
cocos2d::CCParticleSystemQuad::setTextureWithRect((cocos2d::CCParticleSystemQuad *)((char *)this - 320), a2, v4);
}