//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x18006ac20 to 0x18006ac78 (88 bytes)
//
// 4 xrefs:
// > ??> @ 0x18013a0ac
// > ??> @ 0x18013a0bc
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3d2c
//
// 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::setDisplayFrame(
cocos2d::CCParticleSystemQuad *this,
struct cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCSize *OffsetInPixels; // rax
struct cocos2d::CCTexture2D *Texture; // rax
if ( a2 )
{
OffsetInPixels = (cocos2d::CCSize *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
cocos2d::CCSize::equals(OffsetInPixels, &unk_1801A8420);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
cocos2d::CCParticleSystemQuad::setTextureWithRect(this, Texture, &a2->m_obRect);
}
}