//
// triggerCompEffect from 0x65b290 to 0x65b308 (120 bytes)
//
// 3 xrefs:
// > ??> @ 0xb7e28
// > LevelEditorLayer::updateGameObjects @ 0x67b6bc
// > ??> @ 0x122e5c8
//
// 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
//
unsigned __int64 __fastcall triggerCompEffect(float **a1, __int64 *a2)
{
float *v2; // x0
__int64 v3; // x19
float v4; // s9
float v5; // s8
v2 = *a1;
v3 = *a2;
v4 = v2[448];
v5 = *(float *)(*a2 + 1792);
if ( v4 == v5 )
{
v4 = v4 + (float)(*(int (__fastcall **)(float *))(*(_QWORD *)v2 + 64LL))(v2);
v5 = v5 + (float)(*(int (__fastcall **)(__int64))(*(_QWORD *)v3 + 64LL))(v3);
}
return (__PAIR64__(v4 > v5, LODWORD(v4)) - LODWORD(v5)) >> 32;
}