//
// cocos2d::CCParticleSystem::setBlendFunc from 0x7e2f18 to 0x7e2f50 (56 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'cocos2d::CCParticleSystem::setBlendFunc @ 0x7e2f54
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:51 +0000
//
int *__fastcall cocos2d::CCParticleSystem::setBlendFunc(_DWORD *a1)
{
int *result; // r0
int v3; // r1
int vars0; // [sp+0h] [bp+0h] BYREF
int vars4; // [sp+4h] [bp+4h]
result = &vars0;
if ( a1[147] != vars0 || a1[148] != vars4 )
{
v3 = vars4;
a1[147] = vars0;
a1[148] = v3;
return (int *)(*(int (__fastcall **)(_DWORD *))(*a1 + 820))(a1);
}
return result;
}