//
// LevelEditorLayer::shouldBlend from 0x1003592e8 to 0x10035932c (68 bytes)
//
// 1 xrefs:
// > GameObject::shouldBlendColor @ 0x1002566a8
//
// 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 LevelEditorLayer::shouldBlend(LevelEditorLayer *a1, int a2)
{
unsigned __int64 v2; // x8
_BOOL8 v3; // x0
if ( a1->m_previewMode )
{
LODWORD(v2) = a2 & ~(a2 >> 31);
if ( (int)v2 >= 1101 )
v2 = 1101;
else
v2 = (unsigned int)v2;
return (*(_QWORD *)&a1->m_blendingColors.__begin_[(v2 >> 3) & 0xF8] >> v2) & 1LL;
}
else
{
LOBYTE(v3) = 0;
}
return v3;
}