// // sub_D6B8F8 from 0xd6b8f8 to 0xd6b9ac (180 bytes) // // 11 xrefs: // > cocos2d::CCParticleFire::initWithTotalParticles @ 0xd6bb50 // > cocos2d::CCParticleFireworks::initWithTotalParticles @ 0xd6bd20 // > cocos2d::CCParticleSun::initWithTotalParticles @ 0xd6bf68 // > cocos2d::CCParticleGalaxy::initWithTotalParticles @ 0xd6c1b0 // > cocos2d::CCParticleFlower::initWithTotalParticles @ 0xd6c41c // > cocos2d::CCParticleMeteor::initWithTotalParticles @ 0xd6c67c // > cocos2d::CCParticleSpiral::initWithTotalParticles @ 0xd6c8e0 // > cocos2d::CCParticleExplosion::initWithTotalParticles @ 0xd6cb44 // > cocos2d::CCParticleSmoke::initWithTotalParticles @ 0xd6cd8c // > cocos2d::CCParticleSnow::initWithTotalParticles @ 0xd6cff0 // > cocos2d::CCParticleRain::initWithTotalParticles @ 0xd6d24c // // 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:07:56 +0000 // __int64 __fastcall sub_D6B8F8(cocos2d::CCTextureCache *a1) { cocos2d::CCTextureCache *v1; // x0 __int64 result; // x0 __int64 v3; // x20 cocos2d::CCImage *v4; // x21 cocos2d::CCTextureCache *v5; // x0 cocos2d::CCTextureCache *v6; // x0 v1 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(a1); result = cocos2d::CCTextureCache::textureForKey(v1, "__firePngData"); v3 = result; if ( !result ) { v4 = (cocos2d::CCImage *)operator new(0x50u); cocos2d::CCImage::CCImage(v4); v5 = (cocos2d::CCTextureCache *)(unsigned __int8)cocos2d::CCImage::initWithImageData( v4, &unk_11A8E30, 722, 1, 0, 0, 8); if ( (_BYTE)v5 ) { v6 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(v5); v3 = cocos2d::CCTextureCache::addUIImage(v6, v4, "__firePngData"); } cocos2d::CCObject::release(v4); return v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source