Skip to content

Commit

Permalink
disable uvar until fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dtlnor committed Jun 18, 2022
1 parent 265f450 commit 844447e
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions RE_RSZ.bt
Original file line number Diff line number Diff line change
Expand Up @@ -2683,7 +2683,8 @@ typedef struct {
ushort embedCount;
} header;
local uint variableCount = header.variableCount;
if (header.magic == id_uvar) {
//if (header.magic == id_uvar) {
if (false) {
local uint UVARStart <hidden=true> = BHVTStart;
if (header.dataOffset + BHVTStart < startof(this) + 56)
UVARStart = startof(this);
Expand Down Expand Up @@ -5583,16 +5584,16 @@ typedef struct(BHVTlvl lv, string Name) {
}
}
} else if (Type == id_NameHash) {// && exists(Header.BHVT.Uvar)
local uint uv <hidden=true>;
while (exists(Header.BHVT.Uvar[uv])) {
for (i=0; i<Header.BHVT.Uvar[uv].variableCount; i++) {
if (Header.BHVT.Uvar[uv].Data.Var[i].nameHash == hash) {
FSeek(startof(Header.BHVT.Uvar[uv].Data.Var[i]));
struct UVARIABLE Uvariable;
}
}
uv++;
}
//local uint uv <hidden=true>;
//while (exists(Header.BHVT.Uvar[uv])) {
// for (i=0; i<Header.BHVT.Uvar[uv].variableCount; i++) {
// if (Header.BHVT.Uvar[uv].Data.Var[i].nameHash == hash) {
// FSeek(startof(Header.BHVT.Uvar[uv].Data.Var[i]));
// struct UVARIABLE Uvariable;
// }
// }
// uv++;
//}
} else if (detectedHash(startof(hash))) {
local int kk <hidden=true>, tg <hidden=true>, valueStart <hidden=true>, doExit <hidden=true>;
if (lvl == -1) {
Expand Down

0 comments on commit 844447e

Please sign in to comment.