MCPcopy Create free account
hub / github.com/IIIImmmyyy/frida-il2cppDumper / countFiles

Function countFiles

_agent.js:174–184  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

172 var fos = FileOutputStream.$new(outputPath);
173 var zos = ZipOutputStream.$new(fos);
174 function countFiles(file) {
175 if (file.isDirectory()) {
176 var files = file.listFiles();
177 for (var i = 0; i < files.length; i++) {
178 countFiles(files[i]);
179 }
180 }
181 else {
182 totalFiles++;
183 }
184 }
185 function addFileToZip(file, parentDir) {
186 if (file.isDirectory()) {
187 var files = file.listFiles();

Callers 1

_agent.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected