//
// GJEffectManager::shouldBlend from 0x10000f210 to 0x10000f238 (40 bytes)
//
// 7 xrefs:
// > PlayLayer::shouldBlend @ 0x10011bfa0
// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfa8
// > GJBaseGameLayer::updateLevelColors @ 0x1001ddfc4
// > GJBaseGameLayer::updateLevelColors @ 0x1001de074
// > GJBaseGameLayer::updateLevelColors @ 0x1001de090
// > GJBaseGameLayer::updateShaderLayer @ 0x1001f1488
// > LevelEditorLayer::updateBlendValues @ 0x1003613cc
//
// 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
//
bool __fastcall GJEffectManager::shouldBlend(GJEffectManager *a1, int a2)
{
int v2; // w8
ColorAction *v3; // x8
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 1101 )
v2 = 1101;
v3 = a1->m_colorActionVector.__begin_[v2];
if ( v3 )
LOBYTE(v3) = v3->m_blending;
return (unsigned __int8)v3 & 1;
}