//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x18006cde0 to 0x18006ce38 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0x180143448
// > ??> @ 0x180143458
// > ??> @ 0x18014cf68
// > ??> @ 0x1801be074
//
// 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::setDisplayFrame(
cocos2d::CCParticleSystemQuad *this,
struct cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCSize *OffsetInPixels; // rax
struct cocos2d::CCTexture2D *Texture; // rax
if ( a2 )
{
OffsetInPixels = cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
cocos2d::CCSize::equals(OffsetInPixels, (const struct cocos2d::CCSize *)&unk_1801B2460);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
cocos2d::CCParticleSystemQuad::setTextureWithRect(this, Texture, (struct cocos2d::CCSpriteFrame *)((char *)a2 + 92));
}
}