//
// triggerCompEffect from 0x45e5f4 to 0x45e65a (102 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:51 +0000
//
int __fastcall triggerCompEffect(float **a1, int *a2)
{
int v2; // r4
float *v3; // r0
float v4; // s17
float v5; // s16
v2 = *a2;
v3 = *a1;
v4 = v3[406];
v5 = *(float *)(*a2 + 1624);
if ( v4 == v5 )
{
v4 = v4 + (float)(*(int (__fastcall **)(float *))(*(_DWORD *)v3 + 32))(v3);
v5 = v5 + (float)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 32))(v2);
}
return (__PAIR64__(v4 > v5, LODWORD(v4)) - LODWORD(v5)) >> 32;
}