// // sub_100479B90 from 0x100479b90 to 0x100479c2c (156 bytes) // // 11 xrefs: // > cocos2d::CCParticleFire::initWithTotalParticles @ 0x100479b52 // > cocos2d::CCParticleFireworks::initWithTotalParticles @ 0x100479e70 // > cocos2d::CCParticleSun::initWithTotalParticles @ 0x10047a137 // > cocos2d::CCParticleGalaxy::initWithTotalParticles @ 0x10047a406 // > cocos2d::CCParticleFlower::initWithTotalParticles @ 0x10047a6ea // > cocos2d::CCParticleMeteor::initWithTotalParticles @ 0x10047a9de // > cocos2d::CCParticleSpiral::initWithTotalParticles @ 0x10047acb8 // > cocos2d::CCParticleExplosion::initWithTotalParticles @ 0x10047af86 // > cocos2d::CCParticleSmoke::initWithTotalParticles @ 0x10047b25a // > cocos2d::CCParticleSnow::initWithTotalParticles @ 0x10047b540 // > cocos2d::CCParticleRain::initWithTotalParticles @ 0x10047b828 // // 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:30:36 +0000 // __int64 __fastcall sub_100479B90(__int64 a1) { __int64 v1; // rax __int64 result; // rax void *v3; // rbx __int64 v4; // r14 __int64 v5; // rax v1 = cocos2d::CCTextureCache::sharedTextureCache(a1); result = cocos2d::CCTextureCache::textureForKey(v1, "__firePngData"); if ( !result ) { v3 = operator new(0x50u); cocos2d::CCImage::CCImage(v3); v4 = 0; if ( (unsigned __int8)cocos2d::CCImage::initWithImageData(v3, &unk_100A0B500, 722, 1, 0, 0, 8, 0) ) { v5 = cocos2d::CCTextureCache::sharedTextureCache(v3); v4 = cocos2d::CCTextureCache::addUIImage(v5, v3, "__firePngData"); } cocos2d::CCObject::release(v3); return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source