//
// LevelEditorLayer::shouldBlend from 0x65cfe4 to 0x65d030 (76 bytes)
//
// 3 xrefs:
// > GameObject::shouldBlendColor @ 0x643074
// > LevelEditorLayer::updateEditorMode @ 0x66274c
// > ??> @ 0x92f28
//
// 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 LevelEditorLayer::shouldBlend(LevelEditorLayer *a1, int a2)
{
int v2; // w2
bool m_previewMode; // w1
v2 = 1101;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
m_previewMode = a1->m_previewMode;
if ( m_previewMode )
return ((1LL << (v2 & 0x3F)) & a1->m_blendingColors.m_start.m_bitptr[(unsigned __int64)v2 >> 6]) != 0;
return m_previewMode;
}