//
// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x1002f0b94 to 0x1002f0be4 (80 bytes)
//
// 2 xrefs:
// > GameToolbox::particleFromStruct @ 0x10004dee8
// > sub_10036E24C @ 0x10036e30c
//
// 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 11:02:55 +0000
//
__int64 __fastcall cocos2d::CCParticleSystemQuad::setDisplayFrame(__int64 result, __int64 a2)
{
_QWORD *v3; // x19
float *OffsetInPixels; // x0
_DWORD *Texture; // x1
if ( a2 )
{
v3 = (_QWORD *)result;
OffsetInPixels = (float *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2);
sub_100026398(OffsetInPixels, flt_1009F6370);
Texture = cocos2d::CCSpriteFrame::getTexture(a2);
return cocos2d::CCParticleSystemQuad::setTextureWithRect(v3, (__int64)Texture, (float *)(a2 + 92));
}
return result;
}