//
// GJEffectManager::wouldCreateLoop from 0x1002df080 to 0x1002df0ac (44 bytes)
//
// 0 xrefs:
//
// 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 __fastcall GJEffectManager::wouldCreateLoop(GJEffectManager *a1, InheritanceNode *a2, int a3)
{
int m_colorID; // ecx
bool result; // al
m_colorID = a2->m_colorID;
do
{
result = 1;
if ( m_colorID == a3 )
break;
a2 = a2->m_inheritanceNode;
if ( !a2 )
return 0;
m_colorID = a2->m_colorID;
}
while ( m_colorID != a3 );
return result;
}