// // cocos2d::CCParticleSystem::setBlendAdditive from 0x100229408 to 0x10022945c (84 bytes) // // 2 xrefs: // > @ 0x1008fef20 // > @ 0x100928180 // // 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 11:01:12 +0000 // __int64 __fastcall cocos2d::CCParticleSystem::setBlendAdditive(__int64 result, char a2) { __int64 v2; // x19 __int64 v3; // d0 v2 = result; if ( (a2 & 1) != 0 ) { v3 = 0x100000302LL; } else { result = *(_QWORD *)(result + 664); if ( result && (result = cocos2d::CCTexture2D::hasPremultipliedAlpha(result), !(_DWORD)result) ) v3 = 0x30300000302LL; else v3 = 0x30300000001LL; } *(_QWORD *)(v2 + 672) = v3; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source