//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x7e6a08 to 0x7e6a36 (46 bytes)
//
// 2 xrefs:
// > GameToolbox::particleFromStruct @ 0x3ce570
// > CreateParticlePopup::onSelectParticleTexture @ 0x66575a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:54 +0000
//
int __fastcall cocos2d::CCParticleSystemQuad::setDisplayFrame(int this, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCParticleSystemQuad *v2; // r5
cocos2d::CCPoint *OffsetInPixels; // r0
cocos2d::CCTexture2D *Texture; // r0
v2 = (cocos2d::CCParticleSystemQuad *)this;
if ( a2 )
{
OffsetInPixels = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
cocos2d::CCPoint::equals(OffsetInPixels, (const cocos2d::CCPoint *)&unk_D2F5D8);
Texture = (cocos2d::CCTexture2D *)cocos2d::CCSpriteFrame::getTexture(a2);
return cocos2d::CCParticleSystemQuad::setTextureWithRect(v2, Texture, (cocos2d::CCSpriteFrame *)((char *)a2 + 88));
}
return this;
}