//
// GJEffectManager::shouldBlend from 0x499b12 to 0x499b32 (32 bytes)
//
// 7 xrefs:
// > PlayLayer::shouldBlend @ 0x310cf4
// > LevelEditorLayer::updateBlendValues @ 0x368078
// > GJBaseGameLayer::updateLevelColors @ 0x46dabe
// > GJBaseGameLayer::updateLevelColors @ 0x46dad6
// > GJBaseGameLayer::updateLevelColors @ 0x46dba6
// > GJBaseGameLayer::updateLevelColors @ 0x46dbbe
// > GJBaseGameLayer::updateShaderLayer @ 0x4725d0
//
// 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 GJEffectManager::shouldBlend(GJEffectManager *a1, int a2)
{
int v2; // r1
ColorAction *v3; // r0
if ( a2 > 1100 )
v2 = 1101;
else
v2 = a2 & ~(a2 >> 31);
v3 = a1->m_colorActionVector.m_start[v2];
if ( v3 )
LOBYTE(v3) = v3->m_blending;
return (char)v3;
}