your code in IDA:
Код
NumBuilds = v8->NumBuilds;
v37 = v8->NumBuilds;
v10 = (str_builds->BuildsPoints[NumBuilds] + 28);
(*(v7->func + 4))(v11, str_builds, v7);
if ( *v10 )
(*(**v10 + 8))(*v10);
*v10 = v7;
++v8->NumBuilds;
We have big problem. T17 used structures what have Array [64] so you cant change this value!!!
here it initialise:
Код
buildpt = a1->BuildsPoints;
numBuilds = 64;
do
{
if ( *buildpt )
(*(**buildpt + 8))(*buildpt);
*buildpt = 0;
buildpt += 4;
--numBuilds;
}
while ( numBuilds );
a1->BuildsPoints; this Array [64] of objects... and this structure have many values. So you cant change size of structure... for this need recompile all EXE!!!