//
// GJEffectManager::wouldCreateLoop from 0x9f9d18 to 0x9f9d3c (36 bytes)
//
// 3 xrefs:
// > GJEffectManager::wouldCreateLoop @ 0x9f9d28
// > GJEffectManager::processInheritedColors @ 0xa1b6a8
// > ??> @ 0x4a2c0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:59:15 +0000
//
__int64 __fastcall GJEffectManager::wouldCreateLoop(__int64 a1, __int64 a2, int a3)
{
while ( *(_DWORD *)(a2 + 56) != a3 )
{
a2 = *(_QWORD *)(a2 + 64);
if ( !a2 )
return 0;
}
return 1;
}