懂得都懂创建文件直接执行即可h5gg.searchNumber('2', 'I32', '0x100000000', '0x1600000000');
h5gg.searchNearby('-1342171648', 'I32', '0x4C');
h5gg.searchNearby('-2043674375', 'I32', '0x4C');
h5gg.searchNumber('2', 'I32', '0x100000000', '0x1600000000');
var count = h5gg.getResultsCount(); //获取搜索到的数据总量
var r = h5gg.getResults(count); //储存数据地址
//showlog("搜索数量"+count);
console.log("数量"+count);
for(var i = 0; i < count; i++){
var address = r[i].address;
var addr2 = Number(address) + 4;
var addr3 = Number(address) + 68;
var addr4 = Number(address) + 8;
//addr2 = '0x' + addr2.toString(16);
//addr3 = '0x' + addr3.toString(16);
//addr4 = '0x' + addr4.toString(16);
//if(-1342171648 ==h5gg.getValue(addr2, 'I32')){
//if(-2043674375 ==h5gg.getValue(addr3, 'I32')){
h5gg.setValue(addr4, 248, 'I32');
//}
//}
}
h5gg.clearResults();
h5gg.searchNearby('-1342171648', 'I32', '0x4C');
h5gg.searchNearby('-2043674375', 'I32', '0x4C');
h5gg.searchNumber('2', 'I32', '0x100000000', '0x1600000000');
var count = h5gg.getResultsCount(); //获取搜索到的数据总量
var r = h5gg.getResults(count); //储存数据地址
//showlog("搜索数量"+count);
console.log("数量"+count);
for(var i = 0; i < count; i++){
var address = r[i].address;
var addr2 = Number(address) + 4;
var addr3 = Number(address) + 68;
var addr4 = Number(address) + 8;
//addr2 = '0x' + addr2.toString(16);
//addr3 = '0x' + addr3.toString(16);
//addr4 = '0x' + addr4.toString(16);
//if(-1342171648 ==h5gg.getValue(addr2, 'I32')){
//if(-2043674375 ==h5gg.getValue(addr3, 'I32')){
h5gg.setValue(addr4, 248, 'I32');
//}
//}
}
h5gg.clearResults();