Hi Guys,
I am trying to use
Cake-san's UE Helper v7.3 to reverse some structures in Borderlands GOTY Enhanced (on Steam).
This error pops while trying to dissect the WillowPlayerController in Borderlands GOTY Enhanced:
The result of the error is that all structures are removed.
Is there any way to fix either or both issues?
My kung-fu is not strong enough for that.
Thank you!
The first row is row 1320.
This is row 1349: Offset=p*psize+Offs
Code: Select all
if (string.find(Typ,'ArrayProperty') or string.find(Typ,'MapProperty')) and MemberData.Property then
f=Struct.addElement() f.Offset=e.Offset+8-sub f.Name=e.Name..'_size' f.Vartype=vtDword
f=Struct.addElement() f.Offset=e.Offset+0xC-sub f.Name=e.Name..'_sizes' f.Vartype=vtDword
for m=e.Offset+0xC-sub+4,Propsize-1,4 do
if not getElementByOffset(Struct,m) then f=Struct.addElement() f.Offset=m f.Name=string.format('%s+%X',e.Name,m) f.Vartype=vtDword end
end
local isMap= string.find(Typ,'MapProperty')
if string.find(MemberData.Property[1].Type,'StructProperty') and MemberData.Property[1].Property and MemberData.Property[1].Property[1] then
Name= MemberData.Property[1].Property[1].Name..'[]'
else Name=MemberData.Property[1].Name..'[]'end
if not ArrayStruct then ArrayStruct={} end
if ArrayStruct[Name] then e.setChildStruct(ArrayStruct[Name])
else
local stru=createStructure(Name)
ArrayStruct[Name]=stru
e.setChildStruct(stru)
local ppsize=0
if isMap then
for k=1,#MemberData.Property do
ppsize=(MemberData.Property[k].Propsize<4 and 4 or MemberData.Property[k].Propsize)+ppsize
end
ppsize=ppsize+0x8
--print(ppsize)
end
for k=1,#MemberData.Property do
local psize=isMap and ppsize or MemberData.Property[k].Propsize
--print(MemberData.Address)
local Offs=isMap and MemberData.Property[k].Offset and MemberData.Property[k].Offset or 0
for p=0,10 do
Offset=p*psize+Offs
Name=string.format('[%u] ',p)
Typ=MemberData.Property[k].Type
if string.find(MemberData.Property[k].Type,'StructProperty') then
UECreateStruct(LocalStruct,ArrayStruct,MemberData.Property[k].Property[1],stru,Instance,Offset,Name)
else
f=stru.addElement()
f.Offset=Offset
f.Name=Name..MemberData.Property[k].Name
if not ue4type[Typ] then f.Vartype=vtDword
else f.Vartype=ue4type[Typ]end
end
end
end
fillstruct4bytes(stru)
end
end