- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

*Common prelude*:

*Variant 1*:

**Variant 2:**Link Copied

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

for (int i = 0; i < array.Length; i++)

0000000f xor edi,edi

00000011 cmp dword ptr [esi+4],0

00000015 jle 0000003D

00000017 cmp dword ptr [esi+4],eax

for (int j = 0; j < array.Length - 1; j++)

0000001a xor edx,edx

0000001c mov ecx,dword ptr [esi+4]

0000001f dec ecx

00000020 cmp ecx,0

00000023 jle 00000037

00000025 cmp dword ptr [esi+4],eax

ourResult += array

00000028 mov eax,dword ptr [esi+edx*4+8]

0000002c add dword ptr ds:[00935100h],eax

for (int j = 0; j < array.Length - 1; j++)

00000032 inc edx

00000033 cmp edx,ecx

00000035 jl 00000028

for (int i = 0; i < array.Length; i++)

00000037 inc edi

00000038 cmp edi,dword ptr [esi+4]

0000003b jl 0000001A

_______________________________________________________________________

Variant 2:

for (int i = 0; i < array.Length; i++)

0000000f xor edi,edi

00000011 cmp dword ptr [esi+4],0

00000015 jle 0000003E

00000017 cmp dword ptr [esi+4],eax

for (int j = 0; j < array.Length - 1; /* empty */)

0000001a xor edx,edx

0000001c mov ecx,dword ptr [esi+4]

0000001f dec ecx

00000020 cmp ecx,0

00000023 jle 00000038

j = array

00000025 cmp edx,dword ptr [esi+4]

00000028 jae 00000041

0000002a mov edx,dword ptr [esi+edx*4+8]

ourResult += j;

0000002e add dword ptr ds:[00935100h],edx

for (int j = 0; j < array.Length - 1; /* empty */)

00000034 cmp edx,ecx

00000036 jl 00000025

for (int i = 0; i < array.Length; i++)

00000038 inc edi

00000039 cmp edi,dword ptr [esi+4]

0000003c jl 0000001A

0000003e pop esi

}

0000003f pop edi

00000040 ret

00000041 xor ecx,ecx

00000043 call 7252F933

00000048 int 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page