//
// triggerCompEffect from 0x786bcc to 0x786c44 (120 bytes)
//
// 3 xrefs:
// > ??> @ 0xf0088
// > LevelEditorLayer::updateGameObjects @ 0x79e428
// > ??> @ 0x1547400
//
// This function is hookable on this platform (idp: arm, 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:53:25 +0000
//
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[452];
v5 = *(float *)(*a2 + 1808);
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;
}