diff mm7_1.cpp @ 309:53b9b07ab9ec

Items tooltip fixed
author zipi
date Tue, 19 Feb 2013 21:21:23 +0000
parents e33f5a1cdc46
children 922a96fdcc86
line wrap: on
line diff
--- a/mm7_1.cpp	Wed Feb 20 00:28:52 2013 +0400
+++ b/mm7_1.cpp	Tue Feb 19 21:21:23 2013 +0000
@@ -2368,9 +2368,9 @@
   int v59; // [sp-8h] [bp-280h]@56
   int v60; // [sp-8h] [bp-280h]@58
   unsigned int v61; // [sp-8h] [bp-280h]@110
-  char a1[100]; // [sp+8h] [bp-270h]@40
-  char Dest[100]; // [sp+6Ch] [bp-20Ch]@40
-  char v64[100]; // [sp+D0h] [bp-1A8h]@40
+  char a1[300]; // [sp+8h] [bp-270h]@40
+  //char Dest[100]; // [sp+6Ch] [bp-20Ch]@40
+  //char v64[100]; // [sp+D0h] [bp-1A8h]@40
   char v65[120]; // [sp+134h] [bp-144h]@92
   char Source[40]; // [sp+1ACh] [bp-CCh]@49
   int v67; // [sp+1D4h] [bp-A4h]@91
@@ -2538,8 +2538,8 @@
       goto LABEL_116;
     }
     sprintf(a1, pGlobalTXT_LocalizationStrings[463], *((int *)v3 + 2));
-    strcpy(Dest, "");
-    strcpy(v64, "");
+    strcpy(&a1[100], "");
+    strcpy(&a1[200], "");
     v20 = v3[28];
     if ( (unsigned __int8)v20 <= 1u )
     {
@@ -2560,7 +2560,7 @@
             v21 = v3[30];
             if ( v21 )
               sprintf(
-                Dest,
+                &a1[100],
                 "%s: +%d",
                 pGlobalTXT_LocalizationStrings[11],
                 (unsigned __int8)v21 + (unsigned __int8)v3[32]);
@@ -2574,12 +2574,12 @@
       v45 = (unsigned __int8)v3[32];
       v43 = pGlobalTXT_LocalizationStrings[203];
     }
-    sprintf(Dest, "%s: +%d   %s: %dd%d", v43, v45, v48, v53, v58);
+    sprintf(&a1[100], "%s: +%d   %s: %dd%d", v43, v45, v48, v53, v58);
     v22 = v3[32];
     if ( v22 )
     {
       sprintf(Source, " +%d", (unsigned __int8)v22);
-      strcat(Dest, Source);
+      strcat(&a1[100], Source);
     }
 LABEL_50:
     if ( v77 )
@@ -2753,7 +2753,7 @@
       v54 = pGlobalTXT_LocalizationStrings[449];
       v49 = "%s: %d";
 LABEL_64:
-      sprintf(v64, v49, v54, v59);
+      sprintf(&a1[200], v49, v54, v59);
       goto LABEL_65;
     }
     v25 = _this->_bonus_type;
@@ -2783,7 +2783,7 @@
       v50 = pGlobalTXT_LocalizationStrings[210];
       v46 = "%s: %s";
     }
-    sprintf(v64, v46, v50, v55, v60);
+    sprintf(&a1[200], v46, v50, v55, v60);
     goto LABEL_65;
 }
 // 4E455C: using guessed type int dword_4E455C;