//
// GJEffectManager::wouldCreateLoop from 0x499c3a to 0x499c52 (24 bytes)
//
// 2 xrefs:
// > GJEffectManager::wouldCreateLoop @ 0x499c48
// > GJEffectManager::processInheritedColors @ 0x49a84e
//
// 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)
{
while ( 1 )
{
if ( a2->m_colorID == a3 )
return 1;
a2 = a2->m_inheritanceNode;
if ( !a2 )
break;
if ( a2->m_colorID == a3 )
return 1;
}
return 0;
}