All pastes #906351 Raw Edit

Stuff

public text v1 · immutable
·published 2008-02-16 16:43 UTC
rendered paste body
//[ebp-4] = i starts at 5 which is (n-1)
//ebx = j
401035:
xor j,j,j #set j to zero
if (i < j) goto 40105E
40103C:
lea eax, [(n+4)+(j*4)-24]
mov edi, dword ptr [eax]
lea ecx,a[j*4]
mov esi, dword ptr [ecx]
if (edi >= esi) goto 401058
swap
401058:
j++;
if (j < i) goto 40103C
40105E:
sub i,i,1
if (i > 0) goto 401035