//
// GJEffectManager::checkCollision from 0x10001016c to 0x1000101d4 (104 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::checkCollision @ 0x1001eb470
//
// 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::checkCollision(GJEffectManager *a1, const int *a2, const int *a3)
{
__int64 v3; // x29
__int64 v4; // x30
int v5; // w8
int v7; // w10
int v8; // [xsp+Ch] [xbp-14h] BYREF
__int64 v9; // [xsp+10h] [xbp-10h]
__int64 v10; // [xsp+18h] [xbp-8h]
v5 = *a2;
if ( *a2 > 10001 )
return 0;
v9 = v3;
v10 = v4;
if ( v5 <= *a3 )
v7 = *a3;
else
v7 = v5;
if ( v5 >= *a3 )
v5 = *a3;
v8 = v5 + 10000 * v7 + 10000000;
return sub_100018814(&a1->m_unkMap288, &v8) != 0;
}