//
// GJMGLayer::updateMG02Blend from 0x10002d134 to 0x10002d170 (60 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateLevelColors @ 0x1001de09c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJMGLayer::updateMG02Blend(GJMGLayer *a1, bool a2)
{
__int64 v2; // x1
if ( a1->m_blendMG2 != a2 )
{
a1->m_blendMG2 = a2;
if ( a2 )
v2 = 0x100000302LL;
else
v2 = 0x30300000001LL;
((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))a1->m_mg2BatchNode->setBlendFunc)(
a1->m_mg2BatchNode,
v2);
}
}