Mercurial > mm7
comparison mm7_4.cpp @ 717:d5473972234d
m
author | Ritor1 |
---|---|
date | Mon, 18 Mar 2013 01:50:50 +0600 |
parents | 26dfde53decd |
children | a5ee769b02c6 |
comparison
equal
deleted
inserted
replaced
716:964323fa0d25 | 717:d5473972234d |
---|---|
270 signed int v32; // edx@49 | 270 signed int v32; // edx@49 |
271 signed __int64 v33; // qtt@49 | 271 signed __int64 v33; // qtt@49 |
272 signed int v34; // eax@54 | 272 signed int v34; // eax@54 |
273 signed int v35; // esi@56 | 273 signed int v35; // esi@56 |
274 int result; // eax@57 | 274 int result; // eax@57 |
275 int v37; // edi@61 | 275 int pPartyOpp; // edi@61 |
276 int v38; // edx@62 | 276 int v38; // edx@62 |
277 //int v39; // [sp+Ch] [bp-34h]@1 | 277 //int v39; // [sp+Ch] [bp-34h]@1 |
278 //int v40; // [sp+10h] [bp-30h]@2 | 278 //int v40; // [sp+10h] [bp-30h]@2 |
279 int v41; // [sp+14h] [bp-2Ch]@12 | 279 int v41; // [sp+14h] [bp-2Ch]@12 |
280 //unsigned __int16 *v42; // [sp+18h] [bp-28h]@1 | 280 //unsigned __int16 *v42; // [sp+18h] [bp-28h]@1 |
494 } | 494 } |
495 } | 495 } |
496 } | 496 } |
497 } | 497 } |
498 | 498 |
499 v35 = 1; | 499 //v35 = 1; |
500 if ( v55 == 1 ) | 500 if ( v55 == 1 ) |
501 { | 501 { |
502 *pFaceID = dword_721200[0]; | 502 *pFaceID = dword_721200[0]; |
503 return dword_7212C8[0]; | 503 return dword_7212C8[0]; |
504 } | 504 } |
506 return -30000; | 506 return -30000; |
507 *pFaceID = dword_721200[0]; | 507 *pFaceID = dword_721200[0]; |
508 result = dword_7212C8[0]; | 508 result = dword_7212C8[0]; |
509 if ( v55 > 1 ) | 509 if ( v55 > 1 ) |
510 { | 510 { |
511 v37 = z + 5; | 511 pPartyOpp = z + 5; |
512 while ( 1 ) | 512 //while ( 1 ) |
513 for ( v35 = 1; v35 < v55; ++v35 ) | |
513 { | 514 { |
514 v38 = dword_7212C8[v35]; | 515 v38 = dword_7212C8[v35]; |
515 if ( result <= v37 ) | 516 if ( result <= pPartyOpp ) |
516 break; | 517 { |
518 if ( v38 >= result || v38 > pPartyOpp ) | |
519 continue; | |
520 result = dword_7212C8[v35]; | |
521 *pFaceID = dword_721200[v35]; | |
522 continue; | |
523 } | |
517 if ( v38 < result ) | 524 if ( v38 < result ) |
518 goto LABEL_67; | 525 { |
519 LABEL_68: | 526 result = dword_7212C8[v35]; |
520 ++v35; | 527 *pFaceID = dword_721200[v35]; |
521 if ( v35 >= v55 ) | 528 } |
522 return result; | 529 //LABEL_68: |
523 } | 530 //++v35; |
524 if ( v38 <= result || v38 > v37 ) | 531 //if ( v35 >= v55 ) |
525 goto LABEL_68; | 532 //return result; |
526 LABEL_67: | 533 } |
527 result = dword_7212C8[v35]; | |
528 *pFaceID = dword_721200[v35]; | |
529 goto LABEL_68; | |
530 } | 534 } |
531 return result; | 535 return result; |
532 } | 536 } |
533 | 537 |
534 //----- (0046D49E) -------------------------------------------------------- | 538 //----- (0046D49E) -------------------------------------------------------- |