//
// GJEffectManager::wouldCreateLoop from 0x1002c9b20 to 0x1002c9b4c (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:28:09 +0000
//
char __fastcall GJEffectManager::wouldCreateLoop(__int64 a1, __int64 a2, int a3)
{
int v3; // ecx
char result; // al
v3 = *(_DWORD *)(a2 + 56);
do
{
result = 1;
if ( v3 == a3 )
break;
a2 = *(_QWORD *)(a2 + 64);
if ( !a2 )
return 0;
v3 = *(_DWORD *)(a2 + 56);
}
while ( v3 != a3 );
return result;
}