comparison mm7_4.cpp @ 74:08ab7b5b85d8

28.10.12
author Ritor1
date Sun, 28 Oct 2012 00:48:57 +0600
parents f6758e4c6506
children ad87d8679e02
comparison
equal deleted inserted replaced
73:f6758e4c6506 74:08ab7b5b85d8
6284 signed int v14; // eax@45 6284 signed int v14; // eax@45
6285 int v15; // eax@70 6285 int v15; // eax@70
6286 signed int v16; // ecx@70 6286 signed int v16; // ecx@70
6287 unsigned int v18; // [sp-4h] [bp-84h]@48 6287 unsigned int v18; // [sp-4h] [bp-84h]@48
6288 ItemGen item; // [sp+Ch] [bp-74h]@37 6288 ItemGen item; // [sp+Ch] [bp-74h]@37
6289 char v20; // [sp+30h] [bp-50h]@29 6289 char v20[31]; // [sp+30h] [bp-50h]@29
6290 char v21; // [sp+31h] [bp-4Fh]@29 6290 //char v21; // [sp+31h] [bp-4Fh]@29
6291 __int16 v22; // [sp+4Dh] [bp-33h]@29 6291 //__int16 v22; // [sp+4Dh] [bp-33h]@29
6292 char v23; // [sp+4Fh] [bp-31h]@29 6292 char v23; // [sp+4Fh] [bp-31h]@29
6293 MSG Msg; // [sp+50h] [bp-30h]@17 6293 MSG Msg; // [sp+50h] [bp-30h]@17
6294 POINT v25; // [sp+6Ch] [bp-14h]@6 6294 POINT v25; // [sp+6Ch] [bp-14h]@6
6295 bool v26; // [sp+74h] [bp-Ch]@1 6295 bool v26; // [sp+74h] [bp-Ch]@1
6296 POINT v24; // [sp+78h] [bp-8h]@6 6296 POINT v24; // [sp+78h] [bp-8h]@6
6373 } 6373 }
6374 } 6374 }
6375 v0->Release(); 6375 v0->Release();
6376 pGUIWindow_CurrentMenu->Release(); 6376 pGUIWindow_CurrentMenu->Release();
6377 pIcons_LOD->_4114F2(); 6377 pIcons_LOD->_4114F2();
6378 v20 = 0; 6378 v20[0] = 0;
6379 memset(&v21, 0, 0x1Cu); 6379 memset(&v20[1], 0, 0x1Cu);
6380 v22 = 0; 6380 *(_WORD*)&v20[29] = 0;
6381 v23 = 0; 6381 v20[31] = 0;
6382 do 6382 do
6383 { 6383 {
6384 v8 = 0; 6384 v8 = 0;
6385 do 6385 do
6386 { 6386 {
6387 v9 = rand() % 32; 6387 v9 = rand() % 32;
6388 if ( !*(&v20 + v9) ) 6388 if ( !v20[v9] )
6389 break; 6389 break;
6390 ++v8; 6390 ++v8;
6391 } 6391 }
6392 while ( v8 < 10 ); 6392 while ( v8 < 10 );
6393 if ( v8 == 10 ) 6393 if ( v8 == 10 )
6394 { 6394 {
6395 v9 = 0; 6395 v9 = 0;
6396 if ( v20 ) 6396 if ( v20[0] )
6397 { 6397 {
6398 do 6398 do
6399 ++v9; 6399 ++v9;
6400 while ( *(&v20 + v9) ); 6400 while ( v20[v9] );
6401 } 6401 }
6402 } 6402 }
6403 pParty->field_854[v1++] = v9; 6403 pParty->field_854[v1++] = v9;
6404 *(&v20 + v9) = 1; 6404 v20[v9] = 1;
6405 } 6405 }
6406 while ( (signed int)v1 < 32 ); 6406 while ( (signed int)v1 < 32 );
6407 item.Reset(); 6407 item.Reset();
6408 v10 = (char *)&pParty->pPlayers[0].sResMagicBase; 6408 v10 = (char *)&pParty->pPlayers[0].sResMagicBase;
6409 do 6409 do