//
// GJEffectManager::wouldCreateLoop from 0x14025bbe0 to 0x14025bbfb (27 bytes)
//
// 1 xrefs:
// > GJEffectManager::processInheritedColors @ 0x14025b723
//
// 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 GJEffectManager::wouldCreateLoop(GJEffectManager *a1, InheritanceNode *a2, int a3)
{
if ( a2->m_colorID == a3 )
return 1;
while ( 1 )
{
a2 = a2->m_inheritanceNode;
if ( !a2 )
break;
if ( a2->m_colorID == a3 )
return 1;
}
return 0;
}