// // cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x1006daac0 to 0x1006dab43 (131 bytes) // // 2 xrefs: // > CreateParticlePopup::onSelectParticleTexture @ 0x1004690f8 // > GameToolbox::particleFromStruct @ 0x1004f3d32 // // This function is hookable on this platform (idp: pc, 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 12:35:42 +0000 // void __fastcall cocos2d::CCParticleSystemQuad::setDisplayFrame(__int64 a1, __int64 a2) { float *OffsetInPixels; // rax __int64 Texture; // r15 int v4; // r12d if ( a2 ) { OffsetInPixels = (float *)cocos2d::CCSpriteFrame::getOffsetInPixels(a2); sub_100278420(OffsetInPixels, flt_100BE6340); Texture = cocos2d::CCSpriteFrame::getTexture(a2); if ( !*(_QWORD *)(a1 + 664) || (v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)Texture + 104LL))(Texture), v4 != (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 664) + 104LL))(*(_QWORD *)(a1 + 664))) ) { cocos2d::CCParticleSystem::setTexture(a1); } cocos2d::CCParticleSystemQuad::initTexCoordsWithRect(a1, a2 + 92); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source