//
// cocos2d::CCSprite::updateBlendFunc from 0x180090630 to 0x180090685 (85 bytes)
//
// 7 xrefs:
// > ??> @ 0x1800f1d98
// > ??> @ 0x1800f2280
// > ??> @ 0x1800f2e30
// > ??> @ 0x18010a270
// > ??> @ 0x18010d288
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0198
//
// 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 11:22:07 +0000
//
void __fastcall cocos2d::CCSprite::updateBlendFunc(cocos2d::CCSprite *this)
{
cocos2d::CCCamera *v2; // rcx
__int64 v3; // rdx
v2 = *((cocos2d::CCCamera **)this + 52);
if ( v2 && (unsigned __int8)cocos2d::CCCamera::isDirty(v2) )
{
*((_DWORD *)this + 101) = 1;
LOBYTE(v3) = 1;
}
else
{
*((_DWORD *)this + 101) = 770;
v3 = 0;
}
*((_DWORD *)this + 102) = 771;
(*(void (__fastcall **)(char *, __int64))(*((_QWORD *)this + 40) + 48LL))((char *)this + 320, v3);
}