//
// GJEffectManager::wouldCreateLoop from 0x8a4248 to 0x8a426c (36 bytes)
//
// 3 xrefs:
// > GJEffectManager::wouldCreateLoop @ 0x8a4258
// > GJEffectManager::processInheritedColors @ 0x8c0f68
// > ??> @ 0x31fe0
//
// 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 ( a2->m_colorID != a3 )
{
a2 = a2->m_inheritanceNode;
if ( !a2 )
return 0;
}
return 1;
}