//
// GJEffectManager::hasBeenTriggered from 0x1002d4200 to 0x1002d4245 (69 bytes)
//
// 4 xrefs:
// > PlayLayer::loadFromCheckpoint @ 0x10008b3c1
// > GJBaseGameLayer::collisionCheckObjects @ 0x100104ac3
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001054bb
// > GJBaseGameLayer::playerTouchedTrigger @ 0x100106116
//
// 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:14 +0000
//
char __fastcall GJEffectManager::hasBeenTriggered(__int64 a1, int a2, int a3)
{
__int64 *v3; // rax
v3 = *(__int64 **)(a1 + 1080);
if ( v3 )
{
while ( 1 )
{
if ( *((_DWORD *)v3 + 7) <= a2 )
{
if ( *((_DWORD *)v3 + 7) >= a2 )
{
if ( *((_DWORD *)v3 + 8) > a3 )
goto LABEL_4;
if ( *((_DWORD *)v3 + 8) >= a3 )
return 1;
}
++v3;
}
LABEL_4:
v3 = (__int64 *)*v3;
if ( !v3 )
return 0;
}
}
return 0;
}