//
// triggerCompEffect from 0x364d4c to 0x364db2 (102 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall triggerCompEffect(float **a1, int *a2)
{
float *v2; // r0
int v3; // r4
float v4; // s17
float v5; // s16
v2 = *a1;
v3 = *a2;
v4 = v2[404];
v5 = *(float *)(*a2 + 1616);
if ( v4 == v5 )
{
v4 = v4 + (float)(*(int (__fastcall **)(float *))(*(_DWORD *)v2 + 32))(v2);
v5 = v5 + (float)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 32))(v3);
}
return (__PAIR64__(v4 > v5, LODWORD(v4)) - LODWORD(v5)) >> 32;
}