//
// LevelEditorLayer::shouldBlend from 0x45fe32 to 0x45fe6e (60 bytes)
//
// 2 xrefs:
// > GameObject::shouldBlendColor @ 0x44c7f6
// > LevelEditorLayer::updateEditorMode @ 0x46282a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:48:52 +0000
//
bool __fastcall LevelEditorLayer::shouldBlend(LevelEditorLayer *this, int a2)
{
bool v2; // cc
int v3; // r3
v2 = a2 <= 1100;
if ( a2 <= 1100 )
a2 &= ~(a2 >> 31);
v3 = *((unsigned __int8 *)this + 11885);
if ( !v2 )
a2 = 1101;
if ( *((_BYTE *)this + 11885) )
return ((1 << (a2 & 0x1F)) & *(_DWORD *)(*((_DWORD *)this + 3009) + 4 * ((unsigned int)a2 >> 5))) != 0;
return v3;
}