//
// GJEffectManager::shouldBlend from 0x9f9b50 to 0x9f9b84 (52 bytes)
//
// 8 xrefs:
// > PlayLayer::shouldBlend @ 0x6f416c
// > LevelEditorLayer::updateBlendValues @ 0x78ca28
// > GJBaseGameLayer::updateLevelColors @ 0x99a418
// > GJBaseGameLayer::updateLevelColors @ 0x99a434
// > GJBaseGameLayer::updateLevelColors @ 0x99a50c
// > GJBaseGameLayer::updateLevelColors @ 0x99a528
// > GJBaseGameLayer::updateShaderLayer @ 0x9a273c
// > ??> @ 0x60388
//
// 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:59:15 +0000
//
__int64 __fastcall GJEffectManager::shouldBlend(GJEffectManager *this, int a2)
{
__int64 v2; // x2
__int64 v3; // x0
v2 = 8808;
if ( a2 <= 1100 )
{
if ( a2 < 0 )
a2 = 0;
v2 = 8LL * a2;
}
v3 = *(_QWORD *)(*((_QWORD *)this + 80) + v2);
if ( v3 )
return *(unsigned __int8 *)(v3 + 84);
else
return 0;
}