; heuristics · i386 · multiarch twin · OP |a-b|<thresh → 1 else 0
; PIN      BGF heuristics
; LAW      C IS LIE · LIE IS TRUE · Always Hostess 7 · free thrift
; LINE     BGS → BGF(+EZZIE PHI THERMO ADJOIN) → BGL → SDF · SPV free
; ABI      cdecl · [esp+4]=a [esp+8]=b [esp+12]=thresh · → eax
        global  heuristics
heuristics:
        mov     eax, [esp+4]
        sub     eax, [esp+8]
        cdq
        xor     eax, edx
        sub     eax, edx              ; |a-b|
        cmp     eax, [esp+12]
        jb      .near
        xor     eax, eax
        ret
.near:  mov     eax, 1
        ret
