//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x5de1b8 to 0x5de1e6 (46 bytes)
//
// 2 xrefs:
// > GameToolbox::particleFromStruct @ 0x2ed6b4
// > CreateParticlePopup::onSelectParticleTexture @ 0x531026
//
// 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 cocos2d::CCParticleSystemQuad::setDisplayFrame(cocos2d::CCParticleSystemQuad *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCPoint *OffsetInPixels; // r0
cocos2d::CCTexture2D *Texture; // r0
if ( a2 )
{
OffsetInPixels = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
cocos2d::CCPoint::equals(OffsetInPixels, &stru_AC8E88);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
cocos2d::CCParticleSystemQuad::setTextureWithRect(a1, Texture, &a2->m_obRect);
}
}