//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x100253a18 to 0x100253a68 (80 bytes)
//
// 2 xrefs:
// > GameToolbox::particleFromStruct @ 0x100047e18
// > CreateParticlePopup::onSelectParticleTexture @ 0x1002cf2fc
//
// 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 *a1,
cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCPoint *OffsetInPixels; // x0
cocos2d::CCTexture2D *Texture; // x1
if ( a2 )
{
OffsetInPixels = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
sub_100022A5C((float *)OffsetInPixels, flt_10086D4B0);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
cocos2d::CCParticleSystemQuad::setTextureWithRect(a1, Texture, &a2->m_obRect);
}
}