functionfindVectorsSized(size)localret={}localtext=GetTextRegion()fork,vinpairs(offsets.getvectors())doifGetRegionIn2(k)~=nilthen--if v>4 thenlocaltv=engine.peek(k,ptr_vector)iftv:size()==sizethenprint(string.format("%x is size %d",k,size))table.insert(ret,k)endendendreturnretendfunctionfindMaterial(mattype,matname)--currently only stoneslocaltbl=BuildMaterialTable()returntbl[matname]end