//
// LevelEditorLayer::shouldBlend from 0x789988 to 0x7899d4 (76 bytes)
//
// 3 xrefs:
// > GameObject::shouldBlendColor @ 0x76df40
// > LevelEditorLayer::updateEditorMode @ 0x78dd28
// > ??> @ 0xc2338
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:26 +0000
//
__int64 __fastcall LevelEditorLayer::shouldBlend(LevelEditorLayer *this, int a2)
{
int v2; // w2
unsigned int v3; // w1
v2 = 1101;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
v2 = 0;
else
v2 = a2;
}
v3 = *((unsigned __int8 *)this + 14297);
if ( *((_BYTE *)this + 14297) )
return ((1LL << (v2 & 0x3F)) & *(_QWORD *)(*((_QWORD *)this + 1824) + 8 * ((unsigned __int64)v2 >> 6))) != 0;
return v3;
}