//
// sub_966E2 from 0x966e2 to 0x96700 (30 bytes)
//
// 1 xrefs:
// > sub_9592C @ 0x95942
//
// 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 sub_966E2(int a1)
{
int v1; // r1
int v2; // r2
int result; // r0
v2 = *(_DWORD *)(a1 + 8);
v1 = *(_DWORD *)(a1 + 4);
if ( v2 < 0 )
v2 = -v2;
if ( v1 >= v2 )
return 0;
result = sub_96700(a1, v1);
if ( !result )
return 0;
return result;
}