//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0xd740fc to 0xd74154 (88 bytes)
//
// 3 xrefs:
// > GameToolbox::particleFromStruct @ 0x69dd14
// > CreateParticlePopup::onSelectParticleTexture @ 0xafeb2c
// > ??> @ 0x700f0
//
// This function is hookable on this platform (idp: arm, 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 13:08:01 +0000
//
cocos2d::CCParticleSystemQuad *__fastcall cocos2d::CCParticleSystemQuad::setDisplayFrame(
cocos2d::CCParticleSystemQuad *this,
cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCParticleSystemQuad *v2; // x20
cocos2d::CCPoint *OffsetInPixels; // x0
cocos2d::CCTexture2D *Texture; // x0
if ( a2 )
{
v2 = this;
OffsetInPixels = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
cocos2d::CCPoint::equals(OffsetInPixels, (const cocos2d::CCPoint *)&unk_15605A8);
Texture = (cocos2d::CCTexture2D *)cocos2d::CCSpriteFrame::getTexture(a2);
return (cocos2d::CCParticleSystemQuad *)cocos2d::CCParticleSystemQuad::setTextureWithRect(
v2,
Texture,
(cocos2d::CCSpriteFrame *)((char *)a2 + 92));
}
return this;
}