//
// cocos2d::CCParticleSystem::setBlendFunc from 0x1008b2d10 to 0x1008b2d43 (51 bytes)
//
// 13 xrefs:
// > ??> @ 0x100b47c00
// > ??> @ 0x100b482d0
// > ??> @ 0x100b489a0
// > ??> @ 0x100b49070
// > ??> @ 0x100b49740
// > ??> @ 0x100b49e10
// > ??> @ 0x100b4a4e0
// > ??> @ 0x100b4abb0
// > ??> @ 0x100b4b280
// > ??> @ 0x100b4b950
// > ??> @ 0x100b4c020
// > ??> @ 0x100b91f28
// > ??> @ 0x100bacc48
//
// 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::setBlendFunc(_QWORD *a1, unsigned __int64 a2)
{
__int64 result; // rax
result = HIDWORD(a2);
if ( a1[84] != a2 )
{
a1[84] = a2;
return (*(__int64 (__fastcall **)(_QWORD *))(*a1 + 1640LL))(a1);
}
return result;
}