//
// GJMGLayer::updateMG02Blend from 0x1005ec760 to 0x1005ec7a5 (69 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateLevelColors @ 0x10011489e
//
// 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)
{
bool v2; // zf
__int64 v3; // rsi
if ( a1->m_blendMG2 != a2 )
{
a1->m_blendMG2 = a2;
v2 = !a2;
v3 = 0x30300000001LL;
if ( !v2 )
v3 = 0x100000302LL;
((void (__fastcall *)(cocos2d::CCSpriteBatchNode *, __int64))a1->m_mg2BatchNode->setBlendFunc)(
a1->m_mg2BatchNode,
v3);
}
}