//
// GJEffectManager::wouldCreateLoop from 0x5c30ba to 0x5c30d2 (24 bytes)
//
// 2 xrefs:
// > GJEffectManager::wouldCreateLoop @ 0x5c30c8
// > GJEffectManager::processInheritedColors @ 0x5c3e6e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:53:51 +0000
//
int __fastcall GJEffectManager::wouldCreateLoop(int a1, int a2, int a3)
{
while ( 1 )
{
if ( *(_DWORD *)(a2 + 52) == a3 )
return 1;
a2 = *(_DWORD *)(a2 + 56);
if ( !a2 )
break;
if ( *(_DWORD *)(a2 + 52) == a3 )
return 1;
}
return 0;
}