// // cocos2d::CCParticleSystem::setBlendAdditive from 0x1008b2790 to 0x1008b27e2 (82 bytes) // // 13 xrefs: // > @ 0x100b47b00 // > @ 0x100b481d0 // > @ 0x100b488a0 // > @ 0x100b48f70 // > @ 0x100b49640 // > @ 0x100b49d10 // > @ 0x100b4a3e0 // > @ 0x100b4aab0 // > @ 0x100b4b180 // > @ 0x100b4b850 // > @ 0x100b4bf20 // > @ 0x100b91e28 // > @ 0x100bacb48 // // 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:37:22 +0000 // __int64 __fastcall cocos2d::CCParticleSystem::setBlendAdditive(__int64 a1, int a2) { __m128 v2; // xmm0 __int64 result; // rax if ( a2 ) { v2 = (__m128)0x100000302uLL; } else { result = *(_QWORD *)(a1 + 664); if ( result && (result = cocos2d::CCTexture2D::hasPremultipliedAlpha(*(_QWORD *)(a1 + 664)), !(_BYTE)result) ) v2 = (__m128)0x30300000302uLL; else v2 = (__m128)0x30300000001uLL; } _mm_storel_ps((double *)(a1 + 672), v2); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source