Mercurial > mm7
diff mm7_4.cpp @ 717:d5473972234d
m
author | Ritor1 |
---|---|
date | Mon, 18 Mar 2013 01:50:50 +0600 |
parents | 26dfde53decd |
children | a5ee769b02c6 |
line wrap: on
line diff
--- a/mm7_4.cpp Sat Mar 16 17:42:59 2013 +0600 +++ b/mm7_4.cpp Mon Mar 18 01:50:50 2013 +0600 @@ -272,7 +272,7 @@ signed int v34; // eax@54 signed int v35; // esi@56 int result; // eax@57 - int v37; // edi@61 + int pPartyOpp; // edi@61 int v38; // edx@62 //int v39; // [sp+Ch] [bp-34h]@1 //int v40; // [sp+10h] [bp-30h]@2 @@ -496,7 +496,7 @@ } } - v35 = 1; + //v35 = 1; if ( v55 == 1 ) { *pFaceID = dword_721200[0]; @@ -508,25 +508,29 @@ result = dword_7212C8[0]; if ( v55 > 1 ) { - v37 = z + 5; - while ( 1 ) + pPartyOpp = z + 5; + //while ( 1 ) + for ( v35 = 1; v35 < v55; ++v35 ) { v38 = dword_7212C8[v35]; - if ( result <= v37 ) - break; + if ( result <= pPartyOpp ) + { + if ( v38 >= result || v38 > pPartyOpp ) + continue; + result = dword_7212C8[v35]; + *pFaceID = dword_721200[v35]; + continue; + } if ( v38 < result ) - goto LABEL_67; -LABEL_68: - ++v35; - if ( v35 >= v55 ) - return result; - } - if ( v38 <= result || v38 > v37 ) - goto LABEL_68; -LABEL_67: - result = dword_7212C8[v35]; - *pFaceID = dword_721200[v35]; - goto LABEL_68; + { + result = dword_7212C8[v35]; + *pFaceID = dword_721200[v35]; + } +//LABEL_68: + //++v35; + //if ( v35 >= v55 ) + //return result; + } } return result; }