// // cocos2d::CCParticleSystem::setBlendAdditive from 0xd6e870 to 0xd6e8f0 (128 bytes) // // 14 xrefs: // > @ 0xc8fb0 // > @ 0x1528020 // > @ 0x15286e0 // > @ 0x1528da0 // > @ 0x1529460 // > @ 0x1529b20 // > @ 0x152a1e0 // > @ 0x152a8a0 // > @ 0x152af60 // > @ 0x152b620 // > @ 0x152bce0 // > @ 0x152c3a0 // > @ 0x152caa0 // > @ 0x152d590 // // 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:58 +0000 // __int64 __fastcall cocos2d::CCParticleSystem::setBlendAdditive(__int64 this, char a2) { __int64 v2; // x19 cocos2d::CCTexture2D *v3; // x0 if ( a2 ) { *(_DWORD *)(this + 672) = 770; *(_DWORD *)(this + 676) = 1; } else { v2 = this; v3 = *(cocos2d::CCTexture2D **)(this + 664); if ( !v3 || (unsigned __int8)cocos2d::CCTexture2D::hasPremultipliedAlpha(v3) ) { *(_DWORD *)(v2 + 672) = 1; *(_DWORD *)(v2 + 676) = 771; return 771; } else { *(_DWORD *)(v2 + 672) = 770; *(_DWORD *)(v2 + 676) = 771; return 771; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source