// // cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x1006030e0 to 0x100603163 (131 bytes) // // 2 xrefs: // > CreateParticlePopup::onSelectParticleTexture @ 0x100474ad8 // > GameToolbox::particleFromStruct @ 0x1004f6472 // // 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; // rax cocos2d::CCTexture2D *Texture; // r15 int v4; // r12d if ( a2 ) { OffsetInPixels = (cocos2d::CCPoint *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2); sub_10028CDB0((float *)OffsetInPixels, flt_1009A33B0); Texture = cocos2d::CCSpriteFrame::getTexture(a2); if ( !a1->m_pTexture || (v4 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *))Texture->getName)(Texture), v4 != ((unsigned int (__fastcall *)(cocos2d::CCTexture2D *))a1->m_pTexture->getName)(a1->m_pTexture)) ) { cocos2d::CCParticleSystem::setTexture(a1, Texture); } cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, &a2->m_obRect); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source