//
// cocos2d::CCParticleSystemQuad::setTexture from 0xd74064 to 0xd740f4 (144 bytes)
//
// 14 xrefs:
// > `non-virtual thunk to'cocos2d::CCParticleSystemQuad::setTexture @ 0xd740f8
// > ??> @ 0x7afb0
// > ??> @ 0x1528110
// > ??> @ 0x15287d0
// > ??> @ 0x1528e90
// > ??> @ 0x1529550
// > ??> @ 0x1529c10
// > ??> @ 0x152a2d0
// > ??> @ 0x152a990
// > ??> @ 0x152b050
// > ??> @ 0x152b710
// > ??> @ 0x152bdd0
// > ??> @ 0x152c490
// > ??> @ 0x152d680
//
// 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 13:08:01 +0000
//
__int64 __fastcall cocos2d::CCParticleSystemQuad::setTexture(
cocos2d::CCParticleSystemQuad *this,
cocos2d::CCTexture2D *a2)
{
__int64 v5; // [xsp+40h] [xbp+40h] BYREF
_BYTE v6[16]; // [xsp+48h] [xbp+48h] BYREF
(*(void (__fastcall **)(__int64 *__return_ptr, cocos2d::CCTexture2D *))(*(_QWORD *)a2 + 144LL))(&v5, a2);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, 0.0, 0.0, *(float *)&v5, *((float *)&v5 + 1));
cocos2d::CCParticleSystemQuad::setTextureWithRect(this, a2, (const cocos2d::CCRect *)v6);
return _stack_chk_guard;
}