//
// cocos2d::CCParticleSystemQuad::setTexture from 0x1002f0b2c to 0x1002f0b8c (96 bytes)
//
// 2 xrefs:
// > sub_1002F0B8C @ 0x1002f0b90
// > ??> @ 0x100928270
//
// 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::setTexture(_QWORD *a1, __int64 a2)
{
float v5[4]; // [xsp+8h] [xbp-28h] BYREF
__int64 v6; // [xsp+18h] [xbp-18h] BYREF
(*(void (__fastcall **)(__int64 *__return_ptr, __int64))(*(_QWORD *)a2 + 144LL))(&v6, a2);
sub_1000262CC(v5, 0.0, 0.0, *(float *)&v6, *((float *)&v6 + 1));
return cocos2d::CCParticleSystemQuad::setTextureWithRect(a1, a2, v5);
}