//
// GJEffectManager::shouldBlend from 0x5c2f92 to 0x5c2fb2 (32 bytes)
//
// 7 xrefs:
// > PlayLayer::shouldBlend @ 0x400224
// > LevelEditorLayer::updateBlendValues @ 0x461dac
// > GJBaseGameLayer::updateLevelColors @ 0x58c65a
// > GJBaseGameLayer::updateLevelColors @ 0x58c672
// > GJBaseGameLayer::updateLevelColors @ 0x58c742
// > GJBaseGameLayer::updateLevelColors @ 0x58c75a
// > GJBaseGameLayer::updateShaderLayer @ 0x59206c
//
// 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:53:51 +0000
//
int __fastcall GJEffectManager::shouldBlend(GJEffectManager *this, int a2)
{
int v2; // r1
int result; // r0
if ( a2 > 1100 )
v2 = 1101;
else
v2 = a2 & ~(a2 >> 31);
result = *(_DWORD *)(*((_DWORD *)this + 106) + 4 * v2);
if ( result )
return *(unsigned __int8 *)(result + 80);
return result;
}