# HG changeset patch # User zipi # Date 1361567450 0 # Node ID c31e87e41131b2ae053b2f669a28b0eea4cf505c # Parent c3a0d94c07a55a8eeb7e8d66c345597e7f89716a history clean diff -r c3a0d94c07a5 -r c31e87e41131 GUIWindow.cpp --- a/GUIWindow.cpp Fri Feb 22 23:47:26 2013 +0400 +++ b/GUIWindow.cpp Fri Feb 22 21:10:50 2013 +0000 @@ -465,9 +465,7 @@ unsigned int v19; // edi@43 unsigned int v20; // edi@45 void *v21; // esi@45 - char *v22; // [sp+10h] [bp-5Ch]@9 signed int v23; // [sp+10h] [bp-5Ch]@38 - int v24; // [sp+14h] [bp-58h]@9 char *v25; // [sp+14h] [bp-58h]@21 GUIWindow v26; // [sp+18h] [bp-54h]@8 @@ -720,12 +718,9 @@ if ( dword_506528 < 29 ) { v3 = (__int64 *)&pParty->field_3C.field_4F0[2 * dword_506528]; - v24 = dword_506528 + 1; - //v22 = (char *)&pStorylineText->StoreLine[dword_506528].pPageTitle;//guess //field_4[3 * dword_506528 + 2]; - v22 = (char *)&pStorylineText->StoreLine[dword_506528+1].pText; - do + for(int i=dword_506528+1;iStoreLine[i].pText; if ( *v3 ) { if ( v4 ) @@ -736,7 +731,7 @@ v8 = v7 + 1; if ( (signed int)v7 + 1 > 0 ) { - memset32((char *)&pStru179 + 4 * dword_506520 , v24, v8); + memset32((char *)&pStru179 + 4 * dword_506520 , i, v8); do { LODWORD(v7) = dword_506520++; @@ -747,13 +742,9 @@ } } } - v22 += 12; + ++i; ++v3; - ++v24; - //__debugbreak(); // fix condition } - //while ( (signed int)v22 < (signed int)&pFactionTable->relations + 8 ); - while ( (signed int)v22 <= (signed int)&pStorylineText->StoreLine[30].uTime ); } } }