From 7807840df194994ab8ee3e2113626517dca3d719 Mon Sep 17 00:00:00 2001 From: Stuyk Date: Thu, 12 Oct 2023 13:33:30 -0600 Subject: [PATCH] Dependency Updates, Script Updates --- package.json | 37 +- scripts/buildresource/index.js | 37 +- scripts/clothes/getFileNames.js | 12 +- scripts/compiler/core.js | 92 +- scripts/compiler/scripts.js | 84 +- scripts/doctor/files.js | 8 +- scripts/doctor/index.js | 8 +- scripts/documentation/index.js | 7 +- scripts/natives-upgrade/index.js | 27 - scripts/natives-upgrade/replacements.json | 7822 ----------------- scripts/plugins/core.js | 15 +- scripts/plugins/shared.js | 21 +- scripts/plugins/update-dependencies.js | 44 +- scripts/plugins/webview.js | 16 +- scripts/runtime/index.js | 4 +- scripts/shared/fileHelpers.js | 101 + scripts/shared/path.js | 10 + scripts/transform/index.js | 9 +- .../server/commands/consoleCommands.ts | 2 +- 19 files changed, 296 insertions(+), 8060 deletions(-) delete mode 100644 scripts/natives-upgrade/index.js delete mode 100644 scripts/natives-upgrade/replacements.json create mode 100644 scripts/shared/fileHelpers.js create mode 100644 scripts/shared/path.js diff --git a/package.json b/package.json index 7bfcb98798..c3e6caa9d1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altv-athena", - "version": "5.1.0", + "version": "5.1.1", "description": "a roleplay framework for alt:V", "author": "stuyk", "type": "module", @@ -16,46 +16,45 @@ "check": "tsc -p ./tsconfig.json | node ./scripts/fileChecker/index.js", "fix": "node ./scripts/doctor/index.js", "[-] Vue WebView Deployment": "", - "vue-dev": "node ./scripts/plugins/webview && node ./scripts/plugins/files && npx vite ./src-webviews --clearScreen=false --host=localhost --port=3000", + "vue-dev": "node ./scripts/plugins/webview.js && node ./scripts/plugins/files.js && npx vite ./src-webviews --clearScreen=false --host=localhost --port=3000", "[-] Utility": "", "docs": "npx typedoc --options ./src/core/typedoc.json && node ./scripts/documentation/index.js", "fix-natives": "node ./scripts/natives-upgrade/index.js", "test": "" }, "devDependencies": { - "@altv/types-client": "^2.6.3", - "@altv/types-natives": "^1.5.3", - "@altv/types-server": "^2.7.3", - "@altv/types-shared": "^1.4.8", - "@altv/types-webview": "^1.0.5", + "@altv/types-client": "^3.0.3", + "@altv/types-natives": "^1.5.4", + "@altv/types-server": "^3.1.1", + "@altv/types-shared": "^1.6.6", + "@altv/types-webview": "^1.0.7", "@altv/types-worker": "1.0.7", "@babel/types": "^7.17.0", "@stuyk/altv-config": "^4.0.1", "@swc/cli": "0.1.62", - "@swc/core": "1.3.40", - "@types/glob": "^7.2.0", + "@swc/core": "1.3.92", "@types/minimatch": "^3.0.5", "@types/node": "^14.6.1", "@types/sockjs": "^0.3.33", "@types/sockjs-client": "^1.5.1", - "altv-pkg": "^2.2.0", - "fkill": "^8.0.1", - "fs-extra": "^10.1.0", - "glob": "^8.0.3", + "altv-pkg": "^2.3.1", + "fkill": "^8.1.1", + "fs-extra": "^11.1.1", + "glob": "^10.3.1", "prettier": "^2.6.2", "stylus": "^0.58.1", - "typescript": "4.6.3", - "vite": "^4.2.0", + "typescript": "^5.2.2", + "vite": "^4.4.11", "vite-plugin-monaco-editor": "^1.1.0", - "vue": "^3.2.47" + "vue": "^3.3.4" }, "dependencies": { - "@stuyk/ezmongodb": "3.0.0", + "@stuyk/ezmongodb": "3.0.1", "@vitejs/plugin-vue": "^4.1.0", - "axios": "0.26.1", + "axios": "1.5.1", "bip39": "^3.1.0", "elliptic": "6.5.4", - "njwt": "^1.2.0", + "njwt": "^2.0.0", "sjcl": "1.0.8", "sockjs": "0.3.21", "sockjs-client": "1.5.2" diff --git a/scripts/buildresource/index.js b/scripts/buildresource/index.js index 45f2cdbf02..72c88d2a43 100644 --- a/scripts/buildresource/index.js +++ b/scripts/buildresource/index.js @@ -1,8 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; import path from 'path'; +import { sanitizePath } from '../shared/path.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; -const scriptPath = path.join(process.cwd(), '/scripts/buildresource/resource.json'); +const scriptPath = sanitizePath(path.join(process.cwd(), '/scripts/buildresource/resource.json')); const defaults = { type: 'js', main: 'server/startup.js', @@ -13,33 +13,20 @@ const defaults = { }; async function getClientPluginFolders() { - let folders = []; - - const removalPath = path.join(process.cwd(), 'src/core/').replace(/\\/gm, '/'); - const results = await new Promise((resolve) => { - glob(path.join(process.cwd(), `src/core/plugins/**/@(client|shared)`).replace(/\\/g, '/'), (err, files) => { - if (err) { - resolve([]); - return; - } - - files = files.map((fileName) => { - return fileName.replace(removalPath, '') + `/*`; - }); - - resolve(files); - }); - }); - - folders = folders.concat(results); - return folders; + const removalPath = sanitizePath(path.join(process.cwd(), 'src/core/')); + const results = globSync(sanitizePath(path.join(process.cwd(), `src/core/plugins/**/@(client|shared)`))).map( + (fileName) => { + return fileName.replace(removalPath, '') + `/*`; + }, + ); + + return results; } async function start() { const folders = await getClientPluginFolders(); defaults['client-files'] = [...defaults['client-files'], ...folders]; - - fs.outputFileSync(scriptPath, JSON.stringify(defaults, null, '\t')); + writeFile(scriptPath, JSON.stringify(defaults, null, '\t')); } start(); diff --git a/scripts/clothes/getFileNames.js b/scripts/clothes/getFileNames.js index 9d620a4027..a88fbaa04f 100644 --- a/scripts/clothes/getFileNames.js +++ b/scripts/clothes/getFileNames.js @@ -1,13 +1,13 @@ -import glob from 'glob'; -import fs from 'fs' +import { globSync, writeFile } from '../shared/fileHelpers.js'; async function start() { - const files = glob.sync(`./src-webviews/public/assets/images/clothing/**/*.png`) + let files = globSync(`./src-webviews/public/assets/images/clothing/**/*.png`); + for (let i = 0; i < files.length; i++) { files[i] = files[i].split(`/`).pop(); } - const componentsList = files.filter(f => { + const componentsList = files.filter((f) => { if (f.includes('prop')) { return false; } @@ -19,7 +19,7 @@ async function start() { return true; }); - fs.writeFileSync('clothes.json', JSON.stringify(componentsList, null, '\t')); + writeFile('clothes.json', JSON.stringify(componentsList, null, '\t')); } -start(); \ No newline at end of file +start(); diff --git a/scripts/compiler/core.js b/scripts/compiler/core.js index 85779e182c..b462ec6362 100644 --- a/scripts/compiler/core.js +++ b/scripts/compiler/core.js @@ -1,40 +1,20 @@ import swc from '@swc/core'; -import fs from 'fs-extra'; -import glob from 'glob'; import path from 'path'; +import fs from 'node:fs'; +import { copySync, getAllPluginFolders, getPluginFolder, globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable']; -/** @type {import('@swc/core').Config} */ -const SWC_CONFIG = { - jsc: { - parser: { - syntax: 'typescript', - dynamicImport: true, - decorators: true, - }, - transform: { - legacyDecorator: true, - decoratorMetadata: true, - }, - target: 'es2020', - }, - sourceMaps: false, -}; - -function sanitizePath(p) { - return p.replace(/\\/g, path.sep); -} - function getEnabledPlugins() { - const rootPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins')).replace(/\\/g, '/'); - const pluginFolders = fs.readdirSync(rootPath); + const pluginFolder = getPluginFolder(); + const pluginFolders = getAllPluginFolders(); return pluginFolders.filter((pluginName) => { - const pluginPath = sanitizePath(path.join(rootPath, pluginName)).replace(/\\/g, '/'); + const pluginPath = sanitizePath(path.join(pluginFolder, pluginName)); for (const fileName of viablePluginDisablers) { - const disabledPath = sanitizePath(path.join(pluginPath, fileName)).replace(/\\/g, '/'); + const disabledPath = sanitizePath(path.join(pluginPath, fileName)); if (fs.existsSync(disabledPath)) { return false; @@ -47,7 +27,7 @@ function getEnabledPlugins() { function getFilesForTranspilation(enabledPlugins) { const rootPath = sanitizePath(path.join(process.cwd(), 'src/**/*.ts').replace(/\\/g, '/')); - const files = glob.sync(rootPath, { + const files = globSync(rootPath, { nodir: true, ignore: [ '**/node_modules/**', @@ -57,7 +37,7 @@ function getFilesForTranspilation(enabledPlugins) { for (const pluginName of enabledPlugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName).replace(/\\/g, '/')); - const pluginFiles = glob.sync(path.join(pluginPath, '**/*.ts').replace(/\\/g, '/'), { + const pluginFiles = globSync(path.join(pluginPath, '**/*.ts').replace(/\\/g, '/'), { nodir: true, ignore: ['**/imports.ts', '**/webview/**'], }); @@ -72,8 +52,7 @@ function getFilesForTranspilation(enabledPlugins) { function getFilesToCopy(enabledPlugins) { const filePath = sanitizePath(path.join(process.cwd(), 'src', '**/*.!(ts|vue)').replace(/\\/g, '/')); - - return glob.sync(filePath, { + return globSync(filePath, { nodir: true, ignore: ['**/tsconfig.json', '**/dependencies.json', `**/core/plugins/!(${enabledPlugins.join('|')})/**`], }); @@ -103,35 +82,50 @@ function resolvePaths(file, rawCode) { return rawCode; } +/** + * Transpile / compile a typescript file + * + * @param {Promise} file + */ async function transpileFile(file) { const targetPath = file.replace('src/', 'resources/').replace('.ts', '.js'); + const result = await swc.transformFile(file, { + jsc: { + parser: { + syntax: 'typescript', + dynamicImport: true, + decorators: true, + }, + transform: { + legacyDecorator: true, + decoratorMetadata: true, + }, + target: 'es2020', + }, + sourceMaps: false, + }); - return new Promise(async (resolve) => { - const result = await swc.transformFile(file, SWC_CONFIG); - if (!result) { - console.warn(`Failed to compile: ${targetPath}`); - } + if (!result) { + console.warn(`Failed to compile: ${targetPath}`); + } - // The path resolvers are really awful, so writing a custom one here. - if (result.code.includes('@Athena')) { - result.code = resolvePaths(file, result.code); - } + // The path resolvers are really awful, so writing a custom one here. + if (result.code.includes('@Athena')) { + result.code = resolvePaths(file, result.code); + } - const finalFile = `// YOU ARE EDITING COMPILED FILES. DO NOT EDIT THESE FILES \r\n` + result.code; - fs.outputFileSync(targetPath, finalFile); - resolve(); - }); + const finalFile = `// YOU ARE EDITING COMPILED FILES. DO NOT EDIT THESE FILES \r\n` + result.code; + writeFile(targetPath, finalFile); } async function run() { - const startTime = +new Date(); const enabledPlugins = getEnabledPlugins(); const filesToTranspile = getFilesForTranspilation(enabledPlugins); const filesToCopy = getFilesToCopy(enabledPlugins); const resourcesFolder = sanitizePath(path.join(process.cwd(), 'resources')).replace(/\\/g, '/'); - const filesAndDirectories = await fs.readdir(resourcesFolder); + const filesAndDirectories = await fs.readdirSync(resourcesFolder); for (const fileOrDirectory of filesAndDirectories) { const fullPath = sanitizePath(path.join(resourcesFolder, fileOrDirectory)).replace(/\\/g, '/'); @@ -146,7 +140,11 @@ async function run() { for (const file of filesToCopy) { const targetPath = file.replace('src/', 'resources/'); - fs.copy(file, targetPath, { overwrite: true }); + if (file === targetPath) { + continue; + } + + copySync(file, targetPath); } const promises = filesToTranspile.map((file) => transpileFile(file)); diff --git a/scripts/compiler/scripts.js b/scripts/compiler/scripts.js index 73da9ad1da..af71822efe 100644 --- a/scripts/compiler/scripts.js +++ b/scripts/compiler/scripts.js @@ -1,7 +1,7 @@ import swc from '@swc/core'; -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; +import { copySync, globSync, writeFile } from '../shared/fileHelpers.js'; const FILES_TO_COMPILE = [ // @@ -15,81 +15,77 @@ const FOLDERS_TO_CLEAN = [ 'scripts/streamer/dist', ]; -const SWC_CONFIG = { - jsc: { - parser: { - syntax: 'typescript', - dynamicImport: true, - }, - target: 'es2020', - }, - sourceMaps: true, -}; - async function cleanFolders() { const promises = []; for (const folder of FOLDERS_TO_CLEAN) { - promises.push(fs.rm(path.join(process.cwd(), folder), { recursive: true, force: true })); + promises.push( + new Promise((resolve) => { + fs.rm(path.join(process.cwd(), folder), { recursive: true, force: true }, (err) => { + if (err) { + throw err; + } + + resolve(); + }); + }), + ); } await Promise.all(promises); } -function generatePromise(somePath) { - return new Promise((resolve) => { - glob(somePath, (_err, _files) => { - resolve(_files); - }); - }); -} - async function getFiles() { - return new Promise(async () => { - let files = []; - for (const file of FILES_TO_COMPILE) { - const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); - const filesFound = generatePromise(somePath); + let files = []; + for (const file of FILES_TO_COMPILE) { + const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); + const filesFound = globSync(somePath); + files = files.concat(filesFound); + } - files = files.concat(filesFound); - } - }); + return files; } async function copyFiles() { - let promises = []; let files = []; if (FILES_TO_COPY.length > 0) { for (const file of FILES_TO_COPY) { const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); - const somePromise = generatePromise(somePath).then((_files) => { - files = files.concat(_files); - }); - - promises.push(somePromise); + const _files = globSync(somePath); + files = files.concat(_files); } } - await Promise.all(promises); - promises = []; - for (const file of files) { const originalPath = file; let newPath = file.replace('src/', 'resources/'); - const newPromise = fs.copy(originalPath, newPath, { recursive: true, overwrite: true }); - promises.push(newPromise); + copySync(originalPath, newPath); } - await Promise.all(promises); return files; } +/** + * Files to transpile + * + * @param {string[]} files + * @return {*} + */ async function compileFiles(files) { const coreFiles = []; for (const file of files) { - swc.transformFile(file, SWC_CONFIG).then(async (output) => { + swc.transformFile(file, { + jsc: { + parser: { + syntax: 'typescript', + dynamicImport: true, + }, + target: 'es2020', + }, + sourceMaps: true, + }).then(async (output) => { let newPath = file.replace('src/', 'resources/').replace('.ts', '.js'); if (file.includes('scripts')) { @@ -108,7 +104,7 @@ async function compileFiles(files) { }); }); - await fs.outputFile(coreFile.path, coreFile.code); + await writeFile(coreFile.path, coreFile.code); coreFiles.push(coreFile.path); }); } diff --git a/scripts/doctor/files.js b/scripts/doctor/files.js index 9c2b067d5c..6e24155a15 100644 --- a/scripts/doctor/files.js +++ b/scripts/doctor/files.js @@ -1,4 +1,4 @@ -import glob from 'glob'; +import { glob } from 'glob'; export async function fileChecker() { const fileList = await new Promise((resolve) => { @@ -14,7 +14,7 @@ export async function fileChecker() { console.log(`Verifying ${fileList.length} Files`); let validated = 0; for (let filePath of fileList) { - let isValid = /^[a-zA-Z 0-9\-._\/\\]+$/g.test(filePath) + let isValid = /^[a-zA-Z 0-9\-._\/\\]+$/g.test(filePath); if (isValid) { validated += 1; @@ -23,5 +23,5 @@ export async function fileChecker() { } } - console.log(`${validated}/${fileList.length} Validated`) -} \ No newline at end of file + console.log(`${validated}/${fileList.length} Validated`); +} diff --git a/scripts/doctor/index.js b/scripts/doctor/index.js index 5f6d7bdf92..dde887f2cf 100644 --- a/scripts/doctor/index.js +++ b/scripts/doctor/index.js @@ -1,5 +1,5 @@ import fs from 'fs'; -import glob from 'glob'; +import { glob } from 'glob'; import path from 'path'; import { fileChecker } from './files.js'; import { verifyFileNames } from '../fileChecker/index.js'; @@ -37,13 +37,13 @@ async function cleanup() { fs.rmSync('athena-cache', { recursive: true, force: true }); } - const coreResourcesPath = sanitizePath(path.join('resources', 'core')) + const coreResourcesPath = sanitizePath(path.join('resources', 'core')); if (fs.existsSync(coreResourcesPath)) { console.log(`Removing resources/core`); fs.rmSync(coreResourcesPath, { recursive: true, force: true }); } - const coreWebviewsPath = sanitizePath(path.join('resources', 'webviews')) + const coreWebviewsPath = sanitizePath(path.join('resources', 'webviews')); if (fs.existsSync(coreWebviewsPath)) { console.log(`Removing resources/webviews`); fs.rmSync(coreWebviewsPath, { recursive: true, force: true }); @@ -72,7 +72,7 @@ async function cleanup() { } } - const badFileTypeDefs = glob.sync('./src/**/*.d.ts'); + const badFileTypeDefs = glob.sync('./src/**/*.d.ts', { platform: 'linux' }); for (const file of badFileTypeDefs) { if (fs.existsSync(file)) { console.log(`Removed File: ${file}`); diff --git a/scripts/documentation/index.js b/scripts/documentation/index.js index edb30db339..c0737417b1 100644 --- a/scripts/documentation/index.js +++ b/scripts/documentation/index.js @@ -1,10 +1,11 @@ import path from 'path'; import fs from 'fs'; -import glob from 'glob'; +import fsextra from 'fs-extra'; +import { glob } from 'glob'; const docsPath = join(process.cwd(), './docs'); const filesToRemove = ['.nojekyll', 'modules.md', 'README.md']; -const files = glob.sync(join(docsPath, '/**/*.md')); +const files = glob.sync(join(docsPath, '/**/*.md'), { platform: 'linux' }); /** * @@ -88,5 +89,5 @@ for (let file of files) { i += 1; // Increment by 1 to prevent endless loop } - fs.writeFileSync(file, rows.join('\n')); + fsextra.writeFileSync(file, rows.join('\n')); } diff --git a/scripts/natives-upgrade/index.js b/scripts/natives-upgrade/index.js deleted file mode 100644 index efc73a483d..0000000000 --- a/scripts/natives-upgrade/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import glob from 'glob'; -import fs from 'fs'; - -async function start() { - glob('./src/core/**/*.ts', (err, files) => { - if (err) { - return resolve(files); - } - - const nativeContent = JSON.parse(fs.readFileSync('./scripts/natives-upgrade/replacements.json', 'utf-8')); - - for (let filePath of files) { - let originalContent = fs.readFileSync(filePath, 'utf-8'); - - for (let native of nativeContent) { - if (originalContent.includes(native.from)) { - console.log(`[Native Replacement] ${native.from}, replaced with ${native.to}`); - originalContent = originalContent.replace(native.from, native.to); - } - } - - fs.writeFileSync(filePath, originalContent); - } - }); -} - -start(); diff --git a/scripts/natives-upgrade/replacements.json b/scripts/natives-upgrade/replacements.json deleted file mode 100644 index 9b70dca6a5..0000000000 --- a/scripts/natives-upgrade/replacements.json +++ /dev/null @@ -1,7822 +0,0 @@ -[ - { - "from": "setThreadPriority", - "to": "setThisThreadPriority" - }, - { - "from": "_0xC8B1B2425604CDD0", - "to": "isMobileInterferenceActive" - }, - { - "from": "_0x33E3C6C6F2F0B506", - "to": "setPositionForNullConvPed" - }, - { - "from": "_0x892B6AB8F33606F5", - "to": "setEntityForNullConvPed" - }, - { - "from": "_0x0B568201DD99F0EB", - "to": "setConversationAudioControlledByAnim" - }, - { - "from": "_0x61631F5DF50D1C34", - "to": "setConversationAudioPlaceholder" - }, - { - "from": "_0xAA19F5572C38B564", - "to": "getVariationChosenForScriptedLine" - }, - { - "from": "_0xB542DE8C3D1CB210", - "to": "setNoDuckingForConversation" - }, - { - "from": "_0x40763EA7B9B783E7", - "to": "hintMissionAudioBank" - }, - { - "from": "_0x19AF7ED9B9D23058", - "to": "unhintAmbientAudioBank" - }, - { - "from": "_0x9AC92EED5E4793AB", - "to": "unhintScriptAudioBank" - }, - { - "from": "_0x11579D940949C49E", - "to": "unhintNamedScriptAudioBank" - }, - { - "from": "_0x5B9853296731E88D", - "to": "playSoundFromEntityHash" - }, - { - "from": "_0x7EC3C679D0E7E46B", - "to": "updateSoundCoord" - }, - { - "from": "setPedScream", - "to": "setPedVoiceFull" - }, - { - "from": "_0x1B7ABE26CBCBF8C7", - "to": "setPedRaceAndVoiceGroup" - }, - { - "from": "setPedAudioGender", - "to": "setPedGender" - }, - { - "from": "_0x30CA2EF91D15ADF8", - "to": "isAnyPositionalSpeechPlaying" - }, - { - "from": "canPedSpeak", - "to": "doesContextExistForThisPed" - }, - { - "from": "_0xFF266D1D0EB1195D", - "to": "setRadioRetuneUp" - }, - { - "from": "_0xDD6BCF9E94425DF9", - "to": "setRadioRetuneDown" - }, - { - "from": "setVehHasRadioOverride", - "to": "setVehHasNormalRadio" - }, - { - "from": "isVehicleRadioEnabled", - "to": "isVehicleRadioOn" - }, - { - "from": "_0xC1805D05E6D4FE10", - "to": "setVehForcedRadioThisFrame" - }, - { - "from": "setRadioTrackMix", - "to": "setRadioTrackWithStartOffset" - }, - { - "from": "_0x55ECF4D13D9903B0", - "to": "setNextRadioTrack" - }, - { - "from": "isVehicleRadioLoud", - "to": "canVehicleReceiveCbRadio" - }, - { - "from": "_0xDA07819E452FFE8F", - "to": "setPositionedPlayerVehicleRadioEmitterEnabled" - }, - { - "from": "updateLsur", - "to": "updateUnlockableDjRadioTracks" - }, - { - "from": "setRadioStationIsVisible", - "to": "setRadioStationAsFavourite" - }, - { - "from": "_0xC64A06D939F826F5", - "to": "getNextAudibleBeat" - }, - { - "from": "forceRadioTrackListPosition", - "to": "forceMusicTrackList" - }, - { - "from": "getCurrentRadioStationHash", - "to": "getCurrentTrackPlayTime" - }, - { - "from": "_0x34D66BC058019CE0", - "to": "getCurrentTrackSoundName" - }, - { - "from": "_0xF3365489E0DD50F9", - "to": "setVehicleMissileWarningEnabled" - }, - { - "from": "_0x5D2BFAAB8D956E0E", - "to": "refreshClosestOceanShoreline" - }, - { - "from": "setVariableOnCutsceneAudio", - "to": "setVariableOnSynchSceneAudio" - }, - { - "from": "cancelCurrentPoliceReport", - "to": "cancelAllPoliceReports" - }, - { - "from": "_0x02E93C796ABD3A97", - "to": "setRadioPositionAudioMute" - }, - { - "from": "_0x58BB377BEC7CD5F4", - "to": "setVehicleConversationsPersist" - }, - { - "from": "_0x9BD7BD55E4533183", - "to": "setVehicleConversationsPersistNew" - }, - { - "from": "_0xF8AD2EED7C47E8FE", - "to": "blockAllSpeechFromPed" - }, - { - "from": "_0xAB6781A5F3101470", - "to": "stopPedSpeakingSynced" - }, - { - "from": "_0xA8A7D434AFB4B97B", - "to": "blockSpeechContextGroup" - }, - { - "from": "_0x2ACABED337622DF2", - "to": "unblockSpeechContextGroup" - }, - { - "from": "setSirenKeepOn", - "to": "setSirenBypassMpDriverCheck" - }, - { - "from": "triggerSiren", - "to": "triggerSirenAudio" - }, - { - "from": "soundVehicleHornThisFrame", - "to": "setHornPermanentlyOn" - }, - { - "from": "_0x9D3AF56E94C9AE98", - "to": "setHornPermanentlyOnTime" - }, - { - "from": "forceVehicleEngineAudio", - "to": "forceUseAudioGameObject" - }, - { - "from": "preloadVehicleAudio", - "to": "preloadVehicleAudioBank" - }, - { - "from": "_0x97FFB4ADEED08066", - "to": "setVehicleForceReverseWarning" - }, - { - "from": "_0x6FDDAD856E36988A", - "to": "setPlayerVehicleAlarmAudioActive" - }, - { - "from": "audioIsScriptedMusicPlaying", - "to": "audioIsMusicPlaying" - }, - { - "from": "_0x2DD39BF3E2F9C47F", - "to": "audioIsScriptedMusicPlaying" - }, - { - "from": "_0x159B7318403A1CD8", - "to": "setGlobalRadioSignalLevel" - }, - { - "from": "_0x70B8EC8FC108A634", - "to": "scriptOverridesWindElevation" - }, - { - "from": "_0x149AEE66F0CB3A99", - "to": "setPedWallaDensity" - }, - { - "from": "_0x8BF907833BE275DE", - "to": "setPedInteriorWallaDensity" - }, - { - "from": "setPedAudioFootstepLoud", - "to": "setPedFootstepsEventsEnabled" - }, - { - "from": "setPedAudioFootstepQuiet", - "to": "setPedClothEventsEnabled" - }, - { - "from": "_0xBF4DC1784BE94DFA", - "to": "useFootstepScriptSweeteners" - }, - { - "from": "_0x43FA0DFC5DF87815", - "to": "setSirenCanBeControlledByAudio" - }, - { - "from": "_0xB81CF134AEB56FFB", - "to": "enableStuntJumpAudio" - }, - { - "from": "_0xC8EDE9BDBCCBA6D4", - "to": "initSynchSceneAudioWithPosition" - }, - { - "from": "setSynchronizedAudioEventPositionThisFrame", - "to": "initSynchSceneAudioWithEntity" - }, - { - "from": "_0xE4E6DD5566D28C82", - "to": "stopSmokeGrenadeExplosionSounds" - }, - { - "from": "_0xBEF34B1D9624D5DD", - "to": "setSkipMinigunSpinUpAudio" - }, - { - "from": "hasMultiplayerAudioDataLoaded", - "to": "hasLoadedMpDataSet" - }, - { - "from": "hasMultiplayerAudioDataUnloaded", - "to": "hasLoadedSpDataSet" - }, - { - "from": "getVehicleDefaultHornVariation", - "to": "getVehicleHornSoundIndex" - }, - { - "from": "setVehicleHornVariation", - "to": "setVehicleHornSoundIndex" - }, - { - "from": "_0x0B40ED49D7D6FF84", - "to": "reactivateAllWorldBrainsThatAreWaitingTillOutOfRange" - }, - { - "from": "_0x4D953DF78EBF8158", - "to": "reactivateAllObjectBrainsThatAreWaitingTillOutOfRange" - }, - { - "from": "_0x6D6840CEE8845831", - "to": "reactivateNamedWorldBrainsWaitingTillOutOfRange" - }, - { - "from": "_0x6E91B04E08773030", - "to": "reactivateNamedObjectBrainsWaitingTillOutOfRange" - }, - { - "from": "_0xAABD62873FFB1A33", - "to": "forceCamFarClip" - }, - { - "from": "_0xF55E4046F6F831DC", - "to": "setCamDofOverriddenFocusDistance" - }, - { - "from": "_0xE111A7C0D200CBC5", - "to": "setCamDofOverriddenFocusDistanceBlendLevel" - }, - { - "from": "attachCamToPedBone2", - "to": "hardAttachCamToPedBone" - }, - { - "from": "_0x202A5ED9CE01D6E7", - "to": "hardAttachCamToEntity" - }, - { - "from": "_0x661B5C8654ADD825", - "to": "setCamControlsMiniMapHeading" - }, - { - "from": "_0xA2767257A320FC82", - "to": "setCamIsInsideVehicle" - }, - { - "from": "_0x271017B9BA825366", - "to": "allowMotionBlurDecay" - }, - { - "from": "getDebugCamera", - "to": "getDebugCam" - }, - { - "from": "_0x5D96CFB59DA076A0", - "to": "triggerVehiclePartBrokenCameraShake" - }, - { - "from": "setFlyCamVerticalSpeedMultiplier", - "to": "setFlyCamVerticalResponse" - }, - { - "from": "_0xC8B5C4A79CC18B94", - "to": "setFlyCamVerticalControlsThisUpdate" - }, - { - "from": "_0x5C48A1D6E3B33179", - "to": "wasFlyCamConstrainedOnPreviousUdpate" - }, - { - "from": "_0x4879E4FE39074CDF", - "to": "areWidescreenBordersActive" - }, - { - "from": "_0x487A82C650EB7799", - "to": "setGameplayCamMotionBlurScalingThisUpdate" - }, - { - "from": "_0x0225778816FDC28C", - "to": "setGameplayCamMaxMotionBlurStrengthThisUpdate" - }, - { - "from": "setGameplayCamRelativeRotation", - "to": "forceCameraRelativeHeadingAndPitch" - }, - { - "from": "_0x28B022A17B068A3A", - "to": "forceBonnetCameraRelativeHeadingAndPitch" - }, - { - "from": "setGameplayCamRawYaw", - "to": "setFirstPersonShooterCameraHeading" - }, - { - "from": "setGameplayCamRawPitch", - "to": "setFirstPersonShooterCameraPitch" - }, - { - "from": "_0x469F2ECDEC046337", - "to": "setScriptedCameraIsFirstPersonThisFrame" - }, - { - "from": "_0x3044240D2E0FA842", - "to": "isInterpolatingFromScriptCams" - }, - { - "from": "_0x705A276EBFF3133D", - "to": "isInterpolatingToScriptCams" - }, - { - "from": "_0xDB90C6CCA48940F1", - "to": "setGameplayCamAltitudeFovScalingState" - }, - { - "from": "enableCrosshairThisFrame", - "to": "disableGameplayCamAltitudeFovScalingThisUpdate" - }, - { - "from": "disableCamCollisionForEntity", - "to": "setGameplayCamIgnoreEntityCollisionThisUpdate" - }, - { - "from": "_0xA7092AFE81944852", - "to": "bypassCameraCollisionBuoyancyTestThisUpdate" - }, - { - "from": "_0xFD3151CD37EA2245", - "to": "setGameplayCamEntityToLimitFocusOverBoundingSphereThisUpdate" - }, - { - "from": "_0xB1381B97F70C7B30", - "to": "disableFirstPersonCameraWaterClippingTestThisUpdate" - }, - { - "from": "_0xDD79DF9F4D26E1C9", - "to": "setFollowCamIgnoreAttachParentMovementThisUpdate" - }, - { - "from": "_0x271401846BD26E92", - "to": "useScriptCamForAmbientPopulationOriginThisFrame" - }, - { - "from": "_0xC8391C309684595A", - "to": "setFollowPedCamLadderAlignThisUpdate" - }, - { - "from": "clampGameplayCamYaw", - "to": "setThirdPersonCamRelativeHeadingLimitsThisUpdate" - }, - { - "from": "clampGameplayCamPitch", - "to": "setThirdPersonCamRelativePitchLimitsThisUpdate" - }, - { - "from": "animateGameplayCamZoom", - "to": "setThirdPersonCamOrbitDistanceLimitsThisUpdate" - }, - { - "from": "disableFirstPersonCamThisFrame", - "to": "disableOnFootFirstPersonViewThisUpdate" - }, - { - "from": "_0x59424BD75174C9B1", - "to": "disableFirstPersonFlashEffectThisUpdate" - }, - { - "from": "_0x9F97DA93681F87EA", - "to": "blockFirstPersonOrientationResetThisUpdate" - }, - { - "from": "_0x91EF6EE6419E5B97", - "to": "setFollowVehicleCamHighAngleModeThisUpdate" - }, - { - "from": "_0x9DFE13ECDC1EC196", - "to": "setFollowVehicleCamHighAngleModeEveryUpdate" - }, - { - "from": "_0x79C0E43EB9B944E2", - "to": "setTableGamesCameraThisUpdate" - }, - { - "from": "useStuntCameraThisFrame", - "to": "useVehicleCamStuntSettingsThisUpdate" - }, - { - "from": "setGameplayCamHash", - "to": "useDedicatedStuntCameraThisUpdate" - }, - { - "from": "_0x0AA27680A0BD43FA", - "to": "forceVehicleCamStuntSettingsThisUpdate" - }, - { - "from": "setFollowTurretSeatCam", - "to": "setFollowVehicleCamSeatThisUpdate" - }, - { - "from": "isAimCamThirdPersonActive", - "to": "isAimCamActiveInAccurateMode" - }, - { - "from": "_0xCED08CBE8EBB97C7", - "to": "setFirstPersonAimCamZoomFactorLimitsThisUpdate" - }, - { - "from": "_0x2F7F2B26DD3F18EE", - "to": "setFirstPersonAimCamRelativeHeadingLimitsThisUpdate" - }, - { - "from": "setFirstPersonCamPitchRange", - "to": "setFirstPersonAimCamRelativePitchLimitsThisUpdate" - }, - { - "from": "_0x4008EDF7D6E48175", - "to": "setAllowCustomVehicleDriveByCamThisUpdate" - }, - { - "from": "_0x380B4968D1E09E55", - "to": "forceTightspaceCustomFramingThisUpdate" - }, - { - "from": "getFinalRenderedInWhenFriendlyRot", - "to": "getFinalRenderedRemotePlayerCamRot" - }, - { - "from": "getFinalRenderedInWhenFriendlyFov", - "to": "getFinalRenderedRemotePlayerCamFov" - }, - { - "from": "_0xCCD078C2665D2973", - "to": "stopGameplayHintBeingCancelledThisUpdate" - }, - { - "from": "_0x247ACBC4ABBC9D1C", - "to": "stopCodeGameplayHint" - }, - { - "from": "_0xBF72910D0F26F025", - "to": "isCodeGameplayHintActive" - }, - { - "from": "setGameplayHintAnimOffsetx", - "to": "setGameplayHintCameraRelativeSideOffset" - }, - { - "from": "setGameplayHintAnimOffsety", - "to": "setGameplayHintCameraRelativeVerticalOffset" - }, - { - "from": "setGameplayHintAnimCloseup", - "to": "setGameplayHintCameraBlendToFollowPedMediumViewMode" - }, - { - "from": "disableVehicleFirstPersonCamThisFrame", - "to": "disableCinematicBonnetCameraThisUpdate" - }, - { - "from": "_0x62ECFCFDEE7885D6", - "to": "disableCinematicVehicleIdleModeThisUpdate" - }, - { - "from": "invalidateVehicleIdleCam", - "to": "invalidateCinematicVehicleIdleMode" - }, - { - "from": "isInVehicleCamDisabled", - "to": "isCinematicFirstPersonVehicleInteriorCamRendering" - }, - { - "from": "_0xDC9DA9E8789F5246", - "to": "setCinematicNewsChannelActiveThisUpdate" - }, - { - "from": "_0x1F2300CB7FA7B7F6", - "to": "isInVehicleMobilePhoneCameraRendering" - }, - { - "from": "_0x17FCA7199A530203", - "to": "disableCinematicSlowMoThisUpdate" - }, - { - "from": "_0xD7360051C885628B", - "to": "isBonnetCinematicCamRendering" - }, - { - "from": "isCinematicCamActive", - "to": "isCinematicCamInputActive" - }, - { - "from": "_0x7B8A361C1813FBEF", - "to": "ignoreMenuPreferenceForBonnetCameraThisUpdate" - }, - { - "from": "stopCutsceneCamShaking", - "to": "bypassCutsceneCamRenderingThisUpdate" - }, - { - "from": "_0x324C5AA411DA7737", - "to": "stopCutsceneCamShaking" - }, - { - "from": "_0x12DED8CA53D47EA5", - "to": "setCutsceneCamFarClipThisUpdate" - }, - { - "from": "_0x5A43C76F7FC7BA5F", - "to": "disableNearClipScanThisUpdate" - }, - { - "from": "setCamEffect", - "to": "setCamDeathFailEffectState" - }, - { - "from": "_0x5C41E6BABC9E2112", - "to": "setFirstPersonFlashEffectType" - }, - { - "from": "setGameplayCamVehicleCamera", - "to": "setFirstPersonFlashEffectVehicleModelName" - }, - { - "from": "setGameplayCamVehicleCameraName", - "to": "setFirstPersonFlashEffectVehicleModelHash" - }, - { - "from": "_0xEAF0FA793D05C592", - "to": "isAllowedIndependentCameraModes" - }, - { - "from": "_0x62374889A4D59F72", - "to": "cameraPreventCollisionSettingsForTripleheadInInteriorsThisUpdate" - }, - { - "from": "replayFreeCamGetMaxRange", - "to": "replayGetMaxDistanceAllowedFromPlayer" - }, - { - "from": "_0x8D9DF6ECA8768583", - "to": "setScriptCanStartCutscene" - }, - { - "from": "getCutFileNumSections", - "to": "getCutFileConcatCount" - }, - { - "from": "_0x011883F41211432A", - "to": "setCutsceneOriginAndOrientation" - }, - { - "from": "_0x971D7B15BCDBEF99", - "to": "getCutsceneEndTime" - }, - { - "from": "_0x583DF8E3D4AFBD98", - "to": "getCutsceneConcatSectionPlaying" - }, - { - "from": "_0x4CEBC1ED31E8925E", - "to": "isCutsceneAuthorized" - }, - { - "from": "_0x4FCD976DA686580C", - "to": "doesCutsceneHandleExist" - }, - { - "from": "_0x7F96F23FA9B73327", - "to": "setVehicleModelPlayerWillExitScene" - }, - { - "from": "_0xC61B86C9F61EB404", - "to": "setPadCanShakeDuringCutscene" - }, - { - "from": "_0x20746F7B1032A3C7", - "to": "setCutsceneMultiheadFade" - }, - { - "from": "_0x06EE9048FD080382", - "to": "setCutsceneMultiheadFadeManual" - }, - { - "from": "_0xA0FE76168A189DDB", - "to": "isMultiheadFadeUp" - }, - { - "from": "_0x2F137B508DE238F2", - "to": "networkSetMocapCutsceneCanBeSkipped" - }, - { - "from": "_0xE36A98D8AB3D3C66", - "to": "setCarGeneratorsCanUpdateDuringCutscene" - }, - { - "from": "_0x5EDEF0CF8C1DAB3C", - "to": "canUseMobilePhoneDuringCutscene" - }, - { - "from": "registerSynchronisedScriptSpeech", - "to": "setCanDisplayMinimapDuringCutsceneThisUpdate" - }, - { - "from": "_0xA6EEF01087181EDD", - "to": "datafileLoadOfflineUgcForAdditionalDataFile" - }, - { - "from": "_0x6AD0BD5E087866CB", - "to": "datafileDeleteForAdditionalDataFile" - }, - { - "from": "_0xDBF860CF1DB8E599", - "to": "datafileGetFileDictForAdditionalDataFile" - }, - { - "from": "_0x241FCA5B1AA14F75", - "to": "areAnyCcsPending" - }, - { - "from": "_0xF2E07819EF1A5289", - "to": "dlcCheckCloudDataCorrect" - }, - { - "from": "_0x9489659372A81585", - "to": "getExtracontentCloudResult" - }, - { - "from": "_0xA213B11DFF526300", - "to": "dlcCheckCompatPackConfiguration" - }, - { - "from": "getExtraContentPackHasBeenInstalled", - "to": "getEverHadBadPackOrder" - }, - { - "from": "_0xC4637A6D03C24CC3", - "to": "getIsInitialLoadingScreenActive" - }, - { - "from": "hasEntityClearLosToEntity2", - "to": "hasEntityClearLosToEntityAdjustForCover" - }, - { - "from": "getEntityPhysicsHeading", - "to": "getEntityHeadingFromEulers" - }, - { - "from": "_0x694E00132F2823ED", - "to": "setEntityRequiresMoreExpensiveRiverCheck" - }, - { - "from": "attachEntityBoneToEntityBonePhysically", - "to": "attachEntityBoneToEntityBoneYForward" - }, - { - "from": "setEntityCleanupByEngine", - "to": "setEntityShouldFreezeWaitingOnCollision" - }, - { - "from": "_0x352E2B5CF420BF3B", - "to": "setEntityCanOnlyBeDamagedByScriptParticipants" - }, - { - "from": "_0xC34BC448DA29F5E9", - "to": "setEntityWaterReflectionFlag" - }, - { - "from": "_0xE66377CDDADA4810", - "to": "setEntityMirrorReflectionFlag" - }, - { - "from": "_0x490861B88F4FD846", - "to": "resetPickupEntityGlow" - }, - { - "from": "_0xCEA7C8E1B48FF68C", - "to": "setPickupCollidesWithProjectiles" - }, - { - "from": "_0x5C3B791D580E0BC2", - "to": "setEntitySortBias" - }, - { - "from": "_0x78E8E3A640178255", - "to": "setEntityIsInVehicle" - }, - { - "from": "_0xDC6F8601FAF2E893", - "to": "setWaitForCollisionsBeforeProbe" - }, - { - "from": "setEntityDecalsDisabled", - "to": "setEntityNoweapondecals" - }, - { - "from": "_0x1A092BB0C3808B96", - "to": "setEntityUseMaxDistanceForWaterReflection" - }, - { - "from": "getEntityBonePosition2", - "to": "getEntityBonePostion" - }, - { - "from": "getEntityBoneRotationLocal", - "to": "getEntityBoneObjectRotation" - }, - { - "from": "enableEntityUnk", - "to": "enableEntityBulletCollision" - }, - { - "from": "_0xB17BC6453F6CF5AC", - "to": "setEntityCanOnlyBeDamagedByEntity" - }, - { - "from": "_0x68B562E124CC0AEF", - "to": "setEntityCantCauseCollisionDamagedEntity" - }, - { - "from": "_0x36F32DE87082343E", - "to": "setAllowMigrateToSpectator" - }, - { - "from": "getEntityPickup", - "to": "getEntityOfTypeAttachedToEntity" - }, - { - "from": "_0xD7B80E7C3BEFC396", - "to": "setPickUpByCargobobDisabled" - }, - { - "from": "_0x10144267DD22866C", - "to": "getTattooShopDlcItemIndex" - }, - { - "from": "_0x96E2929292A4DB77", - "to": "getShopPedQueryComponentIndex" - }, - { - "from": "_0x6CEBE002E58DEE97", - "to": "getShopPedQueryPropIndex" - }, - { - "from": "loadContentChangeSetGroup", - "to": "executeContentChangesetGroupForAll" - }, - { - "from": "unloadContentChangeSetGroup", - "to": "revertContentChangesetGroupForAll" - }, - { - "from": "setFireSpreadRate", - "to": "setFlammabilityMultiplier" - }, - { - "from": "getEntityInsideExplosionSphere", - "to": "getOwnerOfExplosionInSphere" - }, - { - "from": "getEntityInsideExplosionArea", - "to": "getOwnerOfExplosionInAngledArea" - }, - { - "from": "drawSpritePoly", - "to": "drawTexturedPoly" - }, - { - "from": "drawSpritePoly2", - "to": "drawTexturedPolyWithThreeColours" - }, - { - "from": "_0xC5C8F970D4EDFF71", - "to": "setDepthwriting" - }, - { - "from": "_0x7FA5D82B8F58EC06", - "to": "beginCreateMissionCreatorPhotoPreview" - }, - { - "from": "_0x5B0316762AFD4A64", - "to": "getStatusOfCreateMissionCreatorPhotoPreview" - }, - { - "from": "_0x346EF3ECAAAB149E", - "to": "freeMemoryForMissionCreatorPhotoPreview" - }, - { - "from": "_0x1BBC135A4D25EDDE", - "to": "setTakenPhotoIsMugshot" - }, - { - "from": "_0xF3F776ADA161E47D", - "to": "setArenaThemeAndVariationForTakenPhoto" - }, - { - "from": "_0xADD6627C4D325458", - "to": "setOnIslandXForTakenPhoto" - }, - { - "from": "_0x759650634F07B6B4", - "to": "beginCreateLowQualityCopyOfPhoto" - }, - { - "from": "_0xCB82A0BF0E3E3265", - "to": "getStatusOfCreateLowQualityCopyOfPhoto" - }, - { - "from": "_0x2A893980E96B659A", - "to": "queueOperationToCreateSortedListOfPhotos" - }, - { - "from": "_0x4AF92ACD3141D96C", - "to": "clearStatusOfSortedListOperation" - }, - { - "from": "_0xE791DF1F73ED2C8B", - "to": "doesThisPhotoSlotContainAValidPhoto" - }, - { - "from": "_0xEC72C258667BE5EA", - "to": "loadHighQualityPhoto" - }, - { - "from": "returnTwo", - "to": "getLoadHighQualityPhotoStatus" - }, - { - "from": "drawLightWithRangeAndShadow", - "to": "drawLightWithRangeex" - }, - { - "from": "drawSpotLightWithShadow", - "to": "drawShadowedSpotLight" - }, - { - "from": "_0x9641588DAB93B4B5", - "to": "setLightOverrideMaxIntensityScale" - }, - { - "from": "_0x393BD2275CEB7793", - "to": "getLightOverrideMaxIntensityScale" - }, - { - "from": "drawMarker2", - "to": "drawMarkerEx" - }, - { - "from": "drawSphere", - "to": "drawMarkerSphere" - }, - { - "from": "setCheckpointScale", - "to": "setCheckpointInsideCylinderHeightScale" - }, - { - "from": "setCheckpointIconScale", - "to": "setCheckpointInsideCylinderScale" - }, - { - "from": "_0xF51D36185993515D", - "to": "setCheckpointClipplaneWithPosNorm" - }, - { - "from": "_0xFCF6788FC4860CD4", - "to": "setCheckpointForceOldArrowPointing" - }, - { - "from": "_0x615D3925E87A3B26", - "to": "setCheckpointDecalRotAlignedToCameraRot" - }, - { - "from": "_0xDB1EA9411C8911EC", - "to": "setCheckpointForceDirection" - }, - { - "from": "_0x3C788E7F6438754D", - "to": "setCheckpointDirection" - }, - { - "from": "getScriptGfxPosition", - "to": "getScriptGfxAlignPosition" - }, - { - "from": "_0x2D3B147AFAD49DE0", - "to": "drawSpriteArx" - }, - { - "from": "drawInteractiveSprite", - "to": "drawSpriteNamedRendertarget" - }, - { - "from": "drawSpriteUv", - "to": "drawSpriteArxWithUv" - }, - { - "from": "setBinkMovieUnk2", - "to": "setBinkMovieAudioFrontend" - }, - { - "from": "getActiveScreenResolution", - "to": "getActualScreenResolution" - }, - { - "from": "_0xB2EBE8CBC58B90E9", - "to": "getScreenAspectRatio" - }, - { - "from": "_0xEFABC7722293DA7C", - "to": "adjustNextPosSizeAsNormalized169" - }, - { - "from": "_0xEF398BEEE4EF45F9", - "to": "setExposuretweak" - }, - { - "from": "_0x814AF7DCAACC597B", - "to": "forceExposureReadback" - }, - { - "from": "_0x43FA7CBE20DAB219", - "to": "overrideNightvisionLightRange" - }, - { - "from": "overridePedBadgeTexture", - "to": "overridePedCrewLogoTexture" - }, - { - "from": "_0xE2892E7E55D7073A", - "to": "setDistanceBlurStrengthOverride" - }, - { - "from": "setArtificialLightsStateAffectsVehicles", - "to": "setArtificialVehicleLightsState" - }, - { - "from": "_0xC35A6D07C93802B2", - "to": "disableHdtexThisFrame" - }, - { - "from": "_0xBE197EAA669238F4", - "to": "setGrassCullSphere" - }, - { - "from": "_0x61F95E5BB3E0A8C6", - "to": "removeGrassCullSphere" - }, - { - "from": "_0xAE51BC858F32BA66", - "to": "procgrassEnableCullsphere" - }, - { - "from": "_0x649C97D52332341A", - "to": "procgrassDisableCullsphere" - }, - { - "from": "_0x2C42340F916C5930", - "to": "procgrassIsCullsphereEnabled" - }, - { - "from": "_0x14FC5833464340A8", - "to": "procgrassEnableAmbscalescan" - }, - { - "from": "_0x0218BA067D249DEA", - "to": "procgrassDisableAmbscalescan" - }, - { - "from": "_0x1612C45F9E3E0D44", - "to": "disableProcobjCreation" - }, - { - "from": "_0x5DEBD9C4DC995692", - "to": "enableProcobjCreation" - }, - { - "from": "_0xAAE9BE70EC7C69AB", - "to": "grassbatchEnableFlatteningExtInSphere" - }, - { - "from": "grassLodShrinkScriptAreas", - "to": "grassbatchEnableFlatteningInSphere" - }, - { - "from": "grassLodResetScriptAreas", - "to": "grassbatchDisableFlattening" - }, - { - "from": "_0x36F6626459D91457", - "to": "cascadeShadowsSetSplitZExpWeight" - }, - { - "from": "_0x259BA6D4E6F808F1", - "to": "cascadeShadowsSetBoundPosition" - }, - { - "from": "_0x25FC3E33A31AD0C9", - "to": "cascadeShadowsSetScreenSizeCheckEnabled" - }, - { - "from": "_0x0AE73D8DF3A762B2", - "to": "cascadeShadowsEnableFreezer" - }, - { - "from": "_0xCA465D9CC0D231BA", - "to": "waterReflectionSetScriptObjectVisibility" - }, - { - "from": "_0xC0416B061F2B7E5E", - "to": "golfTrailSetFixedControlPointEnable" - }, - { - "from": "seethroughSetFadeStartDistance", - "to": "seethroughSetFadeStartdistance" - }, - { - "from": "seethroughSetFadeEndDistance", - "to": "seethroughSetFadeEnddistance" - }, - { - "from": "seethroughSetNoiseAmountMin", - "to": "seethroughSetNoiseMin" - }, - { - "from": "seethroughSetNoiseAmountMax", - "to": "seethroughSetNoiseMax" - }, - { - "from": "seethroughSetHiLightIntensity", - "to": "seethroughSetHilightIntensity" - }, - { - "from": "seethroughSetHiLightNoise", - "to": "seethroughSetHighlightNoise" - }, - { - "from": "_0xB3C641F3630BF6DA", - "to": "setMotionblurMaxVelScaler" - }, - { - "from": "_0xE59343E9E96529E7", - "to": "getMotionblurMaxVelScaler" - }, - { - "from": "_0x6A51F78772175A51", - "to": "setForceMotionblur" - }, - { - "from": "_0xE3E2C1B4C59DBC77", - "to": "resetAdaptation" - }, - { - "from": "_0x851CD923176EBA7C", - "to": "grabPausemenuOwnership" - }, - { - "from": "setHidofEnvBlurParams", - "to": "setHidofOverride" - }, - { - "from": "_0xB569F41F3E7E83A4", - "to": "setLockAdaptiveDofDistance" - }, - { - "from": "_0x7AC24EAB6D74118D", - "to": "phonephotoeditorToggle" - }, - { - "from": "_0xBCEDB009461DA156", - "to": "phonephotoeditorIsActive" - }, - { - "from": "_0x27FEB5254759CDE3", - "to": "phonephotoeditorSetFrameTxd" - }, - { - "from": "startNetworkedParticleFxNonLoopedOnEntityBone", - "to": "startParticleFxNonLoopedOnEntityBone" - }, - { - "from": "_0x8CDE909A0370BB3A", - "to": "setParticleFxForceVehicleInterior" - }, - { - "from": "_0xBA0127DA25FD54C9", - "to": "forceParticleFxInVehicleInterior" - }, - { - "from": "_0x2A251AA48B2B46DB", - "to": "clearParticleFxShootoutBoat" - }, - { - "from": "_0x908311265D42A820", - "to": "setParticleFxBloodScale" - }, - { - "from": "_0xCFD16F0DB5A3535C", - "to": "disableInWaterPtfx" - }, - { - "from": "_0x5F6DF3D92271E8A1", - "to": "disableDownwashPtfx" - }, - { - "from": "_0x2B40A97646381508", - "to": "setParticleFxSlipstreamLodrangeScale" - }, - { - "from": "_0xBB90E12CAC1DAB25", - "to": "setParticleFxBulletImpactLodrangeScale" - }, - { - "from": "_0xCA4AE345A153D573", - "to": "setParticleFxBulletTraceNoAngleReject" - }, - { - "from": "_0x54E22EA2C1956A8D", - "to": "setParticleFxBangScrapeLodrangeScale" - }, - { - "from": "_0x949F397A288B28B3", - "to": "setParticleFxFootLodrangeScale" - }, - { - "from": "_0xBA3D194057C79A7B", - "to": "setParticleFxFootOverrideName" - }, - { - "from": "_0x5DBF05DB5926D089", - "to": "setSkidmarkRangeScale" - }, - { - "from": "_0x9B079E5221D984D3", - "to": "forcePostfxBulletImpactsAfterHud" - }, - { - "from": "_0xA46B73FAA3460AE1", - "to": "setWeatherPtfxUseOverrideSettings" - }, - { - "from": "_0xF78B803082D4386F", - "to": "setWeatherPtfxOverrideCurrLevel" - }, - { - "from": "_0xD9454B5752C857DC", - "to": "setDisablePetrolDecalsIgnitingThisFrame" - }, - { - "from": "_0x27CFB1B1E078CB2D", - "to": "setDisablePetrolDecalsRecyclingThisFrame" - }, - { - "from": "_0x82ACC484FFA3B05F", - "to": "abortVehicleCrewEmblemRequest" - }, - { - "from": "_0x0E4299C549F0D1F1", - "to": "disableCompositeShotgunDecals" - }, - { - "from": "_0x02369D5C8A51FDCF", - "to": "disableScuffDecals" - }, - { - "from": "_0x46D1A61A21F566FC", - "to": "setDecalBulletImpactRangeScale" - }, - { - "from": "registerNoirScreenEffectThisFrame", - "to": "registerNoirLensEffect" - }, - { - "from": "_0x03300B57FCAC6DDB", - "to": "renderShadowedLightsWithNoShadows" - }, - { - "from": "_0x98EDF76A7271E4F2", - "to": "requestEarlyLightCheck" - }, - { - "from": "setForcePedFootstepsTracks", - "to": "useSnowFootVfxWhenUnsheltered" - }, - { - "from": "setForceVehicleTrails", - "to": "useSnowWheelVfxWhenUnsheltered" - }, - { - "from": "disableScriptAmbientEffects", - "to": "disableRegionVfx" - }, - { - "from": "_0x1CBA05AE7BD7EE05", - "to": "setTransitionOutOfTimecycleModifier" - }, - { - "from": "_0x98D18905BF723B99", - "to": "getIsTimecycleTransitioningOut" - }, - { - "from": "removeTcmodifierOverride", - "to": "clearAllTcmodifierOverrides" - }, - { - "from": "setExtraTimecycleModifier", - "to": "setExtraTcmodifier" - }, - { - "from": "clearExtraTimecycleModifier", - "to": "clearExtraTcmodifier" - }, - { - "from": "getExtraTimecycleModifierIndex", - "to": "getExtraTcmodifier" - }, - { - "from": "setExtraTimecycleModifierStrength", - "to": "enableMoonCycleOverride" - }, - { - "from": "resetExtraTimecycleModifierStrength", - "to": "disableMoonCycleOverride" - }, - { - "from": "requestScaleformMovie2", - "to": "requestScaleformMovieWithIgnoreSuperWidescreen" - }, - { - "from": "requestScaleformMovieInteractive", - "to": "requestScaleformMovieSkipRenderWhilePaused" - }, - { - "from": "_0x2FCB133CA50A49EB", - "to": "isActiveScaleformMovieDeleting" - }, - { - "from": "_0x86255B1FC929E33E", - "to": "isScaleformMovieDeleting" - }, - { - "from": "_0x32F34FF7F617643B", - "to": "setScaleformMovieToUseLargeRt" - }, - { - "from": "setScaleformFitRendertarget", - "to": "setScaleformMovieToUseSuperLargeRt" - }, - { - "from": "endTextCommandScaleformString2", - "to": "endTextCommandUnparsedScaleformString" - }, - { - "from": "scaleformMovieMethodAddParamTextureNameString2", - "to": "scaleformMovieMethodAddParamLiteralString" - }, - { - "from": "_0xD1C7CB175E012964", - "to": "passKeyboardInputToScaleform" - }, - { - "from": "isPlaylistUnk", - "to": "isPlaylistOnChannel" - }, - { - "from": "isTvPlaylistItemPlaying", - "to": "isTvshowCurrentlyPlaying" - }, - { - "from": "_0xD1C55B110E4DF534", - "to": "setTvPlayerWatchingThisFrame" - }, - { - "from": "_0x30432A0118736E00", - "to": "getCurrentTvClipNamehash" - }, - { - "from": "_0x98C4FE6EC34154CA", - "to": "ui3dsceneAssignPedToSlot" - }, - { - "from": "_0x7A42B2E236E71415", - "to": "ui3dsceneClearPatchedData" - }, - { - "from": "_0x108BE26959A9D9BB", - "to": "ui3dsceneMakePushedPresetPersistent" - }, - { - "from": "animpostfxGetUnk", - "to": "animpostfxGetCurrentTime" - }, - { - "from": "animpostfxStopAndDoUnk", - "to": "animpostfxStopAndFlushRequests" - }, - { - "from": "_0x9245E81072704B8A", - "to": "disablePausemenuSpinner" - }, - { - "from": "setMouseCursorActiveThisFrame", - "to": "setMouseCursorThisFrame" - }, - { - "from": "setMouseCursorSprite", - "to": "setMouseCursorStyle" - }, - { - "from": "setMouseCursorVisibleInMenus", - "to": "setMouseCursorVisible" - }, - { - "from": "_0x3D9ACB1EB139E702", - "to": "isMouseRolledOverInstructionalButtons" - }, - { - "from": "_0x632B2940C67F4EA9", - "to": "getMouseEvent" - }, - { - "from": "thefeedDisableLoadingScreenTips", - "to": "thefeedHide" - }, - { - "from": "thefeedDisplayLoadingScreenTips", - "to": "thefeedShow" - }, - { - "from": "thefeedSpsExtendWidescreenOn", - "to": "thefeedReportLogoOn" - }, - { - "from": "thefeedSpsExtendWidescreenOff", - "to": "thefeedReportLogoOff" - }, - { - "from": "thefeedGetFirstVisibleDeleteRemaining", - "to": "thefeedGetLastShownPhoneActivatableFeedId" - }, - { - "from": "thefeedCommentTeleportPoolOn", - "to": "thefeedAutoPostGametipsOn" - }, - { - "from": "thefeedCommentTeleportPoolOff", - "to": "thefeedAutoPostGametipsOff" - }, - { - "from": "thefeedSetNextPostBackgroundColor", - "to": "thefeedSetBackgroundColorForNextPost" - }, - { - "from": "thefeedSetAnimpostfxColor", - "to": "thefeedSetRgbaParameterForNextMessage" - }, - { - "from": "thefeedSetAnimpostfxCount", - "to": "thefeedSetFlashDurationParameterForNextMessage" - }, - { - "from": "thefeedSetAnimpostfxSound", - "to": "thefeedSetVibrateParameterForNextMessage" - }, - { - "from": "thefeedSetFlushAnimpostfx", - "to": "thefeedSetSnapFeedItemPositions" - }, - { - "from": "thefeedAddTxdRef", - "to": "thefeedUpdateItemTexture" - }, - { - "from": "endTextCommandThefeedPostMessagetextGxtEntry", - "to": "endTextCommandThefeedPostMessagetextSubtitleLabel" - }, - { - "from": "endTextCommandThefeedPostCrewRankup", - "to": "endTextCommandThefeedPostCrewRankupWithLiteralFlag" - }, - { - "from": "endTextCommandThefeedPostReplayIcon", - "to": "endTextCommandThefeedPostReplay" - }, - { - "from": "beginTextCommandGetWidth", - "to": "beginTextCommandGetScreenWidthOfDisplayText" - }, - { - "from": "endTextCommandGetWidth", - "to": "endTextCommandGetScreenWidthOfDisplayText" - }, - { - "from": "beginTextCommandLineCount", - "to": "beginTextCommandGetNumberOfLinesForString" - }, - { - "from": "endTextCommandLineCount", - "to": "endTextCommandGetNumberOfLinesForString" - }, - { - "from": "beginTextCommandObjective", - "to": "beginTextCommandAddDirectlyToPreviousBriefs" - }, - { - "from": "endTextCommandObjective", - "to": "endTextCommandAddDirectlyToPreviousBriefs" - }, - { - "from": "getTextSubstring", - "to": "getCharacterFromAudioConversationFilename" - }, - { - "from": "getTextSubstringSafe", - "to": "getCharacterFromAudioConversationFilenameWithByteLimit" - }, - { - "from": "getTextSubstringSlice", - "to": "getCharacterFromAudioConversationFilenameBytes" - }, - { - "from": "getLabelText", - "to": "getFilenameForAudioConversation" - }, - { - "from": "_0x98C3CF913D895111", - "to": "getFirstNCharactersOfLiteralString" - }, - { - "from": "displayHudWhenDeadThisFrame", - "to": "displayHudWhenNotInStateOfPlayThisFrame" - }, - { - "from": "_0xCD74233600C4EA6B", - "to": "setFakeSpectatorMode" - }, - { - "from": "_0xC2D2AD9EAAE265B8", - "to": "getFakeSpectatorMode" - }, - { - "from": "_0x0C698D8F099174C7", - "to": "useVehicleTargetingReticule" - }, - { - "from": "_0xE4C3B169876D33D7", - "to": "addValidVehicleHitHash" - }, - { - "from": "_0xEB81A3DADD503187", - "to": "clearValidVehicleHitHashes" - }, - { - "from": "_0x2790F4B17D098E26", - "to": "setForceShowGps" - }, - { - "from": "_0x6CDD58146A436083", - "to": "setUseSetDestinationInPauseMap" - }, - { - "from": "_0xD1942374085C8469", - "to": "setBlockWantedFlash" - }, - { - "from": "_0x57D760D55F54E071", - "to": "forceNextMessageToPreviousBriefsList" - }, - { - "from": "_0xD2049635DEB9C375", - "to": "updateRadarZoomToBlip" - }, - { - "from": "setScriptVariable2HudColour", - "to": "setSecondScriptVariableHudColour" - }, - { - "from": "setAbilityBarVisibilityInMultiplayer", - "to": "setAbilityBarVisibility" - }, - { - "from": "setAllowAbilityBarInMultiplayer", - "to": "setAllowAbilityBar" - }, - { - "from": "_0xBA8D65C1C65702E5", - "to": "forceOffWantedStarFlash" - }, - { - "from": "_0x214CD562A939246A", - "to": "hasScriptHiddenHelpThisFrame" - }, - { - "from": "setHelpMessageTextStyle", - "to": "setHelpMessageStyle" - }, - { - "from": "getClosestBlipOfType", - "to": "getClosestBlipInfoId" - }, - { - "from": "_0x9FCB3CBFB3EAD69A", - "to": "setCopBlipSprite" - }, - { - "from": "_0xB7B873520C84C118", - "to": "setCopBlipSpriteAsStandard" - }, - { - "from": "_0x2C173AE2BDB9385E", - "to": "getBlipFadeDirection" - }, - { - "from": "setBlipSquaredRotation", - "to": "setBlipRotationWithFloat" - }, - { - "from": "_0x2916A928514C9827", - "to": "reloadMapMenu" - }, - { - "from": "_0xB552929B85FC27EC", - "to": "setBlipMarkerLongDistance" - }, - { - "from": "setBlipScaleTransformation", - "to": "setBlipScale2d" - }, - { - "from": "setBlipDisplayIndicatorOnBlip", - "to": "setBlipExtendedHeightThreshold" - }, - { - "from": "_0x4B5B620C9B59ED34", - "to": "setBlipShortHeightThreshold" - }, - { - "from": "_0x2C9F302398E13141", - "to": "setBlipUseHeightIndicatorOnEdge" - }, - { - "from": "deleteWaypoint", - "to": "deleteWaypointsFromThisPlayer" - }, - { - "from": "_0xC594B315EDF2D4AF", - "to": "removeCopBlipFromPed" - }, - { - "from": "_0xF83D0FEBE75E62C9", - "to": "setupFakeConeData" - }, - { - "from": "_0x35A3CD97B2C0A6D2", - "to": "removeFakeConeData" - }, - { - "from": "_0x8410C5E0CD847B9D", - "to": "clearFakeConeArray" - }, - { - "from": "setMinimapSonarEnabled", - "to": "setMinimapSonarSweep" - }, - { - "from": "showSigninUi", - "to": "showAccountPicker" - }, - { - "from": "_0x41350B4FC28E3941", - "to": "setPmWarningscreenActive" - }, - { - "from": "setInteriorZoomLevelIncreased", - "to": "setInsideVerySmallInterior" - }, - { - "from": "setInteriorZoomLevelDecreased", - "to": "setInsideVeryLargeInterior" - }, - { - "from": "setPlayerBlipPositionThisFrame", - "to": "setFakePausemapPlayerPositionThisFrame" - }, - { - "from": "_0xA17784FCA9548D15", - "to": "setFakeGpsPlayerPositionThisFrame" - }, - { - "from": "isMinimapInInterior", - "to": "isPausemapInInteriorMode" - }, - { - "from": "setToggleMinimapHeistIsland", - "to": "setUseIslandMap" - }, - { - "from": "_0x55F5A5F07134DE60", - "to": "dontZoomMinimapWhenSnipingThisFrame" - }, - { - "from": "_0x170F541E1CADD1DE", - "to": "useFakeMpCash" - }, - { - "from": "setPlayerCashChange", - "to": "changeFakeMpCash" - }, - { - "from": "_0xE67C6DFD386EA5E7", - "to": "allowDisplayOfMultiplayerCashText" - }, - { - "from": "_0x801879A9B4F4B2FB", - "to": "isImeInProgress" - }, - { - "from": "hudDisplayLoadingScreenTips", - "to": "hudForceSpecialVehicleWeaponWheel" - }, - { - "from": "hudWeaponWheelGetSelectedHash", - "to": "hudGetWeaponWheelCurrentlyHighlighted" - }, - { - "from": "hudWeaponWheelGetSlotHash", - "to": "hudGetWeaponWheelTopSlot" - }, - { - "from": "hudWeaponWheelIgnoreControlInput", - "to": "hudShowingCharacterSwitchSelection" - }, - { - "from": "setMainPlayerBlipColour", - "to": "setPlayerIconColour" - }, - { - "from": "setMissionName2", - "to": "setMissionNameForUgcMission" - }, - { - "from": "_0x817B86108EB94E51", - "to": "setDescriptionForUgcMissionEightStrings" - }, - { - "from": "_0x62E849B7EB28E770", - "to": "setMinimapFowDoNotUpdate" - }, - { - "from": "setMinimapAltitudeIndicatorLevel", - "to": "setFakeMinimapMaxAltimeterHeight" - }, - { - "from": "hideAreaAndVehicleNameThisFrame", - "to": "hideStreetAndCarNamesThisFrame" - }, - { - "from": "setMpGamerTagEnabled", - "to": "setAllMpGamerTagsVisibility" - }, - { - "from": "setMpGamerTagIcons", - "to": "setMpGamerTagsShouldUseVehicleHealth" - }, - { - "from": "setMpGamerHealthBarDisplay", - "to": "setMpGamerTagsShouldUsePointsHealth" - }, - { - "from": "setMpGamerHealthBarMax", - "to": "setMpGamerTagsPointHealth" - }, - { - "from": "setMpGamerTagUnk", - "to": "setMpGamerTagNumPackages" - }, - { - "from": "isValidMpGamerTagMovie", - "to": "isUpdatingMpGamerTagNameAndCrewDetails" - }, - { - "from": "isWarningMessageActive2", - "to": "isWarningMessageReadyForControl" - }, - { - "from": "setWarningMessageWithHeaderUnk", - "to": "setWarningMessageWithHeaderExtended" - }, - { - "from": "setWarningMessageWithAlert", - "to": "setWarningMessageWithHeaderAndSubstringFlagsExtended" - }, - { - "from": "getWarningMessageTitleHash", - "to": "getWarningScreenMessageHash" - }, - { - "from": "setWarningMessageListRow", - "to": "setWarningMessageOptionItems" - }, - { - "from": "_0xDAF87174BE7454FF", - "to": "setWarningMessageOptionHighlight" - }, - { - "from": "removeWarningMessageListItems", - "to": "removeWarningMessageOptionItems" - }, - { - "from": "raceGalleryFullscreen", - "to": "customMinimapSetActive" - }, - { - "from": "raceGalleryNextBlipSprite", - "to": "customMinimapSetBlipObject" - }, - { - "from": "raceGalleryAddBlip", - "to": "customMinimapCreateBlip" - }, - { - "from": "clearRaceGalleryBlips", - "to": "customMinimapClearBlips" - }, - { - "from": "getNorthRadarBlip", - "to": "getNorthBlidIndex" - }, - { - "from": "_0x211C4EF450086857", - "to": "drawFrontendBackgroundThisFrame" - }, - { - "from": "_0xBF4F34A85CA2970C", - "to": "drawHudOverFadeThisFrame" - }, - { - "from": "allowPauseMenuWhenDeadThisFrame", - "to": "allowPauseWhenNotInStateOfPlayThisFrame" - }, - { - "from": "_0x2F057596F2BD0061", - "to": "isStorePendingNetworkShutdownToOpen" - }, - { - "from": "_0x5BFF36D6ED83E0AE", - "to": "getPauseMenuPosition" - }, - { - "from": "logDebugInfo", - "to": "forceScriptedGfxWhenFrontendActive" - }, - { - "from": "_0x77F16B447824DA6C", - "to": "pauseMenuceptionGoDeeper" - }, - { - "from": "_0xCDCA26E80FAECB8F", - "to": "pauseMenuceptionTheKick" - }, - { - "from": "_0x2DE6C5E2E996F178", - "to": "pauseToggleFullscreenMap" - }, - { - "from": "_0xDE03620F8703A9DF", - "to": "pauseMenuGetHairColourIndex" - }, - { - "from": "_0x359AF31A4B52F5ED", - "to": "pauseMenuGetMouseHoverIndex" - }, - { - "from": "_0x13C4B962653A5280", - "to": "pauseMenuGetMouseHoverUniqueId" - }, - { - "from": "_0xC8E1071177A23BE5", - "to": "pauseMenuGetMouseClickEvent" - }, - { - "from": "_0x4895BDEA16E7C080", - "to": "pauseMenuRedrawInstructionalButtons" - }, - { - "from": "_0xF06EBB91A81E09E3", - "to": "pauseMenuSetWarnOnTabChange" - }, - { - "from": "_0x66E7CB63C97B7D20", - "to": "codeWantsScriptToTakeControl" - }, - { - "from": "_0x593FEAE1F73392D4", - "to": "getScreenCodeWantsScriptToControl" - }, - { - "from": "_0xF284AC67940C6812", - "to": "hasMenuTriggerEventOccurred" - }, - { - "from": "_0x2E22FEFA0100275E", - "to": "hasMenuLayoutChangedEventOccurred" - }, - { - "from": "_0x0CF54F20DE43879C", - "to": "setSavegameListUniqueId" - }, - { - "from": "getPauseMenuSelection", - "to": "getMenuTriggerEventDetails" - }, - { - "from": "getPauseMenuSelectionData", - "to": "getMenuLayoutChangedEventDetails" - }, - { - "from": "_0xA238192F33110615", - "to": "getPmPlayerCrewColor" - }, - { - "from": "_0xCA6B2F7CE32AB653", - "to": "getCharacterMenuPedIntStat" - }, - { - "from": "_0x24A49BEAF468DC90", - "to": "getCharacterMenuPedMaskedIntStat" - }, - { - "from": "_0x8F08017F9D7C47BD", - "to": "getCharacterMenuPedFloatStat" - }, - { - "from": "_0xF13FE2A80C05C561", - "to": "areOnlinePoliciesUpToDate" - }, - { - "from": "_0x1185A8087587322C", - "to": "setTextInputBoxEnabled" - }, - { - "from": "_0x577599CCED639CA2", - "to": "setAllowCommaOnTextInput" - }, - { - "from": "overrideMultiplayerChatPrefix", - "to": "overrideMpTextChatTeamString" - }, - { - "from": "isMultiplayerChatActive", - "to": "isMpTextChatTyping" - }, - { - "from": "closeMultiplayerChat", - "to": "closeMpTextChat" - }, - { - "from": "_0x7C226D5346D4D10A", - "to": "mpTextChatIsTeamJob" - }, - { - "from": "overrideMultiplayerChatColour", - "to": "overrideMpTextChatColor" - }, - { - "from": "setTextChatUnk", - "to": "mpTextChatDisable" - }, - { - "from": "setPedHasAiBlipWithColor", - "to": "setPedHasAiBlipWithColour" - }, - { - "from": "getAiBlip2", - "to": "getAiPedPedBlipIndex" - }, - { - "from": "getAiBlip", - "to": "getAiPedVehicleBlipIndex" - }, - { - "from": "hasDirectorModeBeenTriggered", - "to": "hasDirectorModeBeenLaunchedByCode" - }, - { - "from": "setDirectorModeClearTriggeredFlag", - "to": "setDirectorModeLaunchedByScript" - }, - { - "from": "_0x04655F9D075D0AE5", - "to": "setDirectorModeAvailable" - }, - { - "from": "_0x243296A510B562B6", - "to": "hideHudmarkersThisFrame" - }, - { - "from": "getInteriorInfo", - "to": "getInteriorLocationAndNamehash" - }, - { - "from": "_0x82EBB79E258FA2B7", - "to": "retainEntityInInterior" - }, - { - "from": "clearInteriorForEntity", - "to": "clearInteriorStateOfEntity" - }, - { - "from": "_0x38C1CB1CB119A016", - "to": "forceActivatingTrackingOnEntity" - }, - { - "from": "_0xAF348AFCB575A441", - "to": "setRoomForGameViewportByName" - }, - { - "from": "_0x405DC2AEF6AF95B9", - "to": "setRoomForGameViewportByKey" - }, - { - "from": "getInteriorFromGameplayCam", - "to": "getInteriorFromPrimaryView" - }, - { - "from": "_0x4C2330E61D3DEB56", - "to": "setInteriorInUse" - }, - { - "from": "_0x483ACA1176CA93F1", - "to": "activateInteriorGroupsUsingCamera" - }, - { - "from": "_0x7ECDF98587E92DEC", - "to": "enableStadiumProbesThisFrame" - }, - { - "from": "setInteriorEntitySetColor", - "to": "setInteriorEntitySetTintIndex" - }, - { - "from": "enableScriptCullModelThisFrame", - "to": "enableShadowCullModelThisFrame" - }, - { - "from": "_0x9E6542F0CE8E70A3", - "to": "disableMetroSystem" - }, - { - "from": "_0x7241CCB7D020DB69", - "to": "setIsExteriorOnly" - }, - { - "from": "_0xF2CA003F167E21D2", - "to": "lobbyAutoMultiplayerMenu" - }, - { - "from": "loadingscreenGetLoadFreemode", - "to": "lobbyAutoMultiplayerFreemode" - }, - { - "from": "loadingscreenSetLoadFreemode", - "to": "lobbySetAutoMultiplayer" - }, - { - "from": "loadingscreenGetLoadFreemodeWithEventName", - "to": "lobbyAutoMultiplayerEvent" - }, - { - "from": "loadingscreenSetLoadFreemodeWithEventName", - "to": "lobbySetAutoMultiplayerEvent" - }, - { - "from": "loadingscreenIsLoadingFreemode", - "to": "lobbyAutoMultiplayerRandomJob" - }, - { - "from": "loadingscreenSetIsLoadingFreemode", - "to": "lobbySetAutoMpRandomJob" - }, - { - "from": "_0xFA1E0E893D915215", - "to": "shutdownSessionClearsAutoMultiplayer" - }, - { - "from": "localizationGetSystemDateFormat", - "to": "localizationGetSystemDateType" - }, - { - "from": "getGlobalCharBuffer", - "to": "getContentToLoad" - }, - { - "from": "_0x4DCDF92BF64236CD", - "to": "activityFeedCreate" - }, - { - "from": "_0x31125FD509D9043F", - "to": "activityFeedAddSubstringToCaption" - }, - { - "from": "_0xEBD3205A207939ED", - "to": "activityFeedAddLiteralSubstringToCaption" - }, - { - "from": "_0x97E7E2C04245115B", - "to": "activityFeedAddIntToCaption" - }, - { - "from": "_0x916CA67D26FD1E37", - "to": "activityFeedLargeImageUrl" - }, - { - "from": "_0xEB078CA2B5E82ADD", - "to": "activityFeedActionStartWithCommandLine" - }, - { - "from": "_0x703CC7F60CBB2B57", - "to": "activityFeedActionStartWithCommandLineAdd" - }, - { - "from": "_0x8951EB9C6906D3C8", - "to": "activityFeedPost" - }, - { - "from": "_0xBA4B8D83BDC75551", - "to": "activityFeedOnlinePlayedWithPost" - }, - { - "from": "_0x65D2EBB47E1CEC21", - "to": "setScriptHighPrio" - }, - { - "from": "_0x6F2135B6129620C1", - "to": "setThisIsATriggerScript" - }, - { - "from": "_0x8D74E26F54B4E5C3", - "to": "informCodeOfContentIdOfCurrentUgcMission" - }, - { - "from": "getBaseElementMetadata", - "to": "getBaseElementLocationFromMetadataBlock" - }, - { - "from": "_0x0CF97F497FE7D048", - "to": "clearWeatherTypeNowPersistNetwork" - }, - { - "from": "getWeatherTypeTransition", - "to": "getCurrWeatherState" - }, - { - "from": "setWeatherTypeTransition", - "to": "setCurrWeatherState" - }, - { - "from": "_0x1178E104409FE58C", - "to": "setOverrideWeatherex" - }, - { - "from": "setRainLevel", - "to": "setRain" - }, - { - "from": "setSnowLevel", - "to": "setSnow" - }, - { - "from": "_0x02DEAAC8F8EA7FE7", - "to": "setCloudSettingsOverride" - }, - { - "from": "clearCloudHat", - "to": "unloadAllCloudHats" - }, - { - "from": "setCloudHatOpacity", - "to": "setCloudsAlpha" - }, - { - "from": "getCloudHatOpacity", - "to": "getCloudsAlpha" - }, - { - "from": "getBenchmarkTime", - "to": "getSystemTimeStep" - }, - { - "from": "getRandomIntInRange2", - "to": "getRandomMwcIntInRange" - }, - { - "from": "getGroundZFor3dCoord2", - "to": "getGroundZExcludingObjectsFor3dCoord" - }, - { - "from": "_0x7F8F6405F4777AF6", - "to": "getRatioOfClosestPointOnLine" - }, - { - "from": "_0x21C235BC64831E5A", - "to": "getClosestPointOnLine" - }, - { - "from": "_0xF56DFB7B61BE7276", - "to": "getLinePlaneIntersection" - }, - { - "from": "_0xA0AD167E4B39D9A2", - "to": "getPointAreaOverlap" - }, - { - "from": "_0x39455BF4F4F55186", - "to": "isAreaOccupiedSlow" - }, - { - "from": "_0x7EC6F9A478A6A512", - "to": "clearScenarioSpawnHistory" - }, - { - "from": "_0x397BAA01068BAA96", - "to": "getStatusOfManualSave" - }, - { - "from": "_0xB51B9AB9EF81868C", - "to": "setCreditsFadeOutWithScreen" - }, - { - "from": "setRestartCustomPosition", - "to": "setRestartCoordOverride" - }, - { - "from": "clearRestartCustomPosition", - "to": "clearRestartCoordOverride" - }, - { - "from": "_0xA4A0065E39C9F25C", - "to": "getSaveHouseDetailsAfterSuccessfulLoad" - }, - { - "from": "_0xEB2104E905C6F2E9", - "to": "queueMissionRepeatSaveForBenchmarkTest" - }, - { - "from": "getProjectileNearPed", - "to": "getProjectileOfProjectileTypeWithinDistance" - }, - { - "from": "_0xFB80AB299D2EE1BD", - "to": "toggleShowOptionalStuntJumpCamera" - }, - { - "from": "hasButtonCombinationJustBeenEntered", - "to": "hasCheatWithHashBeenActivated" - }, - { - "from": "hasCheatStringJustBeenEntered", - "to": "hasPcCheatWithHashBeenActivated" - }, - { - "from": "_0xFA3FFB0EEBC288A3", - "to": "overrideFreezeFlags" - }, - { - "from": "registerTextLabelToSave2", - "to": "registerTextLabel15ToSave" - }, - { - "from": "_0x48F069265A0E4BEC", - "to": "registerTextLabel23ToSave" - }, - { - "from": "_0x8269816F6CFD40F8", - "to": "registerTextLabel31ToSave" - }, - { - "from": "_0xFAA457EF263E8763", - "to": "registerTextLabel63ToSave" - }, - { - "from": "copyMemory", - "to": "copyScriptStruct" - }, - { - "from": "getNumDispatchedUnitsForPlayer", - "to": "getNumberResourcesAllocatedToWantedLevel" - }, - { - "from": "setIncidentUnk", - "to": "setIdealSpawnDistanceForIncident" - }, - { - "from": "isPopMultiplierAreaUnk", - "to": "isPopMultiplierAreaNetworked" - }, - { - "from": "_0x19BFED045C647C49", - "to": "getTennisSwingAnimCanBeInterrupted" - }, - { - "from": "_0xE95B0C7D5BA3B96B", - "to": "getTennisSwingAnimSwung" - }, - { - "from": "_0x54F157E0336A3822", - "to": "setTennisMoveNetworkSignalFloat" - }, - { - "from": "addDispatchSpawnBlockingAngledArea", - "to": "addDispatchSpawnAngledBlockingArea" - }, - { - "from": "addDispatchSpawnBlockingArea", - "to": "addDispatchSpawnSphereBlockingArea" - }, - { - "from": "_0xD9F692D349249528", - "to": "resetWantedResponseNumPedsToSpawn" - }, - { - "from": "_0xE532EC1A63231B4F", - "to": "setWantedResponseNumPedsToSpawn" - }, - { - "from": "addTacticalAnalysisPoint", - "to": "addTacticalNavMeshPoint" - }, - { - "from": "clearTacticalAnalysisPoints", - "to": "clearTacticalNavMeshPoints" - }, - { - "from": "removeStealthKill", - "to": "actionManagerEnableAction" - }, - { - "from": "_0x1EAE0A6E978894A2", - "to": "supressRandomEventThisFrame" - }, - { - "from": "setBeastModeActive", - "to": "setBeastJumpThisFrame" - }, - { - "from": "setForcePlayerToJump", - "to": "setForcedJumpThisFrame" - }, - { - "from": "_0x6FDDF453C0C756EC", - "to": "hasGameInstalledThisSession" - }, - { - "from": "_0xFB00CA71DA386228", - "to": "setTickerJohnmarstonIsDone" - }, - { - "from": "_0xE3D969D2785FFB5E", - "to": "preventArrestStateThisFrame" - }, - { - "from": "_0x1BB299305C3E8C13", - "to": "scriptRacePlayerHitCheckpoint" - }, - { - "from": "startBenchmarkRecording", - "to": "startEndUserBenchmark" - }, - { - "from": "stopBenchmarkRecording", - "to": "stopEndUserBenchmark" - }, - { - "from": "resetBenchmarkRecording", - "to": "resetEndUserBenchmark" - }, - { - "from": "saveBenchmarkRecording", - "to": "saveEndUserBenchmark" - }, - { - "from": "uiIsSingleplayerPauseMenuActive", - "to": "uiStartedEndUserBenchmark" - }, - { - "from": "landingMenuIsActive", - "to": "landingScreenStartedEndUserBenchmark" - }, - { - "from": "isCommandLineBenchmarkValueSet", - "to": "isCommandlineEndUserBenchmark" - }, - { - "from": "getBenchmarkIterationsFromCommandLine", - "to": "getBenchmarkIterations" - }, - { - "from": "getBenchmarkPassFromCommandLine", - "to": "getBenchmarkPass" - }, - { - "from": "forceSocialClubUpdate", - "to": "quitGame" - }, - { - "from": "isInPowerSavingMode", - "to": "plmIsInConstrainedMode" - }, - { - "from": "getPowerSavingModeDuration", - "to": "plmGetConstrainedDurationMs" - }, - { - "from": "setPlayerRockstarEditorDisabled", - "to": "setPlayerIsRepeatingAMission" - }, - { - "from": "_0x23227DF0B2115469", - "to": "disableScreenDimmingThisFrame" - }, - { - "from": "_0xD10282B6E3751BA0", - "to": "getCityDensity" - }, - { - "from": "_0x693478ACBD7F18E7", - "to": "useActiveCameraForTimeslicingCentre" - }, - { - "from": "setMobilePhoneUnk", - "to": "setMobilePhoneDofState" - }, - { - "from": "cellCamMoveFinger", - "to": "cellSetInput" - }, - { - "from": "cellCamSetLean", - "to": "cellHorizontalModeToggle" - }, - { - "from": "cellCamDisableThisFrame", - "to": "cellCamActivateSelfieMode" - }, - { - "from": "_0xA2CCBE62CD4C91A4", - "to": "cellCamActivateShallowDofMode" - }, - { - "from": "_0x1B0B4AEED5B9B41C", - "to": "cellCamSetSelfieModeSideOffsetScaling" - }, - { - "from": "_0x53F4892D18EC90A4", - "to": "cellCamSetSelfieModeHorzPanOffset" - }, - { - "from": "_0x3117D84EFA60F77B", - "to": "cellCamSetSelfieModeVertPanOffset" - }, - { - "from": "_0x15E69E2802C24B8D", - "to": "cellCamSetSelfieModeRollOffset" - }, - { - "from": "_0xAC2890471901861C", - "to": "cellCamSetSelfieModeDistanceScaling" - }, - { - "from": "_0xD6ADE981781FCA09", - "to": "cellCamSetSelfieModeHeadYawOffset" - }, - { - "from": "_0xF1E22DC13F5EEBAD", - "to": "cellCamSetSelfieModeHeadRollOffset" - }, - { - "from": "_0x466DA42C89865553", - "to": "cellCamSetSelfieModeHeadPitchOffset" - }, - { - "from": "networkGetIsHighEarner", - "to": "networkGetPlayerIsHighEarner" - }, - { - "from": "networkCasinoCanUseGamblingType", - "to": "networkCasinoCanBet" - }, - { - "from": "networkCasinoCanPurchaseChipsWithPvc", - "to": "networkCasinoCanBetPvc" - }, - { - "from": "networkCasinoCanGamble", - "to": "networkCasinoCanBetAmount" - }, - { - "from": "networkCasinoCanPurchaseChipsWithPvc2", - "to": "networkCasinoCanBuyChipsPvc" - }, - { - "from": "networkCasinoPurchaseChips", - "to": "networkCasinoBuyChips" - }, - { - "from": "_0xCD0F5B5D932AE473", - "to": "networkDeferCashTransactionsUntilShopSave" - }, - { - "from": "canPayGoon", - "to": "canPayAmountToBoss" - }, - { - "from": "networkEarnFromGangPickup", - "to": "networkEarnFromGangattackPickup" - }, - { - "from": "networkEarnFromAssassinateTargetKilled", - "to": "networkEarnAssassinateTargetKilled" - }, - { - "from": "networkEarnFromArmourTruck", - "to": "networkEarnFromRobArmoredCars" - }, - { - "from": "networkEarnFromJobX2", - "to": "networkEarnFromJobx2" - }, - { - "from": "networkEarnFromCriminalMastermindBonus", - "to": "networkEarnFromCriminalMastermind" - }, - { - "from": "networkEarnJobBonusHeistAward", - "to": "networkEarnHeistAward" - }, - { - "from": "networkEarnJobBonusFirstTimeBonus", - "to": "networkEarnFirstTimeBonus" - }, - { - "from": "networkEarnBossAgency", - "to": "networkEarnAgency" - }, - { - "from": "_0x6B7E4FB50D5F3D65", - "to": "networkEarnFromSmugglerWork" - }, - { - "from": "_0x31BA138F6304FB9F", - "to": "networkEarnFromHangarTrade" - }, - { - "from": "_0x55A1E095DB052FA5", - "to": "networkEarnPurchaseClubHouse" - }, - { - "from": "networkEarnFromSmuggling", - "to": "networkEarnSmugglerAgency" - }, - { - "from": "_0x9B5016A6433A68C5", - "to": "networkSpendEarnedFromBankAndWallets" - }, - { - "from": "_0xCD4D66B43B1DD28D", - "to": "networkSpentMoveSubmarine" - }, - { - "from": "_0x7C4FCCD2E4DEB394", - "to": "networkEconomyHasFixedCrazyNumbers" - }, - { - "from": "networkSpentBoss", - "to": "networkSpentBossGoon" - }, - { - "from": "networkSpentPayGoon", - "to": "networkSpendGoon" - }, - { - "from": "networkSpentPayBoss", - "to": "networkSpendBoss" - }, - { - "from": "networkBuyContraband", - "to": "networkBuyContrabandMission" - }, - { - "from": "_0x112209CE0290C03A", - "to": "networkSpentPaServiceHeli" - }, - { - "from": "_0xED5FD7AF10F5E262", - "to": "networkSpentPaServiceVehicle" - }, - { - "from": "_0x0D30EB83668E63C5", - "to": "networkSpentPaServiceSnack" - }, - { - "from": "_0xE23ADC6FCB1F29AE", - "to": "networkSpentPaServiceImpound" - }, - { - "from": "networkSpentPaServiceHeliPickup", - "to": "networkSpentPaHeliPickup" - }, - { - "from": "_0x69EF772B192614C1", - "to": "networkSpentPurchaseOfficeProperty" - }, - { - "from": "_0x8E243837643D9583", - "to": "networkSpentUpgradeOfficeProperty" - }, - { - "from": "_0xBD0EFB25CCA8F97A", - "to": "networkSpentPurchaseWarehouseProperty" - }, - { - "from": "_0xA95F667A755725DA", - "to": "networkSpentUpgradeWarehouseProperty" - }, - { - "from": "networkSpentPurchaseWarehouse", - "to": "networkSpentPurchaseImpexpWarehouseProperty" - }, - { - "from": "_0x4128464231E3CA0B", - "to": "networkSpentUpgradeImpexpWarehouseProperty" - }, - { - "from": "_0x2FAB6614CE22E196", - "to": "networkSpentTradeImpexpWarehouseProperty" - }, - { - "from": "_0x998E18CEB44487FC", - "to": "networkSpentPurchaseClubHouse" - }, - { - "from": "_0xFA07759E6FDDD7CF", - "to": "networkSpentUpgradeClubHouse" - }, - { - "from": "_0x6FD97159FE3C971A", - "to": "networkSpentPurchaseBusinessProperty" - }, - { - "from": "_0x675D19C6067CAE08", - "to": "networkSpentUpgradeBusinessProperty" - }, - { - "from": "_0xA51B086B0B2C0F7A", - "to": "networkSpentTradeBusinessProperty" - }, - { - "from": "networkSpentBaService", - "to": "networkSpentMcAbility" - }, - { - "from": "networkSpentBusiness", - "to": "networkSpentPayBusinessSupplies" - }, - { - "from": "_0x5F456788B05FAEAC", - "to": "networkSpentChangeAppearance" - }, - { - "from": "_0xB4C2EC463672474E", - "to": "networkSpentPurchaseOfficeGarage" - }, - { - "from": "_0x2AFC2D19B50797F2", - "to": "networkSpentUpgradeOfficeGarage" - }, - { - "from": "networkSpentUpgradeBunker", - "to": "networkSpentUpradeBunker" - }, - { - "from": "networkEarnFromRdrBonus", - "to": "networkEarnRdrBonus" - }, - { - "from": "networkEarnFromWagePayment", - "to": "networkEarnWagePayment" - }, - { - "from": "networkEarnFromWagePaymentBonus", - "to": "networkEarnWagePaymentBonus" - }, - { - "from": "networkSpentGangopsCannon", - "to": "networkSpendGangopsCannon" - }, - { - "from": "networkSpentGangopsStartMission", - "to": "networkSpendGangopsSkipMission" - }, - { - "from": "networkSpentCasinoHeistSkipMission", - "to": "networkSpendCasinoHeistSkipMission" - }, - { - "from": "networkEarnFromSellBase", - "to": "networkEarnSellBase" - }, - { - "from": "networkEarnFromTargetRefund", - "to": "networkEarnTargetRefund" - }, - { - "from": "networkEarnFromGangopsWages", - "to": "networkEarnGangopsWages" - }, - { - "from": "networkEarnFromGangopsWagesBonus", - "to": "networkEarnGangopsWagesBonus" - }, - { - "from": "networkEarnFromDarChallenge", - "to": "networkEarnDarChallenge" - }, - { - "from": "networkEarnFromDoomsdayFinaleBonus", - "to": "networkEarnDoomsdayFinaleBonus" - }, - { - "from": "networkEarnFromGangopsAwards", - "to": "networkEarnGangopsAward" - }, - { - "from": "networkEarnFromGangopsElite", - "to": "networkEarnGangopsElite" - }, - { - "from": "networkRivalDeliveryCompleted", - "to": "networkServiceEarnGangopsRivalDelivery" - }, - { - "from": "networkSpentGangopsStartStrand", - "to": "networkSpendGangopsStartStrand" - }, - { - "from": "networkSpentGangopsTripSkip", - "to": "networkSpendGangopsTripSkip" - }, - { - "from": "networkEarnFromGangopsJobsPrepParticipation", - "to": "networkEarnGangopsPrepParticipation" - }, - { - "from": "networkEarnFromGangopsJobsSetup", - "to": "networkEarnGangopsSetup" - }, - { - "from": "networkEarnFromGangopsJobsFinale", - "to": "networkEarnGangopsFinale" - }, - { - "from": "_0x2A7CEC72C3443BCC", - "to": "networkSpendGangopsRepairCost" - }, - { - "from": "_0xE0F82D68C7039158", - "to": "networkEarnNightclub" - }, - { - "from": "_0xB4DEAE67F35E2ACD", - "to": "networkEarnNightclubDancing" - }, - { - "from": "networkEarnFromBbEventBonus", - "to": "networkEarnBbEventBonus" - }, - { - "from": "_0x2A93C46AAB1EACC9", - "to": "networkSpentPurchaseHackerTruck" - }, - { - "from": "_0x226C284C830D0CA8", - "to": "networkSpentUpgradeHackerTruck" - }, - { - "from": "networkEarnFromHackerTruckMission", - "to": "networkEarnHackerTruck" - }, - { - "from": "_0xED76D195E6E3BF7F", - "to": "networkSpentPurchaseNightclubAndWarehouse" - }, - { - "from": "_0x1DC9B749E7AE282B", - "to": "networkSpentUpgradeNightclubAndWarehouse" - }, - { - "from": "_0xC6E74CF8C884C880", - "to": "networkEarnNightclubAndWarehouse" - }, - { - "from": "_0x65482BFD0923C8A1", - "to": "networkSpendNightclubAndWarehouse" - }, - { - "from": "networkSpentRdrhatchetBonus", - "to": "networkSpentRdrHatchetBonus" - }, - { - "from": "networkSpentNightclubBarDrink", - "to": "networkSpendNightclubBarDrink" - }, - { - "from": "networkSpentBountyHunterMission", - "to": "networkSpendBountyHunterMission" - }, - { - "from": "networkEarnFromArenaSkillLevelProgression", - "to": "networkEarnArenaSkillLevelProgression" - }, - { - "from": "networkEarnFromArenaCareerProgression", - "to": "networkEarnArenaCareerProgression" - }, - { - "from": "networkSpentMakeItRain", - "to": "networkSpendMakeItRain" - }, - { - "from": "networkSpentBuyArena", - "to": "networkSpendBuyArena" - }, - { - "from": "networkSpentUpgradeArena", - "to": "networkSpendUpgradeArena" - }, - { - "from": "networkSpentArenaSpectatorBox", - "to": "networkSpendArenaSpectatorBox" - }, - { - "from": "networkSpentSpinTheWheelPayment", - "to": "networkSpendSpinTheWheelPayment" - }, - { - "from": "networkEarnFromSpinTheWheelCash", - "to": "networkEarnSpinTheWheelCash" - }, - { - "from": "networkSpentArenaPremium", - "to": "networkSpendArenaPremium" - }, - { - "from": "networkEarnFromArenaWar", - "to": "networkEarnArenaWar" - }, - { - "from": "networkEarnFromAssassinateTargetKilled2", - "to": "networkEarnArenaWarAssassinateTarget" - }, - { - "from": "networkEarnFromBbEventCargo", - "to": "networkEarnArenaWarEventCargo" - }, - { - "from": "networkEarnFromRcTimeTrial", - "to": "networkEarnRcTimeTrial" - }, - { - "from": "networkEarnFromDailyObjectiveEvent", - "to": "networkEarnDailyObjectiveEvent" - }, - { - "from": "networkSpentCasinoMembership", - "to": "networkSpendCasinoMembership" - }, - { - "from": "networkSpentBuyCasino", - "to": "networkSpendBuyCasino" - }, - { - "from": "networkSpentUpgradeCasino", - "to": "networkSpendUpgradeCasino" - }, - { - "from": "networkSpentCasinoGeneric", - "to": "networkSpendCasinoGeneric" - }, - { - "from": "networkEarnFromTimeTrialWin", - "to": "networkEarnCasinoTimeTrialWin" - }, - { - "from": "networkEarnFromCollectablesActionFigures", - "to": "networkEarnCollectablesActionFigures" - }, - { - "from": "networkEarnFromCompleteCollection", - "to": "networkEarnCasinoCollectableCompletedCollection" - }, - { - "from": "networkEarnFromSellingVehicle", - "to": "networkEarnSellPrizeVehicle" - }, - { - "from": "networkEarnFromCasinoMissionReward", - "to": "networkEarnCasinoMissionReward" - }, - { - "from": "networkEarnFromCasinoStoryMissionReward", - "to": "networkEarnCasinoStoryMissionReward" - }, - { - "from": "networkEarnFromCasinoMissionParticipation", - "to": "networkEarnCasinoMissionParticipation" - }, - { - "from": "networkEarnFromCasinoAward", - "to": "networkEarnCasinoAward" - }, - { - "from": "_0x870289A558348378", - "to": "networkSpendBuyArcade" - }, - { - "from": "_0x5574637681911FDA", - "to": "networkSpendUpgradeArcade" - }, - { - "from": "networkSpentCasinoHeist", - "to": "networkSpendCasinoHeist" - }, - { - "from": "_0xB5B58E24868CB09E", - "to": "networkSpendArcadeMgmt" - }, - { - "from": "networkSpentArcadeGame", - "to": "networkSpendPlayArcade" - }, - { - "from": "networkSpentArcadeGeneric", - "to": "networkSpendArcade" - }, - { - "from": "_0x4C3B75694F7E0D9C", - "to": "networkEarnUpgradeArcade" - }, - { - "from": "_0xD29334ED1A256DBF", - "to": "networkEarnArcade" - }, - { - "from": "_0xA95CFB4E02390842", - "to": "networkEarnCollectables" - }, - { - "from": "_0x0DD362F14F18942A", - "to": "networkEarnChallenge" - }, - { - "from": "networkEarnCasinoHeistBonus", - "to": "networkEarnCasinoHeistAwards" - }, - { - "from": "networkEarnFromCollectionItem", - "to": "networkEarnCollectableItem" - }, - { - "from": "_0xDE68E30D89F97132", - "to": "networkEarnYatchMission" - }, - { - "from": "_0xE2E244AB823B4483", - "to": "networkEarnDispatchCall" - }, - { - "from": "networkSpentBeachPartyGeneric", - "to": "networkSpendBeachParty" - }, - { - "from": "networkSpentSubmarine", - "to": "networkSpendSubmarine" - }, - { - "from": "networkSpentCasinoClubGeneric", - "to": "networkSpendCasinoClub" - }, - { - "from": "_0x90CD7C6871FBF1B4", - "to": "networkSpendBuySub" - }, - { - "from": "networkSpentUpgradeSub", - "to": "networkSpendUpgradeSub" - }, - { - "from": "networkSpentIslandHeist", - "to": "networkSpendIslandHeist" - }, - { - "from": "_0xA51338E0DCCD4065", - "to": "networkEarnBeachPartyLostFound" - }, - { - "from": "_0xE2BB399D90942091", - "to": "networkEarnFromIslandHeistDjMission" - }, - { - "from": "networkSpentCarclubMembership", - "to": "networkSpendCarClubMembership" - }, - { - "from": "networkSpentCarclub", - "to": "networkSpendCarClubBar" - }, - { - "from": "networkSpentAutoshopModifications", - "to": "networkSpendAutoshopModify" - }, - { - "from": "networkSpentCarclubTakeover", - "to": "networkSpendCarClubTakeover" - }, - { - "from": "networkSpentBuyAutoshop", - "to": "networkSpendBuyAutoshop" - }, - { - "from": "networkSpentUpgradeAutoshop", - "to": "networkSpendUpgradeAutoshop" - }, - { - "from": "networkEarnFromAutoshopBusiness", - "to": "networkEarnAutoshopBusiness" - }, - { - "from": "networkEarnFromAutoshopIncome", - "to": "networkEarnAutoshopIncome" - }, - { - "from": "networkEarnFromCarclubMembership", - "to": "networkEarnCarclubMembership" - }, - { - "from": "networkEarnFromVehicleAutoshop", - "to": "networkEarnDailyVehicle" - }, - { - "from": "networkEarnFromVehicleAutoshopBonus", - "to": "networkEarnDailyVehicleBonus" - }, - { - "from": "networkEarnFromTunerAward", - "to": "networkEarnTunerAward" - }, - { - "from": "networkEarnFromTunerFinale", - "to": "networkEarnTunerRobbery" - }, - { - "from": "networkEarnFromUpgradeAutoshopLocation", - "to": "networkEarnUpgradeAutoshop" - }, - { - "from": "networkSpentImAbility", - "to": "networkSpendInteractionMenuAbility" - }, - { - "from": "networkSpentFromBank", - "to": "networkSpendSetCommonFields" - }, - { - "from": "networkGetVcWalletBalanceIsNotLessThan", - "to": "networkGetCanSpendFromWallet" - }, - { - "from": "networkGetVcBankBalanceIsNotLessThan", - "to": "networkGetCanSpendFromBank" - }, - { - "from": "networkGetVcBankWalletBalanceIsNotLessThan", - "to": "networkGetCanSpendFromBankAndWallet" - }, - { - "from": "_0x08E8EEADFD0DC4A0", - "to": "networkGetCanTransferCash" - }, - { - "from": "_0xE154B48B68EF72BC", - "to": "hasVcWithdrawalCompleted" - }, - { - "from": "_0x6FCF8DDEA146C45B", - "to": "wasVcWithdrawalSuccessful" - }, - { - "from": "netGameserverCatalogItemExists", - "to": "netGameserverCatalogItemIsValid" - }, - { - "from": "netGameserverCatalogItemExistsHash", - "to": "netGameserverCatalogItemKeyIsValid" - }, - { - "from": "netGameserverCatalogIsReady", - "to": "netGameserverCatalogIsValid" - }, - { - "from": "netGameserverIsCatalogValid", - "to": "netGameserverIsCatalogCurrent" - }, - { - "from": "_0x85F6C9ABA1DE2BCF", - "to": "netGameserverGetCatalogCloudCrc" - }, - { - "from": "_0x357B152EF96C30B6", - "to": "netGameserverRefreshServerCatalog" - }, - { - "from": "netGameserverGetCatalogState", - "to": "netGameserverRetrieveCatalogRefreshStatus" - }, - { - "from": "_0xE3E5A7C64CA2C6ED", - "to": "netGameserverInitSession" - }, - { - "from": "_0x0395CB47B022E62C", - "to": "netGameserverRetrieveInitSessionStatus" - }, - { - "from": "_0x72EB7BA9B69BF6AB", - "to": "netGameserverStartSessionPending" - }, - { - "from": "_0x170910093218C8B9", - "to": "netGameserverRetrieveStartSessionStatus" - }, - { - "from": "_0xC13C38E47EA5DF31", - "to": "netGameserverRetrieveSessionErrorCode" - }, - { - "from": "_0x74A0FD0688F1EE45", - "to": "netGameserverClearSession" - }, - { - "from": "netGameserverGetBalance", - "to": "netGameserverStartSessionRestart" - }, - { - "from": "_0x613F125BA3BD2EB9", - "to": "netGameserverTransactionInProgress" - }, - { - "from": "netGameserverGetTransactionManagerData", - "to": "netGameserverGetSessionStateAndStatus" - }, - { - "from": "netGameserverBasketDelete", - "to": "netGameserverBasketEnd" - }, - { - "from": "netGameserverBasketEnd", - "to": "netGameserverBasketIsActive" - }, - { - "from": "netGameserverDeleteCharacterSlot", - "to": "netGameserverDeleteCharacter" - }, - { - "from": "netGameserverDeleteCharacterSlotGetStatus", - "to": "netGameserverDeleteCharacterGetStatus" - }, - { - "from": "netGameserverTransferCashGetStatus", - "to": "netGameserverTransferBankToWalletGetStatus" - }, - { - "from": "netGameserverTransferCashGetStatus2", - "to": "netGameserverTransferWalletToBankGetStatus" - }, - { - "from": "_0xBD545D44CCE70597", - "to": "networkIsNpAvailable" - }, - { - "from": "_0xEBCAB9E5048434F4", - "to": "networkIsNpPending" - }, - { - "from": "_0x74FB3E29E6D10FA9", - "to": "networkGetNpUnavailableReason" - }, - { - "from": "_0x7808619F31FF22DB", - "to": "networkIsConnetedToNpPresence" - }, - { - "from": "_0xA0FA4EC6A05DA44E", - "to": "networkIsLoggedInToPsn" - }, - { - "from": "_0x8D11E61A4ABF49CC", - "to": "networkIsRefreshingRosCredentials" - }, - { - "from": "_0x4237E822315D8BA9", - "to": "networkWasGameSuspended" - }, - { - "from": "networkHasAgeRestrictedProfile", - "to": "networkHasAgeRestrictions" - }, - { - "from": "_0x78321BEA235FD8CD", - "to": "networkCheckOnlinePrivileges" - }, - { - "from": "_0x07EAB372C8841D99", - "to": "networkCheckTextCommunicationPrivileges" - }, - { - "from": "_0x906CA41A4B74ECA4", - "to": "networkIsUsingOnlinePromotion" - }, - { - "from": "_0x023ACAB2DC9DC4A4", - "to": "networkShouldShowPromotionAlertScreen" - }, - { - "from": "_0x0CF6CC51AA18F0F8", - "to": "networkCheckPrivileges" - }, - { - "from": "_0x64E5C4CC82847B73", - "to": "networkIsPrivilegeCheckInProgress" - }, - { - "from": "_0x1F7BC3539F9E0224", - "to": "networkSetPrivilegeCheckResultNotNeeded" - }, - { - "from": "networkHaveOnlinePrivilege2", - "to": "networkHavePlatformSubscription" - }, - { - "from": "_0xA8ACB6459542A8C8", - "to": "networkIsPlatformSubscriptionCheckPending" - }, - { - "from": "_0x83FE8D7229593017", - "to": "networkShowAccountUpgradeUi" - }, - { - "from": "_0x53C10C8BD774F2C9", - "to": "networkNeedToStartNewGameButBlocked" - }, - { - "from": "_0x283B6062A2C01E9B", - "to": "networkOnReturnToSinglePlayer" - }, - { - "from": "_0x8B4FFC790CA131EF", - "to": "networkTransitionStart" - }, - { - "from": "networkTransitionTrack", - "to": "networkTransitionAddStage" - }, - { - "from": "_0x04918A41BC9B8157", - "to": "networkTransitionFinish" - }, - { - "from": "networkSessionEnter", - "to": "networkSessionDoFreeroamQuickmatch" - }, - { - "from": "networkSessionFriendMatchmaking", - "to": "networkSessionDoFriendMatchmaking" - }, - { - "from": "networkSessionCrewMatchmaking", - "to": "networkSessionDoCrewMatchmaking" - }, - { - "from": "networkSessionActivityQuickmatch", - "to": "networkSessionDoActivityQuickmatch" - }, - { - "from": "_0xB9351A07A0D458B1", - "to": "networkSessionLeave" - }, - { - "from": "_0x041C7F2A6C9894E6", - "to": "networkSessionReserveSlotsTransition" - }, - { - "from": "_0xF49ABC20D8552257", - "to": "networkSessionSetUniqueCrewLimit" - }, - { - "from": "_0x4811BBAC21C5FCD5", - "to": "networkSessionSetUniqueCrewLimitTransition" - }, - { - "from": "_0x5539C3EBF104A53A", - "to": "networkSessionSetUniqueCrewOnlyCrewsTransition" - }, - { - "from": "_0x702BC4D605522539", - "to": "networkSessionSetCrewLimitMaxMembersTransition" - }, - { - "from": "_0x59D421683D31835A", - "to": "networkSessionSetNumBosses" - }, - { - "from": "_0x1153FA02A659051C", - "to": "networkSessionSetScriptValidateJoin" - }, - { - "from": "_0x600F8CB31C7AAB6E", - "to": "networkSessionSetGamemode" - }, - { - "from": "networkGetTargetingMode", - "to": "networkSessionGetHostAimPreference" - }, - { - "from": "_0xC42DD763159F3461", - "to": "networkHasConfirmedInvite" - }, - { - "from": "networkAcceptInvite", - "to": "networkRequestInviteConfirmedEvent" - }, - { - "from": "_0xD313DE83394AF134", - "to": "networkSessionIsAwaitingInviteResponse" - }, - { - "from": "_0xBDB6F89C729CF388", - "to": "networkSessionIsDisplayingInviteConfirmation" - }, - { - "from": "_0xF814FEC6A19FD6E0", - "to": "networkStoreInviteThroughRestart" - }, - { - "from": "networkBlockKickedPlayers", - "to": "networkAllowInviteProcessInPlayerSwitch" - }, - { - "from": "_0x4C9034162368E206", - "to": "networkGetGameMode" - }, - { - "from": "_0xB5D3453C98456528", - "to": "networkSessionIsVoiceSessionActive" - }, - { - "from": "_0x0E4F77F7B9D74D84", - "to": "networkSetActivityPlayerMax" - }, - { - "from": "_0x1888694923EF4591", - "to": "networkClearGroupActivity" - }, - { - "from": "_0xB13E88E655E5A3BC", - "to": "networkRetainActivityGroup" - }, - { - "from": "_0x617F49C2668E6155", - "to": "networkGetNumTransitionNonAsyncGamers" - }, - { - "from": "_0x261E97AD7BCF3D40", - "to": "networkMarkAsPreferredActivity" - }, - { - "from": "_0x39917E1B4CB0F911", - "to": "networkMarkAsWaitingAsync" - }, - { - "from": "_0x2CE9D95E4051AECD", - "to": "networkSetInProgressFinishTime" - }, - { - "from": "_0xA2E9C1AB8A92E8CD", - "to": "networkSetDoNotLaunchFromJoinAsMigratedHost" - }, - { - "from": "_0xC571D0E77D8BBC29", - "to": "networkIsTransitionLeavePostponed" - }, - { - "from": "_0x1398582B7F72B3ED", - "to": "networkTransitionSetInProgress" - }, - { - "from": "_0x1F8E00FB18239600", - "to": "networkTransitionSetContentCreator" - }, - { - "from": "_0xF6F4383B7C92F11A", - "to": "networkTransitionSetActivityIsland" - }, - { - "from": "_0x973D76AA760A6CB6", - "to": "networkTransitionBlockJoinRequests" - }, - { - "from": "_0x3F9990BF5F22759C", - "to": "networkHasTransitionInviteBeenAcked" - }, - { - "from": "_0x4A9FDE3A5A6D0437", - "to": "networkSetPresenceSessionInvitesBlocked" - }, - { - "from": "networkSendPresenceTransitionInvite", - "to": "networkSendTransitionInviteViaPresence" - }, - { - "from": "_0x1171A97A3D3981B6", - "to": "networkSendImportantTransitionInviteViaPresence" - }, - { - "from": "_0x742B58F723233ED9", - "to": "networkGetPresenceInviteIndexById" - }, - { - "from": "_0xEBF8284D8CADEB53", - "to": "networkRemoveAndCancelAllInvites" - }, - { - "from": "_0xF083835B70BA9BFE", - "to": "networkRemoveAndCancelAllTransitionInvites" - }, - { - "from": "_0x71DC455F5CD1C2B1", - "to": "networkHasMadeInviteDecision" - }, - { - "from": "_0x3855FB5EB2C5E8B2", - "to": "networkGetInviteReplyStatus" - }, - { - "from": "_0x4AD490AE1536933B", - "to": "networkCheckDataManagerForHandle" - }, - { - "from": "_0x0D77A82DC2D0DA59", - "to": "networkSetInviteFailedMessageForInviteMenu" - }, - { - "from": "networkGetPlatformPartyUnk", - "to": "networkGetPlatformPartyMemberCount" - }, - { - "from": "_0x2BF66D2E7414F686", - "to": "networkCanQueueForPreviousSessionJoin" - }, - { - "from": "_0x14922ED3E38761F0", - "to": "networkIsQueuingForSessionJoin" - }, - { - "from": "_0x6CE50E47F5543D0C", - "to": "networkClearQueuedJoinRequest" - }, - { - "from": "_0xFA2888E3833C8E96", - "to": "networkSendQueuedJoinRequest" - }, - { - "from": "_0x25D990F8E0E3F13C", - "to": "networkRemoveAllQueuedJoinRequests" - }, - { - "from": "triggerScriptCrcCheckOnPlayer", - "to": "triggerPlayerCrcHackerCheck" - }, - { - "from": "_0xA12D3A5A3753CC23", - "to": "triggerTuningCrcHackerCheck" - }, - { - "from": "_0xF287F506767CC8A9", - "to": "triggerFileCrcHackerCheck" - }, - { - "from": "remoteCheatDetected", - "to": "remoteCheaterPlayerDetected" - }, - { - "from": "networkIsThisScriptMarked", - "to": "networkTryToSetThisScriptIsNetworkScript" - }, - { - "from": "_0xEA8C0DDB10E2822A", - "to": "networkRegisterHighFrequencyHostBroadcastVariables" - }, - { - "from": "_0xD6D7478CA62B8D41", - "to": "networkRegisterHighFrequencyPlayerBroadcastVariables" - }, - { - "from": "_0x560B423D73015E77", - "to": "networkIsThreadANetworkScript" - }, - { - "from": "_0x2302C0264EA58D31", - "to": "networkPreventScriptHostMigration" - }, - { - "from": "_0x741A3D8380319A81", - "to": "networkRequestToBeHostOfThisScript" - }, - { - "from": "_0x2DA41ED6E1FCD7A5", - "to": "networkGetKillerOfPlayer" - }, - { - "from": "_0xC434133D9BA52777", - "to": "networkGetDestroyerOfEntity" - }, - { - "from": "_0x83660B734994124D", - "to": "networkGetAssistedKillOfEntity" - }, - { - "from": "networkGetDestroyerOfEntity", - "to": "networkGetAssistedDamageOfEntity" - }, - { - "from": "networkPedForceGameStateUpdate", - "to": "networkPatchPostCutsceneHs4fTunEnt" - }, - { - "from": "networkIsNetworkIdAClone", - "to": "networkIsNetworkIdRemotelyControlled" - }, - { - "from": "networkGetEntityNetScriptId", - "to": "networkEntityGetObjectId" - }, - { - "from": "_0x37D5F739FD494675", - "to": "networkGetEntityFromObjectId" - }, - { - "from": "networkGetFriendNameFromIndex", - "to": "networkGetFriendDisplayName" - }, - { - "from": "_0x4C2A9FDC22377075", - "to": "networkIgnoreRemoteWaypoints" - }, - { - "from": "_0xB309EBEA797E001F", - "to": "networkSetScriptAutomuted" - }, - { - "from": "_0x26F07DD83A5F7F98", - "to": "networkHasAutomuteOverride" - }, - { - "from": "_0x7D395EA61622E116", - "to": "networkSetLookAtTalkers" - }, - { - "from": "networkIsLocalTalking", - "to": "networkIsPushToTalkActive" - }, - { - "from": "networkCanCommunicateWithGamer2", - "to": "networkCanCommunicateWithGamer" - }, - { - "from": "networkCanCommunicateWithGamer", - "to": "networkCanTextChatWithGamer" - }, - { - "from": "_0xCFEB46DCD7D8D5EB", - "to": "networkRemainInGameChat" - }, - { - "from": "_0x265559DA40B3F327", - "to": "networkSetScriptControllingTeams" - }, - { - "from": "_0x4348BFDA56023A2F", - "to": "networkSetSameTeamAsLocalPlayer" - }, - { - "from": "_0x3C5C1E2C2FF814B1", - "to": "networkSetOverrideTutorialSessionChat" - }, - { - "from": "_0x9D7AFCBF21C51712", - "to": "networkSetProximityAffectsTeam" - }, - { - "from": "_0x6A5D89D7769A40D8", - "to": "networkSetIgnoreSpectatorChatLimitsSameTeam" - }, - { - "from": "_0x5E3AA4CA2B6FB0EE", - "to": "networkEnableVoiceBandwidthRestriction" - }, - { - "from": "_0xCA575C391FEA25CC", - "to": "networkDisableVoiceBandwidthRestriction" - }, - { - "from": "_0xADB57E5B663CCA8B", - "to": "networkGetMuteCountForPlayer" - }, - { - "from": "_0x8EF52ACAECC51D9C", - "to": "networkSetSpectatorToNonSpectatorTextChat" - }, - { - "from": "networkIsTextChatActive", - "to": "networkTextChatIsTyping" - }, - { - "from": "_0x17C9E241111A674D", - "to": "networkKeepEntityCollisionDisabledAfterAnimScene" - }, - { - "from": "_0x2E4C123D1C8A710E", - "to": "networkIsAnyPlayerNear" - }, - { - "from": "networkClanAnimation", - "to": "networkClanCrewinfoGetStringValue" - }, - { - "from": "_0x2B51EDBEFC301339", - "to": "networkClanCrewinfoGetCrewranktitle" - }, - { - "from": "_0xC32EA7A2F6CA7557", - "to": "networkClanHasCrewinfoMetadataBeenReceived" - }, - { - "from": "_0x9D724B400A7E8FFC", - "to": "setNetworkIdCanBeReassigned" - }, - { - "from": "_0x0379DAF89BA09AA5", - "to": "networkSetObjectCanBlendWhenFixed" - }, - { - "from": "networkSetEntityInvisibleToNetwork", - "to": "networkSetEntityOnlyExistsForParticipants" - }, - { - "from": "_0x32EBD154CB6B8B99", - "to": "setNetworkIdVisibleInCutsceneHack" - }, - { - "from": "_0x76B3F29D3F967692", - "to": "setNetworkIdVisibleInCutsceneRemainHack" - }, - { - "from": "_0x3FA36981311FA4FF", - "to": "setNetworkIdPassControlInTutorial" - }, - { - "from": "reserveNetworkLocalObjects", - "to": "reserveLocalNetworkMissionObjects" - }, - { - "from": "reserveNetworkLocalPeds", - "to": "reserveLocalNetworkMissionPeds" - }, - { - "from": "reserveNetworkLocalVehicles", - "to": "reserveLocalNetworkMissionVehicles" - }, - { - "from": "_0xE16AA70CE9BEEDC3", - "to": "canRegisterMissionDoors" - }, - { - "from": "_0xE42D626EEC94E5D9", - "to": "getReservedMissionEntitiesInArea" - }, - { - "from": "_0xBA7F0B77D80A4EB7", - "to": "networkSetObjectScopeDistance" - }, - { - "from": "_0x0F1A4B45B7693B95", - "to": "networkAllowCloningWhileInTutorial" - }, - { - "from": "networkSetChoiceMigrateOptions", - "to": "networkSetAntagonisticToPlayer" - }, - { - "from": "_0xFAC18E7356BD3210", - "to": "networkHideProjectileInCutscene" - }, - { - "from": "setNetworkVehiclePositionUpdateMultiplier", - "to": "setNetworkVehicleMaxPositionDeltaMultiplier" - }, - { - "from": "setNetworkEnableVehiclePositionCorrection", - "to": "setNetworkEnableHighSpeedEdgeFallDetection" - }, - { - "from": "isEntityGhostedToLocalPlayer", - "to": "isEntityAGhost" - }, - { - "from": "_0x13F1FCB111B820B0", - "to": "setNonParticipantsOfThisScriptAsGhosts" - }, - { - "from": "setRelationshipToPlayer", - "to": "setRemotePlayerAsGhost" - }, - { - "from": "setGhostedEntityAlpha", - "to": "setGhostAlpha" - }, - { - "from": "resetGhostedEntityAlpha", - "to": "resetGhostAlpha" - }, - { - "from": "networkSetEntityGhostedWithOwner", - "to": "setEntityGhostedForGhostPlayers" - }, - { - "from": "_0xD7B6C73CAD419BCF", - "to": "setInvertGhosting" - }, - { - "from": "_0x7EF7649B64D7FF10", - "to": "isEntityInGhostCollision" - }, - { - "from": "_0xA5EAFE473E45C442", - "to": "networkAddPedToSynchronisedSceneWithIk" - }, - { - "from": "_0x45F35C0EDC33B03B", - "to": "networkAddMapEntityToSynchronisedScene" - }, - { - "from": "_0xC9B43A33D09CADA7", - "to": "networkForceLocalUseOfSyncedSceneCamera" - }, - { - "from": "_0x144DA052257AE7D8", - "to": "networkAllowRemoteSyncedSceneLocalPlayerRequests" - }, - { - "from": "_0xFB1F9381E80FA13F", - "to": "networkFindLargestBunchOfPlayers" - }, - { - "from": "_0xFB680D403909DC70", - "to": "networkAllowGangToJoinTutorialSession" - }, - { - "from": "_0xB37E4E6A2388CA7B", - "to": "networkWaitingPopClearTutorialSession" - }, - { - "from": "networkIsPlayerEqualToIndex", - "to": "networkArePlayersInSameTutorialSession" - }, - { - "from": "networkOverrideClockMillisecondsPerGameMinute", - "to": "networkOverrideClockRate" - }, - { - "from": "networkAddEntityDisplayedBoundaries", - "to": "networkAddClientEntityArea" - }, - { - "from": "_0x2B1C623823DB0D9D", - "to": "networkAddClientEntityAngledArea" - }, - { - "from": "_0x4DF7CFFF471A7FB1", - "to": "networkEntityAreaHaveAllReplied" - }, - { - "from": "_0xA6FCECCF4721D679", - "to": "networkSetCustomArenaBallParams" - }, - { - "from": "_0x95BAF97C82464629", - "to": "networkEntityUseHighPrecisionRotation" - }, - { - "from": "networkAllocateTunablesRegistrationDataMap", - "to": "networkAccessTunableModificationDetectionClear" - }, - { - "from": "networkRegisterTunableIntHash", - "to": "networkAccessTunableIntModificationDetectionRegistrationHash" - }, - { - "from": "networkRegisterTunableFloatHash", - "to": "networkAccessTunableFloatModificationDetectionRegistrationHash" - }, - { - "from": "networkRegisterTunableBoolHash", - "to": "networkAccessTunableBoolModificationDetectionRegistrationHash" - }, - { - "from": "_0x7DB53B37A2F211A0", - "to": "networkGetBoneIdOfFatalHit" - }, - { - "from": "networkGetNumBodyTrackers", - "to": "networkGetNumberBodyTrackerHits" - }, - { - "from": "_0x2E0BF682CC778D49", - "to": "networkHasBoneBeenHitByKiller" - }, - { - "from": "_0x0EDE326D47CD0F3E", - "to": "networkSetAttributeDamageToPlayer" - }, - { - "from": "networkSetVehicleWheelsDestructible", - "to": "networkTriggerDamageEventForZeroDamage" - }, - { - "from": "_0x38B7C51AB1EDC7D8", - "to": "networkTriggerDamageEventForZeroWeaponHash" - }, - { - "from": "_0x3FC795691834481D", - "to": "networkSetNoLongerNeeded" - }, - { - "from": "_0x2A5E0621DD815A9A", - "to": "networkExplodeHeli" - }, - { - "from": "_0xE6717E652B8C8D8A", - "to": "networkEnableExtraVehicleOrientationBlendChecks" - }, - { - "from": "_0x367EF5E2F439B4C6", - "to": "networkSetPlayerMentalState" - }, - { - "from": "_0x94538037EE44F5CF", - "to": "networkSetMinimumRankForMission" - }, - { - "from": "_0xB606E6CC59664972", - "to": "triggerCommerceDataFetch" - }, - { - "from": "_0x1D4DC17C38FEAFF0", - "to": "isCommerceDataFetchInProgress" - }, - { - "from": "_0x265635150FB0D82E", - "to": "delayMpStoreOpen" - }, - { - "from": "_0x444C4525ECE0A4B9", - "to": "resetStoreNetworkGameTracking" - }, - { - "from": "_0x59328EB08C5CEB2B", - "to": "isUserOldEnoughToAccessStore" - }, - { - "from": "_0xFAE628F1E9ADB239", - "to": "setLastViewedShopItem" - }, - { - "from": "_0x754615490A029508", - "to": "getUserPremiumAccess" - }, - { - "from": "_0x155467ACA0F55705", - "to": "getUserStarterAccess" - }, - { - "from": "_0x8B0C2964BA471961", - "to": "getContentToLoadType" - }, - { - "from": "_0x88B588B41FF7868E", - "to": "getIsLaunchFromLiveArea" - }, - { - "from": "_0x67FC09BC554A75E5", - "to": "getIsLiveAreaLaunchWithContent" - }, - { - "from": "clearLaunchParams", - "to": "clearServiceEventArguments" - }, - { - "from": "_0x9FEDF86898F100E9", - "to": "ugcIsCreating" - }, - { - "from": "_0x692D58DF40657E8C", - "to": "ugcQueryByCategory" - }, - { - "from": "ugcQueryRecentlyCreatedContent", - "to": "ugcQueryMostRecentlyCreatedContent" - }, - { - "from": "setBalanceAddMachine", - "to": "ugcGetGetByContentId" - }, - { - "from": "setBalanceAddMachines", - "to": "ugcGetGetByContentIds" - }, - { - "from": "_0xA7862BC5ED1DFD7E", - "to": "ugcGetMostRecentlyCreatedContent" - }, - { - "from": "_0x97A770BEEF227E2B", - "to": "ugcGetMostRecentlyPlayedContent" - }, - { - "from": "_0x5324A0E3E4CE3570", - "to": "ugcGetTopRatedContent" - }, - { - "from": "_0xC87E740D9F3872CC", - "to": "ugcWasQueryForceCancelled" - }, - { - "from": "_0x584770794D758C18", - "to": "ugcGetContentCreatorGamerHandle" - }, - { - "from": "_0x8C8D2739BA44AF0F", - "to": "ugcGetContentCreatedByLocalPlayer" - }, - { - "from": "_0xAEAB987727C5A8A4", - "to": "ugcGetContentIsUsingScNickname" - }, - { - "from": "_0x1D610EB0FEA716D9", - "to": "ugcGetContentHasLoResPhoto" - }, - { - "from": "_0x7FCC39C46C3C03BD", - "to": "ugcGetContentHasHiResPhoto" - }, - { - "from": "_0x2D5DC831176D0114", - "to": "ugcIsDescriptionRequestInProgress" - }, - { - "from": "_0xEBFA8D50ADDC54C4", - "to": "ugcHasDescriptionRequestFinished" - }, - { - "from": "_0x162C23CA83ED0A62", - "to": "ugcDidDescriptionRequestSucceed" - }, - { - "from": "_0x5A34CD9C3C5BEC44", - "to": "ugcReleaseCachedDescription" - }, - { - "from": "_0x68103E2247887242", - "to": "ugcReleaseAllCachedDescriptions" - }, - { - "from": "_0x45E816772E93A9DB", - "to": "ugcIsModifying" - }, - { - "from": "_0x793FF272D5B365F4", - "to": "ugcDidModifySucceed" - }, - { - "from": "_0xB746D20B17F2A229", - "to": "ugcGetCreatorsByUserId" - }, - { - "from": "_0x63B406D7884BFA95", - "to": "ugcHasQueryCreatorsFinished" - }, - { - "from": "_0x4D02279C83BE69FE", - "to": "ugcDidQueryCreatorsSucceed" - }, - { - "from": "ugcPoliciesMakePrivate", - "to": "ugcLoadOfflineQuery" - }, - { - "from": "_0xFD75DABC0957BF33", - "to": "ugcSetUsingOfflineContent" - }, - { - "from": "facebookSetHeistComplete", - "to": "facebookPostCompletedHeist" - }, - { - "from": "facebookSetCreateCharacterComplete", - "to": "facebookPostCreateCharacter" - }, - { - "from": "facebookSetMilestoneComplete", - "to": "facebookPostCompletedMilestone" - }, - { - "from": "facebookIsSendingData", - "to": "facebookHasPostCompleted" - }, - { - "from": "facebookDoUnkCheck", - "to": "facebookDidPostSucceed" - }, - { - "from": "facebookIsAvailable", - "to": "facebookCanPostToFacebook" - }, - { - "from": "_0x60EDD13EB3AC1FF3", - "to": "networkCheckRosLinkWentdownNotNet" - }, - { - "from": "networkShouldShowConnectivityTroubleshooting", - "to": "networkShouldShowStrictNatWarning" - }, - { - "from": "networkGetRosPrivilege9", - "to": "networkHaveScsPrivateMsgPriv" - }, - { - "from": "networkGetRosPrivilege24", - "to": "networkHasRosPrivilegePlayedLastGen" - }, - { - "from": "networkGetRosPrivilege25", - "to": "networkHasRosPrivilegeSpecialEditionContent" - }, - { - "from": "_0x36391F397731595D", - "to": "networkStartCommunicationPermissionsCheck" - }, - { - "from": "_0x9465E683B12D3F6B", - "to": "networkSkipRadioResetNextClose" - }, - { - "from": "_0xCA59CCAE5D01E4CE", - "to": "networkSkipRadioResetNextOpen" - }, - { - "from": "networkHasGameBeenAltered", - "to": "networkSkipRadioWarning" - }, - { - "from": "networkUpdatePlayerScars", - "to": "networkForceLocalPlayerScarSync" - }, - { - "from": "networkAllowLocalEntityAttachment", - "to": "networkAllowRemoteAttachmentModification" - }, - { - "from": "_0x6BFF5F84102DF80A", - "to": "networkShowChatRestrictionMsc" - }, - { - "from": "_0x5C497525F803486B", - "to": "networkShowPsnUgcRestriction" - }, - { - "from": "_0x6FB7BB3607D27FA2", - "to": "networkIsTitleUpdateRequired" - }, - { - "from": "_0x45A83257ED02D9BC", - "to": "networkQuitMpToDesktop" - }, - { - "from": "networkIsConnectionEndpointRelayServer", - "to": "networkIsConnectedViaRelay" - }, - { - "from": "networkGetAverageLatencyForPlayer", - "to": "networkGetAverageLatency" - }, - { - "from": "networkGetAverageLatencyForPlayer2", - "to": "networkGetAveragePing" - }, - { - "from": "networkGetAveragePacketLossForPlayer", - "to": "networkGetAveragePacketLoss" - }, - { - "from": "networkGetNumUnackedForPlayer", - "to": "networkGetNumUnackedReliables" - }, - { - "from": "networkGetUnreliableResendCountForPlayer", - "to": "networkGetUnreliableResendCount" - }, - { - "from": "networkGetOldestResendCountForPlayer", - "to": "networkGetHighestReliableResendCount" - }, - { - "from": "networkReportMyself", - "to": "networkReportCodeTamper" - }, - { - "from": "_0x64D779659BC37B19", - "to": "networkGetLastEntityPosReceivedOverNetwork" - }, - { - "from": "networkGetPlayerCoords", - "to": "networkGetLastPlayerPosReceivedOverNetwork" - }, - { - "from": "networkGetLastVelocityReceived", - "to": "networkGetLastVelReceivedOverNetwork" - }, - { - "from": "_0xAA5FAFCD2C5F5E47", - "to": "networkGetPredictedVelocity" - }, - { - "from": "_0xAEDF1BC1C133D6E3", - "to": "networkDumpNetIfConfig" - }, - { - "from": "_0x2555CF7DA5473794", - "to": "networkGetSignallingInfo" - }, - { - "from": "_0x6FD992C4A1C1B986", - "to": "networkGetNetStatisticsInfo" - }, - { - "from": "_0xDB663CC9FF3407A9", - "to": "networkGetPlayerAccountId" - }, - { - "from": "placeObjectOnGroundProperly2", - "to": "placeObjectOnGroundOrObjectProperly" - }, - { - "from": "_0xAFE24E4D29249E4A", - "to": "rotateObject" - }, - { - "from": "_0x2542269291C6AC84", - "to": "getHasObjectBeenCompletelyDestroyed" - }, - { - "from": "getObjectOffsetFromCoords", - "to": "getOffsetFromCoordAndHeadingInWorldCoords" - }, - { - "from": "doorControl", - "to": "setLockedUnstreamedInDoorOfType" - }, - { - "from": "_0x006E4B040ED37EC3", - "to": "playObjectAutoStartAnim" - }, - { - "from": "_0xE851471AEFC3374F", - "to": "doorSystemGetAutomaticDistance" - }, - { - "from": "_0xA85A21582451E951", - "to": "doorSystemSetDoorOpenForRaces" - }, - { - "from": "_0xC7F29CA00F46350E", - "to": "openAllBarriersForRace" - }, - { - "from": "_0x701FDA1E82076BA4", - "to": "closeAllBarriersForRace" - }, - { - "from": "clearGarageArea", - "to": "clearGarage" - }, - { - "from": "_0x659F9D71F52843F8", - "to": "disableTidyingUpInGarage" - }, - { - "from": "_0x66A49D021870FE88", - "to": "closeSafehouseGarages" - }, - { - "from": "_0xE05F6AEEFEB0BB02", - "to": "damageObjectFragmentChild" - }, - { - "from": "_0xF9C1681347C8BD15", - "to": "fixObjectFragment" - }, - { - "from": "_0xC6033D32241F6FB5", - "to": "setObjectIsSpecialGolfball" - }, - { - "from": "_0xEB6F1A9B5510A5D2", - "to": "setObjectTakesDamageFromCollidingWithBuildings" - }, - { - "from": "setUnkGlobalBoolRelatedToDamage", - "to": "allowDamageEventsForNonNetworkedObjects" - }, - { - "from": "setCreateWeaponObjectLightSource", - "to": "setCutscenesWeaponFlashlightOnThisFrame" - }, - { - "from": "_0x394CD08E31313C28", - "to": "forcePickupRotateFaceUp" - }, - { - "from": "_0x826D1EE4D1CAFC78", - "to": "setCustomPickupWeaponHash" - }, - { - "from": "_0x1E3F1B1B891A2AAA", - "to": "blockPlayersForAmbientPickup" - }, - { - "from": "hidePickup", - "to": "hidePortablePickupWhenDetached" - }, - { - "from": "_0xD4A7A435B3710D05", - "to": "addExtendedPickupProbeArea" - }, - { - "from": "_0xB7C6D80FB371659A", - "to": "clearExtendedPickupProbeAreas" - }, - { - "from": "_0x8DCA505A5C196F05", - "to": "suppressPickupSoundForPickup" - }, - { - "from": "isObjectAPortablePickup", - "to": "isObjectAPickup" - }, - { - "from": "isObjectAPickup", - "to": "isObjectAPortablePickup" - }, - { - "from": "toggleUsePickupsForPlayer", - "to": "setPlayerPermittedToCollectPickupsOfType" - }, - { - "from": "setLocalPlayerCanUsePickupsWithThisModel", - "to": "setLocalPlayerPermittedToCollectPickupsWithModel" - }, - { - "from": "_0xFDC07C58E8AAB715", - "to": "allowAllPlayersToCollectPickupsOfType" - }, - { - "from": "_0x27F248C3FEBFAAD3", - "to": "setPickupObjectGlowWhenUncollectable" - }, - { - "from": "_0x0596843B34B95CE5", - "to": "setPickupGlowOffset" - }, - { - "from": "_0xA08FE5E49BDC39DD", - "to": "setPickupObjectGlowOffset" - }, - { - "from": "_0x62454A641B41F3C5", - "to": "setObjectGlowInSameTeam" - }, - { - "from": "_0x39A5FB7EAF150840", - "to": "setPickupObjectArrowMarker" - }, - { - "from": "_0x834344A414C7C85D", - "to": "allowPickupArrowMarkerWhenUncollectable" - }, - { - "from": "_0xDB41D07A45A6D4B7", - "to": "getDefaultAmmoForWeaponPickup" - }, - { - "from": "_0x31F924B53EADDF65", - "to": "setOnlyAllowAmmoCollectionWhenLow" - }, - { - "from": "_0x858EC9FD25DE04AA", - "to": "setPickupTransparentWhenUncollectable" - }, - { - "from": "_0x8881C98A31117998", - "to": "setPickupObjectTransparentWhenUncollectable" - }, - { - "from": "_0x8CFF648FBD7330F1", - "to": "setPickupObjectAlphaWhenTransparent" - }, - { - "from": "_0x46F3ADD1E2D5BAF2", - "to": "setPortablePickupPersist" - }, - { - "from": "_0x641F272B52E2F0F8", - "to": "allowPortablePickupToMigrateToNonParticipants" - }, - { - "from": "_0x4C134B4DF76025D0", - "to": "forceActivatePhysicsOnUnfixedPickup" - }, - { - "from": "_0xAA059C615DE9DD03", - "to": "allowPickupByNoneParticipant" - }, - { - "from": "_0xF92099527DB8E2A7", - "to": "suppressPickupRewardType" - }, - { - "from": "_0xA2C1F5E92AFE49ED", - "to": "clearAllPickupRewardTypeSuppression" - }, - { - "from": "_0x762DB2D380B48D04", - "to": "clearPickupRewardTypeSuppression" - }, - { - "from": "_0x7813E8B8C4AE4799", - "to": "setPickupObjectCollectableInVehicle" - }, - { - "from": "_0xBFFE53AE7E67FCDC", - "to": "setPickupTrackDamageEvents" - }, - { - "from": "_0xD05A3241B9A86F19", - "to": "setEntityFlagSuppressShadow" - }, - { - "from": "_0xB2D0BDE54F0E8E5A", - "to": "setEntityFlagRenderSmallShadow" - }, - { - "from": "getPickupHashFromWeapon", - "to": "getPickupTypeFromWeaponHash" - }, - { - "from": "getObjectTextureVariation", - "to": "getObjectTintIndex" - }, - { - "from": "setObjectTextureVariation", - "to": "setObjectTintIndex" - }, - { - "from": "setTextureVariationOfClosestObjectOfType", - "to": "setTintIndexClosestBuildingOfType" - }, - { - "from": "_0x31574B1B41268673", - "to": "setPropTintIndex" - }, - { - "from": "setObjectLightColor", - "to": "setPropLightColor" - }, - { - "from": "_0xADF084FB8F075D06", - "to": "isPropLightOverriden" - }, - { - "from": "_0x3B2FD68DB5F8331C", - "to": "setObjectIsVisibleInMirrors" - }, - { - "from": "setObjectStuntPropSpeedup", - "to": "setObjectSpeedBoostAmount" - }, - { - "from": "setObjectStuntPropDuration", - "to": "setObjectSpeedBoostDuration" - }, - { - "from": "getPickupHash", - "to": "convertOldPickupTypeToNew" - }, - { - "from": "markObjectForDeletion", - "to": "onlyCleanUpObjectWhenOutOfRange" - }, - { - "from": "_0x8CAAB2BD3EA58BD4", - "to": "setDisableCollisionsBetweenCarsAndCarParachute" - }, - { - "from": "_0x63ECF581BC70E363", - "to": "setProjectilesShouldExplodeOnContact" - }, - { - "from": "setEnableArenaPropPhysics", - "to": "setDriveArticulatedJoint" - }, - { - "from": "setEnableArenaPropPhysicsOnPed", - "to": "setDriveArticulatedJointWithInflictor" - }, - { - "from": "_0x734E1714D077DA9A", - "to": "setObjectIsAPressurePlate" - }, - { - "from": "_0x1A6CBB06E2D0D79D", - "to": "setWeaponImpactsApplyGreaterForce" - }, - { - "from": "getIsArenaPropPhysicsDisabled", - "to": "getIsArticulatedJointAtMinAngle" - }, - { - "from": "_0x3BD770D281982DB5", - "to": "getIsArticulatedJointAtMaxAngle" - }, - { - "from": "_0x1C57C94A6446492A", - "to": "setIsObjectArticulated" - }, - { - "from": "_0xB5B7742424BD4445", - "to": "setIsObjectBall" - }, - { - "from": "_0x5B73C77D9EB66E24", - "to": "setUseAdjustedMouseCoords" - }, - { - "from": "setControlNormal", - "to": "setControlValueNextFrame" - }, - { - "from": "_0xD7D22F5592AED8BA", - "to": "getControlHowLongAgo" - }, - { - "from": "isUsingKeyboard", - "to": "isUsingKeyboardAndMouse" - }, - { - "from": "isUsingKeyboard2", - "to": "isUsingCursor" - }, - { - "from": "setCursorLocation", - "to": "setCursorPosition" - }, - { - "from": "_0x23F09EADC01449D6", - "to": "isUsingRemotePlay" - }, - { - "from": "_0x6CD79468A1E595C6", - "to": "haveControlsChanged" - }, - { - "from": "getControlInstructionalButton", - "to": "getControlInstructionalButtonsString" - }, - { - "from": "getControlGroupInstructionalButton", - "to": "getControlGroupInstructionalButtonsString" - }, - { - "from": "_0xCB0360EFEFB2580D", - "to": "clearControlLightEffect" - }, - { - "from": "setPadShake", - "to": "setControlShake" - }, - { - "from": "_0x14D29BB12D47F68C", - "to": "setControlTriggerShake" - }, - { - "from": "stopPadShake", - "to": "stopControlShake" - }, - { - "from": "setPadShakeSuppressedId", - "to": "setControlShakeSuppressedId" - }, - { - "from": "_0xA0CEFCEA390AAB9B", - "to": "clearControlShakeSuppressedId" - }, - { - "from": "_0xE1615EC03B3BB4FD", - "to": "isMouseLookInverted" - }, - { - "from": "getLocalPlayerAimState2", - "to": "getLocalPlayerGamepadAimState" - }, - { - "from": "_0x25AAA32BDC98F2A3", - "to": "getIsUsingAlternateHandbrake" - }, - { - "from": "switchToInputMappingScheme", - "to": "initPcScriptedControls" - }, - { - "from": "switchToInputMappingScheme2", - "to": "switchPcScriptedControls" - }, - { - "from": "resetInputMappingScheme", - "to": "shutdownPcScriptedControls" - }, - { - "from": "setAllPathsCacheBoundingstruct", - "to": "setAllowStreamPrologueNodes" - }, - { - "from": "setAiGlobalPathNodesType", - "to": "setAllowStreamHeistIslandNodes" - }, - { - "from": "requestPathsPreferAccurateBoundingstruct", - "to": "requestPathNodesInAreaThisFrame" - }, - { - "from": "_0xAA76052DDA9BFC3E", - "to": "adjustAmbientPedSpawnDensitiesThisFrame" - }, - { - "from": "setIgnoreSecondaryRouteNodes", - "to": "setIgnoreNoGpsFlagUntilFirstNormalNode" - }, - { - "from": "_0xF3162836C28F9DA5", - "to": "getPosAlongGpsTypeRoute" - }, - { - "from": "getRoadSidePointWithHeading", - "to": "getRoadBoundaryUsingHeading" - }, - { - "from": "getPointOnRoadSide", - "to": "getPositionBySideOfRoad" - }, - { - "from": "isNavmeshRequiredRegionOwnedByAnyThread", - "to": "isNavmeshRequiredRegionInUse" - }, - { - "from": "_0x01708E8DD3FF8C65", - "to": "getNumNavmeshesExistingInArea" - }, - { - "from": "getHeightmapTopZForPosition", - "to": "getApproxHeightForPoint" - }, - { - "from": "getHeightmapTopZForArea", - "to": "getApproxHeightForArea" - }, - { - "from": "getHeightmapBottomZForPosition", - "to": "getApproxFloorForPoint" - }, - { - "from": "getHeightmapBottomZForArea", - "to": "getApproxFloorForArea" - }, - { - "from": "clonePedEx", - "to": "clonePedAlt" - }, - { - "from": "clonePedToTargetEx", - "to": "clonePedToTargetAlt" - }, - { - "from": "freezePedCameraRotation", - "to": "forceAllHeadingValuesToAlign" - }, - { - "from": "_0x87DDEB611B329A9C", - "to": "setAmbientLawPedAccuracyModifier" - }, - { - "from": "_0xF2BEBCDFAFDAA19E", - "to": "setPedAllowHurtCombatForAllMissionPeds" - }, - { - "from": "_0x5A7F62FDA59759BD", - "to": "suppressAmbientPedAggressiveCleanupThisFrame" - }, - { - "from": "_0xFF4803BC019852D9", - "to": "setHealthSnacksCarriedByAllNewPeds" - }, - { - "from": "_0x9911F4A24485F653", - "to": "setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame" - }, - { - "from": "_0xAFC976FD0580C7B3", - "to": "setPedUpperBodyDamageOnly" - }, - { - "from": "_0x2F3C3D9F50681DE4", - "to": "setTreatAsAmbientPedForDriverLockon" - }, - { - "from": "_0x061CB768363D6424", - "to": "setAllowLockonToPedIfFriendly" - }, - { - "from": "_0xFD325494792302D7", - "to": "setUseCameraHeadingForDesiredDirectionLockOnTest" - }, - { - "from": "_0x412F1364FA066CFB", - "to": "isPedLanding" - }, - { - "from": "_0x451D05012CCEC234", - "to": "isPedDoingABeastJump" - }, - { - "from": "isPedOpeningADoor", - "to": "isPedOpeningDoor" - }, - { - "from": "_0x2F074C904D85129E", - "to": "setCopPerceptionOverrides" - }, - { - "from": "_0xEC4B4B3B9908052A", - "to": "setPedInjuredOnGroundBehaviour" - }, - { - "from": "_0x733C87D4CE22BEA2", - "to": "disablePedInjuredOnGroundBehaviour" - }, - { - "from": "getPedTaskCombatTarget", - "to": "getPedTargetFromCombatPed" - }, - { - "from": "_0x5407B7288D0478B7", - "to": "countPedsInCombatWithTarget" - }, - { - "from": "_0x336B3D200AB007CB", - "to": "countPedsInCombatWithTargetWithinRadius" - }, - { - "from": "setRelationshipGroupDontAffectWantedLevel", - "to": "setRelationshipGroupAffectsWantedLevel" - }, - { - "from": "_0xAD27D957598E49E9", - "to": "tellGroupPedsInAreaToAttack" - }, - { - "from": "getPedEventData", - "to": "getPosFromFiredEvent" - }, - { - "from": "getTimeOfLastPedWeaponDamage", - "to": "getTimePedDamagedByWeapon" - }, - { - "from": "_0x2735233A786B1BEF", - "to": "setCorpseRagdollFriction" - }, - { - "from": "_0xB282749D5E028163", - "to": "setPedCanBeKnockedOffBike" - }, - { - "from": "_0x49E50BDB8BA4DAB2", - "to": "setPedAllowMinorReactionsAsMissionPed" - }, - { - "from": "setPedCoverClipsetOverride", - "to": "setPedMotionInCoverClipsetOverride" - }, - { - "from": "clearPedCoverClipsetOverride", - "to": "clearPedMotionInCoverClipsetOverride" - }, - { - "from": "_0x80054D7FCC70EEC6", - "to": "clearPedFallUpperBodyClipsetOverride" - }, - { - "from": "_0x9E30E91FB03A2CAF", - "to": "getMpOutfitDataFromMetadata" - }, - { - "from": "_0x1E77FA7A62EE6C4C", - "to": "getFmMaleShopPedApparelItemIndex" - }, - { - "from": "_0xF033419D1B81FAE8", - "to": "getFmFemaleShopPedApparelItemIndex" - }, - { - "from": "setPedEyeColor", - "to": "setHeadBlendEyeColor" - }, - { - "from": "getPedEyeColor", - "to": "getHeadBlendEyeColor" - }, - { - "from": "getPedHeadOverlayValue", - "to": "getPedHeadOverlay" - }, - { - "from": "setPedHeadOverlayColor", - "to": "setPedHeadOverlayTint" - }, - { - "from": "setPedHairColor", - "to": "setPedHairTint" - }, - { - "from": "getNumHairColors", - "to": "getNumPedHairTints" - }, - { - "from": "getNumMakeupColors", - "to": "getNumPedMakeupTints" - }, - { - "from": "getPedHairRgbColor", - "to": "getPedHairTintColor" - }, - { - "from": "getPedMakeupRgbColor", - "to": "getPedMakeupTintColor" - }, - { - "from": "isPedHairColorValid2", - "to": "isPedHairTintForCreator" - }, - { - "from": "_0xEA9960D07DADCF10", - "to": "getDefaultSecondaryTintForCreator" - }, - { - "from": "isPedLipstickColorValid2", - "to": "isPedLipstickTintForCreator" - }, - { - "from": "isPedBlushColorValid2", - "to": "isPedBlushTintForCreator" - }, - { - "from": "isPedHairColorValid", - "to": "isPedHairTintForBarber" - }, - { - "from": "_0xAAA6A3698A69E048", - "to": "getDefaultSecondaryTintForBarber" - }, - { - "from": "isPedLipstickColorValid", - "to": "isPedLipstickTintForBarber" - }, - { - "from": "isPedBlushColorValid", - "to": "isPedBlushTintForBarber" - }, - { - "from": "isPedBodyBlemishValid", - "to": "isPedBlushFacepaintTintForBarber" - }, - { - "from": "_0xC56FBF2F228E1DAC", - "to": "getTintIndexForLastGenHairTexture" - }, - { - "from": "setPedFaceFeature", - "to": "setPedMicroMorph" - }, - { - "from": "_0xFEC9A3B1820F3331", - "to": "isUsingPedScubaGearVariation" - }, - { - "from": "_0x03EA03AF85A85CB7", - "to": "getCanPedBeGrabbedByScript" - }, - { - "from": "_0xF9ACF4A08098EA25", - "to": "specialFunctionDoNotUse" - }, - { - "from": "_0x2B694AFCF64E6994", - "to": "markPedDecorationsAsClonedFromLocalPlayer" - }, - { - "from": "doesScenarioBlockingAreaExist", - "to": "doesScenarioBlockingAreaExists" - }, - { - "from": "_0x9A77DFD295E29B09", - "to": "toggleScenarioPedCowerInPlace" - }, - { - "from": "_0x25361A96E0F7E419", - "to": "triggerPedScenarioPanicexittoflee" - }, - { - "from": "setPedShouldPlayDirectedScenarioExit", - "to": "setPedShouldPlayDirectedNormalScenarioExit" - }, - { - "from": "_0x425AECF167663F48", - "to": "setPedShouldIgnoreScenarioExitCollisionChecks" - }, - { - "from": "_0x5B6010B3CBC29095", - "to": "setPedShouldIgnoreScenarioNavChecks" - }, - { - "from": "_0xCEDA60A74219D064", - "to": "setPedShouldProbeForScenarioExitsInOneFrame" - }, - { - "from": "_0xC30BDAEE47256C13", - "to": "isPedGesturing" - }, - { - "from": "setFacialClipsetOverride", - "to": "setFacialClipset" - }, - { - "from": "setPedCanPlayInjuredAnims", - "to": "setPedIsIgnoredByAutoOpenDoors" - }, - { - "from": "_0xC2EE020F5FB4DB53", - "to": "triggerIdleAnimationOnPed" - }, - { - "from": "_0x6647C5F6F5792496", - "to": "setPedCanTorsoVehicleIk" - }, - { - "from": "setPedClothPackageIndex", - "to": "setPedClothPinFrames" - }, - { - "from": "setPedClothProne", - "to": "setPedClothPackageIndex" - }, - { - "from": "_0xA660FAF550EB37E5", - "to": "setPedClothProne" - }, - { - "from": "blockPedDeadBodyShockingEvents", - "to": "blockPedFromGeneratingDeadBodyEventsWhenDead" - }, - { - "from": "_0x3E9679C1DFCF422C", - "to": "setPedWillOnlyAttackWantedPlayer" - }, - { - "from": "setPedHelmetUnk", - "to": "setPedHelmetVisorPropIndices" - }, - { - "from": "isPedHelmetUnk", - "to": "isPedHelmetVisorUp" - }, - { - "from": "_0xF2385935BFFD4D92", - "to": "isCurrentHeadPropAHelmet" - }, - { - "from": "_0x1A330D297AAC6BC1", - "to": "setLadderClimbInputState" - }, - { - "from": "isPedPerformingDependentComboLimit", - "to": "isPedPerformingACounterAttack" - }, - { - "from": "_0x2016C603D6B8987C", - "to": "setPedSteersAroundDeadBodies" - }, - { - "from": "_0xA9B61A329BFDCBEA", - "to": "setPedIsAvoidedByOthers" - }, - { - "from": "_0xA52D5247A4227E14", - "to": "setPedNoTimeDelayBeforeShot" - }, - { - "from": "_0xCD018C591F94CB43", - "to": "requestPedRestrictedVehicleVisibilityTracking" - }, - { - "from": "_0x75BA1CB3B7D40CAF", - "to": "requestPedUseSmallBboxVisibilityTracking" - }, - { - "from": "_0x511F1A683387C7E2", - "to": "getTrackedPedPixelcount" - }, - { - "from": "_0x9C6A6C19B6C0C496", - "to": "canPedShuffleToOrFromTurretSeat" - }, - { - "from": "_0x2DFC81C9B9608549", - "to": "canPedShuffleToOrFromExtraSeat" - }, - { - "from": "_0x110F526AB784111F", - "to": "setPedEnveffCpvAdd" - }, - { - "from": "setPedEmissiveIntensity", - "to": "setPedEmissiveScale" - }, - { - "from": "getPedEmissiveIntensity", - "to": "getPedEmissiveScale" - }, - { - "from": "isPedShaderEffectValid", - "to": "isPedShaderReady" - }, - { - "from": "_0xE906EC930F5FE7C8", - "to": "setPedEnableCrewEmblem" - }, - { - "from": "_0x1216E0BFA72CC703", - "to": "requestRagdollBoundsUpdate" - }, - { - "from": "_0xB8B52E498014F5B0", - "to": "isPedSheltered" - }, - { - "from": "createSynchronizedScene2", - "to": "createSynchronizedSceneAtMapObject" - }, - { - "from": "disposeSynchronizedScene", - "to": "takeOwnershipOfSynchronizedScene" - }, - { - "from": "getPedCurrentMovementSpeed", - "to": "getPedCurrentMoveBlendRatio" - }, - { - "from": "_0x0B3E35AC043707D9", - "to": "setPedMoveRateInWaterOverride" - }, - { - "from": "_0x46B05BCAE43856B0", - "to": "pedHasSexinessFlagSet" - }, - { - "from": "registerPedheadshot3", - "to": "registerPedheadshotHires" - }, - { - "from": "_0xED3C76ADFA6D07C4", - "to": "forceInstantLegIkSetup" - }, - { - "from": "_0xD33DAA36272177C4", - "to": "forceZeroMassInCollisions" - }, - { - "from": "_0x711794453CFD692B", - "to": "setDisableHighFallDeath" - }, - { - "from": "_0x83A169EABCDB10A2", - "to": "setPedPhonePaletteIdx" - }, - { - "from": "_0x288DF530C92DAD6F", - "to": "setPedSteerBias" - }, - { - "from": "isPedSwappingWeapon", - "to": "isPedSwitchingWeapon" - }, - { - "from": "_0x0F62619393661D6E", - "to": "setPedTreatedAsFriendly" - }, - { - "from": "_0xDFE68C4B787E1BFB", - "to": "setDisablePedMapCollision" - }, - { - "from": "setEnableScubaGearLight", - "to": "enableMpLight" - }, - { - "from": "isScubaGearLightEnabled", - "to": "getMpLightEnabled" - }, - { - "from": "clearFacialClipsetOverride", - "to": "clearCoverPointForPed" - }, - { - "from": "_0xFAB944D4D481ACCB", - "to": "setAllowStuntJumpCamera" - }, - { - "from": "_0xA1AE736541B0FCA3", - "to": "ropeDrawEnabled" - }, - { - "from": "_0x36CCB9BE67B970FD", - "to": "ropeSetSmoothReelin" - }, - { - "from": "_0x84DE3B5FB3E666F0", - "to": "isRopeAttachedAtBothEnds" - }, - { - "from": "doesRopeBelongToThisScript", - "to": "doesScriptOwnRope" - }, - { - "from": "_0xBC0CE682D4D05650", - "to": "ropeAttachVirtualBoundGeom" - }, - { - "from": "_0xB1B6216CA2E7B55E", - "to": "ropeChangeScriptOwner" - }, - { - "from": "_0xB743F735C03D7810", - "to": "ropeSetRefframevelocityColliderorder" - }, - { - "from": "getHasObjectFragInst", - "to": "getIsEntityAFrag" - }, - { - "from": "_0xCC6E963682533882", - "to": "resetDisableBreaking" - }, - { - "from": "setEntityProofUnk", - "to": "setUseKinematicPhysics" - }, - { - "from": "_0x9EBD751E5787BAF2", - "to": "setInStuntMode" - }, - { - "from": "setLaunchControlEnabled", - "to": "setInArenaMode" - }, - { - "from": "_0x7E07C78925D5FD96", - "to": "isWantedAndHasBeenSeenByCops" - }, - { - "from": "_0xDE45D1A1EF45EE61", - "to": "setAllNeutralRandomPedsFlee" - }, - { - "from": "_0xC3376F42B1FACCC6", - "to": "setAllNeutralRandomPedsFleeThisFrame" - }, - { - "from": "_0xFAC75988A7D078D3", - "to": "setLawPedsCanAttackNonWantedPlayerThisFrame" - }, - { - "from": "getWantedLevelParoleDuration", - "to": "getWantedLevelTimeToEscape" - }, - { - "from": "setWantedLevelHiddenEvasionTime", - "to": "setWantedLevelHiddenEscapeTime" - }, - { - "from": "_0x823EC8E82BA45986", - "to": "resetWantedLevelHiddenEscapeTime" - }, - { - "from": "switchCrimeType", - "to": "suppressCrimeThisFrame" - }, - { - "from": "_0xBC9490CA15AEA8FB", - "to": "updateWantedPositionThisFrame" - }, - { - "from": "_0x4669B3ED80F24B4E", - "to": "suppressLosingWantedLevelIfHiddenThisFrame" - }, - { - "from": "_0x2F41A3BAE005E5FA", - "to": "allowEvasionHudIfDisablingHiddenEvasionThisFrame" - }, - { - "from": "_0xAD73CE5A09E42D12", - "to": "forceStartHiddenEvasion" - }, - { - "from": "_0x36F1B38855F2A8DF", - "to": "suppressWitnessesCallingPoliceThisFrame" - }, - { - "from": "_0xB45EFF719D8427A6", - "to": "setLawResponseDelayOverride" - }, - { - "from": "_0x0032A6DBA562C518", - "to": "resetLawResponseDelayOverride" - }, - { - "from": "setPlayerUnderwaterTimeRemaining", - "to": "setPlayerUnderwaterBreathPercentRemaining" - }, - { - "from": "isPlayerCamControlDisabled", - "to": "getAreCameraControlsDisabled" - }, - { - "from": "_0xDCC07526B8EC45AF", - "to": "getPlayerDebugInvincible" - }, - { - "from": "setPlayerInvincibleKeepRagdollEnabled", - "to": "setPlayerInvincibleButHasReactions" - }, - { - "from": "_0xCAC57395B151135F", - "to": "setPlayerCanCollectDroppedMoney" - }, - { - "from": "_0xB9CF1F793A9F1BF1", - "to": "getIsUsingFpsThirdPersonCover" - }, - { - "from": "_0xCB645E85E97EA48B", - "to": "getIsUsingHoodCamera" - }, - { - "from": "_0xB885852C39CC265D", - "to": "disablePlayerThrowGrenadeWhileUsingGun" - }, - { - "from": "setSpecialAbility", - "to": "setSpecialAbilityMp" - }, - { - "from": "specialAbilityDeplete", - "to": "specialAbilityDeactivateMp" - }, - { - "from": "_0xFFEE8FA29AB9A18E", - "to": "updateSpecialAbilityFromStat" - }, - { - "from": "_0x5FC472C501CCADB3", - "to": "getIsPlayerDrivingOnHighway" - }, - { - "from": "_0xF10B44FD479D69F3", - "to": "getIsPlayerDrivingWreckless" - }, - { - "from": "_0xDD2620B7B9D16FF1", - "to": "getIsMoppingAreaFreeInFrontOfPlayer" - }, - { - "from": "getPlayerHealthRechargeLimit", - "to": "getPlayerHealthRechargeMaxPercent" - }, - { - "from": "setPlayerHealthRechargeLimit", - "to": "setPlayerHealthRechargeMaxPercent" - }, - { - "from": "setPlayerFallDistance", - "to": "setPlayerFallDistanceToTriggerRagdollOverride" - }, - { - "from": "setPlayerWeaponDefenseModifier2", - "to": "setPlayerWeaponMinigunDefenseModifier" - }, - { - "from": "_0x8D768602ADEF2245", - "to": "setPlayerMaxExplosiveDamage" - }, - { - "from": "_0xD821056B9ACF8052", - "to": "setPlayerExplosiveDamageModifier" - }, - { - "from": "_0x31E90B8873A4CD3B", - "to": "setPlayerWeaponTakedownDefenseModifier" - }, - { - "from": "setPlayerResetFlagPreferRearSeats", - "to": "setPlayerPhonePaletteIdx" - }, - { - "from": "_0x690A61A6D13583F6", - "to": "isRemotePlayerInNonClonedVehicle" - }, - { - "from": "_0x9EDD76E87D5D51BA", - "to": "increasePlayerJumpSuppressionRange" - }, - { - "from": "_0xBC0753C9CA14B506", - "to": "getPlayerReceivedBattleEventRecently" - }, - { - "from": "_0x2F7CEB6520288061", - "to": "setPlayerSpectatedVehicleRadioOverride" - }, - { - "from": "_0x5501B7A5CDB79D37", - "to": "disableCameraViewModeCycle" - }, - { - "from": "_0x55FCC0C390620314", - "to": "setPlayerCanDamagePlayer" - }, - { - "from": "_0x2382AB11450AE7BA", - "to": "setApplyWaypointOfPlayer" - }, - { - "from": "_0x6E4361FF3E8CD7CA", - "to": "isPlayerVehicleWeaponToggledToNonHoming" - }, - { - "from": "_0x237440E46D918649", - "to": "setPlayerVehicleWeaponToNonHoming" - }, - { - "from": "setPlayerHomingRocketDisabled", - "to": "setPlayerHomingDisabledForAllVehicleWeapons" - }, - { - "from": "_0x9097EB6D4BB9A12A", - "to": "addPlayerTargetableEntity" - }, - { - "from": "_0x9F260BFB59ADBCA3", - "to": "removePlayerTargetableEntity" - }, - { - "from": "_0x7BAE68775557AE0B", - "to": "setPlayerPreviousVariationData" - }, - { - "from": "_0x7148E0F43D11F0D9", - "to": "removeScriptFirePosition" - }, - { - "from": "_0x70A382ADEC069DD3", - "to": "setScriptFirePosition" - }, - { - "from": "_0x48621C9FCA3EBD28", - "to": "replayStartEvent" - }, - { - "from": "_0x81CBAE94390F9F89", - "to": "replayStopEvent" - }, - { - "from": "_0x13B350B8AD0EEE10", - "to": "replayCancelEvent" - }, - { - "from": "_0x293220DA1B46CEBC", - "to": "replayRecordBackForTime" - }, - { - "from": "_0x208784099002BC30", - "to": "replayCheckForEventThisFrame" - }, - { - "from": "stopRecordingThisFrame", - "to": "replayPreventRecordingThisFrame" - }, - { - "from": "_0xF854439EFBB3B583", - "to": "replayResetEventInfo" - }, - { - "from": "disableRockstarEditorCameraChanges", - "to": "replayDisableCameraMovementThisFrame" - }, - { - "from": "_0x66972397E0757E7A", - "to": "recordGreatestMoment" - }, - { - "from": "startRecording", - "to": "startReplayRecording" - }, - { - "from": "stopRecordingAndSaveClip", - "to": "stopReplayRecording" - }, - { - "from": "stopRecordingAndDiscardClip", - "to": "cancelReplayRecording" - }, - { - "from": "saveRecordingClip", - "to": "saveReplayRecording" - }, - { - "from": "isRecording", - "to": "isReplayRecording" - }, - { - "from": "_0xDF4B952F7D381B95", - "to": "isReplayInitialized" - }, - { - "from": "_0x4282E08174868BE3", - "to": "isReplayAvailable" - }, - { - "from": "_0x33D47E85B476ABCD", - "to": "isReplayRecordSpaceAvailable" - }, - { - "from": "_0x7E2BD3EF6C205F09", - "to": "registerEffectForReplayEditor" - }, - { - "from": "isInteriorRenderingDisabled", - "to": "replaySystemHasRequestedAScriptCleanup" - }, - { - "from": "_0x5AD3932DAEB1E5D3", - "to": "setScriptsHaveCleanedUpForReplaySystem" - }, - { - "from": "_0xE058175F8EAFE79A", - "to": "setReplaySystemPausedForSave" - }, - { - "from": "resetEditorValues", - "to": "replayControlShutdown" - }, - { - "from": "_0x84B418E93894AC1C", - "to": "savemigrationIsMpEnabled" - }, - { - "from": "_0xE5E9746A66359F9D", - "to": "savemigrationMpRequestStatus" - }, - { - "from": "_0x690B76BD2763E068", - "to": "savemigrationMpGetStatus" - }, - { - "from": "getNameOfThread", - "to": "getNameOfScriptWithThisId" - }, - { - "from": "getNumberOfReferencesOfScriptWithNameHash", - "to": "getNumberOfThreadsRunningTheScriptWithThisHash" - }, - { - "from": "_0xB1577667C3708F9B", - "to": "commitToLoadingscreenSelction" - }, - { - "from": "_0x836B62713E0534CA", - "to": "bgIsExitflagSet" - }, - { - "from": "_0x760910B49D2B98EA", - "to": "bgSetExitflagResponse" - }, - { - "from": "_0x0F6F1EBBC4E1D5E6", - "to": "bgDoesLaunchParamExist" - }, - { - "from": "_0x22E21FBCFC88C149", - "to": "bgGetLaunchParamValue" - }, - { - "from": "_0x829CD22E043A2577", - "to": "bgGetScriptIdFromNameHash" - }, - { - "from": "triggerScriptEvent2", - "to": "sendTuScriptEvent" - }, - { - "from": "startShapeTestSurroundingCoords", - "to": "startShapeTestMouseCursorLosProbe" - }, - { - "from": "scInboxMessagePop", - "to": "scInboxSetMessageAsReadAtIndex" - }, - { - "from": "scInboxMessageGetString", - "to": "scInboxMessageGetRawTypeAtIndex" - }, - { - "from": "scInboxMessagePushGamerToEventRecipList", - "to": "scInboxMessagePushGamerT0RecipList" - }, - { - "from": "scInboxMessageSendUgcStatUpdateEvent", - "to": "scInboxSendUgcstatupdateToRecipList" - }, - { - "from": "scInboxMessageSendBountyPresenceEvent", - "to": "scInboxSendBountyToRecipList" - }, - { - "from": "scInboxMessageGetBountyData", - "to": "scInboxGetBountyDataAtIndex" - }, - { - "from": "scInboxGetEmails", - "to": "scEmailRetrieveEmails" - }, - { - "from": "_0x16DA8172459434AA", - "to": "scEmailGetRetrievalStatus" - }, - { - "from": "_0x7DB18CA8CAD5B098", - "to": "scEmailGetNumRetrievedEmails" - }, - { - "from": "_0x4737980E8A283806", - "to": "scEmailGetEmailAtIndex" - }, - { - "from": "_0x44ACA259D67651DB", - "to": "scEmailDeleteEmails" - }, - { - "from": "_0x116FB94DC4B79F17", - "to": "scEmailSendEmail" - }, - { - "from": "_0x07DBD622D9533857", - "to": "scEmailSetCurrentEmailTag" - }, - { - "from": "setHandleRockstarMessageViaScript", - "to": "scCacheNewRockstarMsgs" - }, - { - "from": "isRockstarMessageReadyForScript", - "to": "scHasNewRockstarMsg" - }, - { - "from": "rockstarMessageGetString", - "to": "scGetNewRockstarMsg" - }, - { - "from": "_0x487912FD248EFDDF", - "to": "scPresenceSetActivityRating" - }, - { - "from": "_0xC85A7127E7AD02AA", - "to": "scGamerdataGetInt" - }, - { - "from": "_0xA770C8EEC6FB2AC5", - "to": "scGamerdataGetFloat" - }, - { - "from": "scGetIsProfileAttributeSet", - "to": "scGamerdataGetBool" - }, - { - "from": "_0x7FFCBFEE44ECFABF", - "to": "scGamerdataGetString" - }, - { - "from": "_0x2D874D4AE612A65F", - "to": "scGamerdataGetActiveXpBonus" - }, - { - "from": "scProfanityCheckUgcString", - "to": "scProfanityCheckStringUgc" - }, - { - "from": "_0xF6BAAAF762E1BF40", - "to": "scLicenseplateCheckString" - }, - { - "from": "_0xF22CA0FD74B80E7A", - "to": "scLicenseplateGetCheckIsValid" - }, - { - "from": "_0x9237E334F6E43156", - "to": "scLicenseplateGetCheckIsPending" - }, - { - "from": "_0x700569DBA175A77C", - "to": "scLicenseplateGetCount" - }, - { - "from": "_0x1D4446A62D35B0D0", - "to": "scLicenseplateGetPlate" - }, - { - "from": "_0x2E89990DDFF670C3", - "to": "scLicenseplateGetPlateData" - }, - { - "from": "_0xD0EE05FE193646EA", - "to": "scLicenseplateSetPlateData" - }, - { - "from": "_0x1989C6E6F67E76A8", - "to": "scLicenseplateAdd" - }, - { - "from": "_0x07C61676E5BB52CD", - "to": "scLicenseplateGetAddIsPending" - }, - { - "from": "_0x8147FFF6A718E1AD", - "to": "scLicenseplateGetAddStatus" - }, - { - "from": "_0x0F73393BAC7E6730", - "to": "scLicenseplateIsvalid" - }, - { - "from": "_0xD302E99EDF0449CF", - "to": "scLicenseplateGetIsvalidIsPending" - }, - { - "from": "_0x5C4EBFFA98BDB41C", - "to": "scLicenseplateGetIsvalidStatus" - }, - { - "from": "_0xFF8F3A92B75ED67A", - "to": "scCommunityEventIsActive" - }, - { - "from": "_0x4ED9C8D6DA297639", - "to": "scCommunityEventGetEventId" - }, - { - "from": "_0x710BCDA8071EDED1", - "to": "scCommunityEventGetExtraDataInt" - }, - { - "from": "_0x50A8A36201DBF83E", - "to": "scCommunityEventGetExtraDataFloat" - }, - { - "from": "_0x9DE5D2F723575ED0", - "to": "scCommunityEventGetExtraDataString" - }, - { - "from": "_0xC2C97EA97711D1AE", - "to": "scCommunityEventGetDisplayName" - }, - { - "from": "_0x450819D8CF90C416", - "to": "scCommunityEventIsActiveForType" - }, - { - "from": "_0x4A7D6E727F941747", - "to": "scCommunityEventGetEventIdForType" - }, - { - "from": "_0xE75A4A2E5E316D86", - "to": "scCommunityEventGetExtraDataIntForType" - }, - { - "from": "_0x2570E26BE63964E3", - "to": "scCommunityEventGetExtraDataFloatForType" - }, - { - "from": "_0x1D12A56FC95BE92E", - "to": "scCommunityEventGetExtraDataStringForType" - }, - { - "from": "_0x33DF47CC0642061B", - "to": "scCommunityEventGetDisplayNameForType" - }, - { - "from": "_0xA468E0BE12B12C70", - "to": "scCommunityEventIsActiveById" - }, - { - "from": "_0x8CC469AB4D349B7C", - "to": "scCommunityEventGetExtraDataIntById" - }, - { - "from": "_0xC5A35C73B68F3C49", - "to": "scCommunityEventGetExtraDataFloatById" - }, - { - "from": "_0x699E4A5C8C893A18", - "to": "scCommunityEventGetExtraDataStringById" - }, - { - "from": "_0x19853B5B17D77BCA", - "to": "scCommunityEventGetDisplayNameById" - }, - { - "from": "_0x6BFB12CE158E3DD4", - "to": "scTransitionNewsShow" - }, - { - "from": "_0xFE4C1D0D3B9CC17E", - "to": "scTransitionNewsShowTimed" - }, - { - "from": "_0xD8122C407663B995", - "to": "scTransitionNewsShowNextItem" - }, - { - "from": "_0x3001BEF2FECA3680", - "to": "scTransitionNewsHasExtraDataTu" - }, - { - "from": "_0x92DA6E70EF249BD1", - "to": "scTransitionNewsGetExtraDataIntTu" - }, - { - "from": "_0x675721C9F644D161", - "to": "scTransitionNewsEnd" - }, - { - "from": "_0xE4F6E8D07A2F0F51", - "to": "scPauseNewsInitStarterPack" - }, - { - "from": "_0x8A4416C0DB05FA66", - "to": "scPauseNewsGetPendingStory" - }, - { - "from": "_0xEA95C0853A27888E", - "to": "scPauseNewsShutdown" - }, - { - "from": "scGetNickname", - "to": "scAccountInfoGetNickname" - }, - { - "from": "_0x225798743970412B", - "to": "scAchievementInfoStatus" - }, - { - "from": "scGetHasAchievementBeenPassed", - "to": "scHasAchievementBeenPassed" - }, - { - "from": "_0x5688585E6D563CD8", - "to": "statSetOpenSavetypeInJob" - }, - { - "from": "_0x7F2C4CDF2E82DF4C", - "to": "statCloudSlotLoadFailed" - }, - { - "from": "_0xE496A53BA5F50A56", - "to": "statCloudSlotLoadFailedCode" - }, - { - "from": "_0x6A7F19756F1A9016", - "to": "statGetBlockSaves" - }, - { - "from": "_0x7E6946F68A38B74F", - "to": "statCloudSlotSaveFailed" - }, - { - "from": "_0xA8733668D1047B51", - "to": "statClearPendingSaves" - }, - { - "from": "_0xECB41AC6AB754401", - "to": "statLoadDirtyReadDetected" - }, - { - "from": "_0x9B4BD21D69B1E609", - "to": "statClearDirtyReadDetected" - }, - { - "from": "_0xC0E0D686DDFC6EAE", - "to": "statGetLoadSafeToProgressToMpFromSp" - }, - { - "from": "_0x5A556B229A169402", - "to": "statCommunityStartSynch" - }, - { - "from": "_0xB1D2BB1E1631F5B1", - "to": "statCommunitySynchIsPending" - }, - { - "from": "_0xBED9F5693F34ED17", - "to": "statCommunityGetHistory" - }, - { - "from": "_0x26D7399B9587FE89", - "to": "statResetAllOnlineCharacterStats" - }, - { - "from": "_0xA78B8FA58200DA56", - "to": "statLocalResetAllOnlineCharacterStats" - }, - { - "from": "_0xC01D2470F22CDE5A", - "to": "statsCompletedCharacterCreation" - }, - { - "from": "statGetPackedIntMask", - "to": "packedStatGetIntStatIndex" - }, - { - "from": "getNgstatIntHash", - "to": "getPackedNgIntStatKey" - }, - { - "from": "playstatsStartOfflineMode", - "to": "playstatsStartedSessionInOfflinemode" - }, - { - "from": "_0x6DEE77AFF8C21BD1", - "to": "playstatsCreateMatchHistoryId2" - }, - { - "from": "playstatsCrateCreatedMissionDone", - "to": "playstatsCrateCreated" - }, - { - "from": "_0xF8C54A461C3E11DC", - "to": "playstatsJobActivityEnd" - }, - { - "from": "_0xF5BB8DAC426A52C0", - "to": "playstatsJobBend" - }, - { - "from": "_0xA736CF7FB7C5BFF4", - "to": "playstatsJobLtsEnd" - }, - { - "from": "_0x14E0B2D1AD1044E0", - "to": "playstatsJobLtsRoundEnd" - }, - { - "from": "_0xD1032E482629049E", - "to": "playstatsSetJoinType" - }, - { - "from": "playstatsDirectorMode", - "to": "playstatsAppendDirectorMetric" - }, - { - "from": "playstatsAwardBadsport", - "to": "playstatsAwardBadSport" - }, - { - "from": "playstatsPegasaircraft", - "to": "playstatsPegasusAsPersonalAircraft" - }, - { - "from": "_0x6A60E43998228229", - "to": "playstatsFmEventChallenges" - }, - { - "from": "_0xBFAFDB5FAAA5C5AB", - "to": "playstatsFmEventVehicletarget" - }, - { - "from": "_0x8C9D11605E59D955", - "to": "playstatsFmEventUrbanwarfare" - }, - { - "from": "_0x3DE3AA516FB126A4", - "to": "playstatsFmEventCheckpointcollection" - }, - { - "from": "_0xBAA2F0490E146BE8", - "to": "playstatsFmEventAtob" - }, - { - "from": "_0x1A7CE7CD3E653485", - "to": "playstatsFmEventPennedin" - }, - { - "from": "_0x419615486BBF1956", - "to": "playstatsFmEventPasstheparcel" - }, - { - "from": "_0x84DFC579C2FC214C", - "to": "playstatsFmEventHotproperty" - }, - { - "from": "_0x0A9C7F36E5D7B683", - "to": "playstatsFmEventDeaddrop" - }, - { - "from": "_0x164C5FF663790845", - "to": "playstatsFmEventKingofthecastle" - }, - { - "from": "_0xEDBF6C9B0D2C65C8", - "to": "playstatsFmEventCriminaldamage" - }, - { - "from": "_0x6551B1F7F6CD46EA", - "to": "playstatsFmEventCompetitiveurbanwarfare" - }, - { - "from": "_0x2CD90358F67D0AA8", - "to": "playstatsFmEventHuntbeast" - }, - { - "from": "playstatsPiMenuHideSettings", - "to": "playstatsPimenuHideOptions" - }, - { - "from": "leaderboards2ReadByPlatform", - "to": "leaderboards2ReadByPlaform" - }, - { - "from": "_0xA0F93D5465B3094D", - "to": "leaderboards2ReadGetRowDataStart" - }, - { - "from": "_0x71B008056E5692D6", - "to": "leaderboards2ReadGetRowDataEnd" - }, - { - "from": "_0x34770B9CE0E03B91", - "to": "leaderboards2ReadGetRowDataInfo" - }, - { - "from": "_0x88578F6EC36B4A3A", - "to": "leaderboards2ReadGetRowDataInt" - }, - { - "from": "_0x38491439B6BA7F7D", - "to": "leaderboards2ReadGetRowDataFloat" - }, - { - "from": "_0x8EC74CEB042E7CFF", - "to": "leaderboardsClearCacheDataId" - }, - { - "from": "updateStatInt", - "to": "presenceEventUpdatestatInt" - }, - { - "from": "updateStatFloat", - "to": "presenceEventUpdatestatFloat" - }, - { - "from": "_0x6483C25849031C4F", - "to": "presenceEventUpdatestatIntWithString" - }, - { - "from": "_0x5EAD2BF6484852E4", - "to": "getPlayerHasDrivenAllVehicles" - }, - { - "from": "_0xC141B8917E0017EC", - "to": "setHasPostedAllVehiclesDriven" - }, - { - "from": "_0xC67E2DA1CBE759E2", - "to": "setProfileSettingSpChopMissionComplete" - }, - { - "from": "_0xF1A1803D3476F215", - "to": "setProfileSettingCreatorRacesDone" - }, - { - "from": "_0x38BAAA5DD4C9D19F", - "to": "setProfileSettingCreatorDmDone" - }, - { - "from": "_0x55384438FC55AD8E", - "to": "setProfileSettingCreatorCtfDone" - }, - { - "from": "_0x723C1CE13FBFDB67", - "to": "setJobActivityIdStarted" - }, - { - "from": "_0x0D01D20616FC73FB", - "to": "setFreemodePrologueDone" - }, - { - "from": "_0x428EAF89E24F6C36", - "to": "statNetworkIncrementOnSuicide" - }, - { - "from": "_0x6F361B8889A792A3", - "to": "forceCloudMpStatsDownloadAndOverwriteLocalSave" - }, - { - "from": "_0xC847B43F369AC0B5", - "to": "statMigrateClearForRestart" - }, - { - "from": "statMigrateSave", - "to": "statMigrateSavegameStart" - }, - { - "from": "_0x9A62EC95AE10E011", - "to": "statMigrateSavegameGetStatus" - }, - { - "from": "_0x4C89FE2BDEB3F169", - "to": "statMigrateCheckAlreadyDone" - }, - { - "from": "_0xC6E0E2616A7576BB", - "to": "statMigrateCheckStart" - }, - { - "from": "_0x5BD5F255321C4AAF", - "to": "statMigrateCheckGetIsPlatformAvailable" - }, - { - "from": "_0xDEAAF77EB3687E97", - "to": "statMigrateCheckGetPlatformStatus" - }, - { - "from": "statSaveMigrationCancel", - "to": "statSaveMigrationCancelPendingOperation" - }, - { - "from": "statSaveMigrationConsumeContentUnlock", - "to": "statSaveMigrationConsumeContent" - }, - { - "from": "statGetSaveMigrationConsumeContentUnlockStatus", - "to": "statGetSaveMigrationConsumeContentStatus" - }, - { - "from": "_0x98E2BC1CA26287C3", - "to": "statEnableStatsTracking" - }, - { - "from": "_0x629526ABA383BCAA", - "to": "statDisableStatsTracking" - }, - { - "from": "_0xBE3DB208333D9844", - "to": "statIsStatsTrackingEnabled" - }, - { - "from": "_0x33D72899E24C3365", - "to": "statStartRecordStat" - }, - { - "from": "_0xA761D4AC6115623D", - "to": "statStopRecordStat" - }, - { - "from": "_0xF11F01D98113536A", - "to": "statGetRecordedValue" - }, - { - "from": "_0x8B9CDBD6C566C38C", - "to": "statIsRecordingStat" - }, - { - "from": "_0xE8853FBCE7D8D0D6", - "to": "statGetCurrentNearMissNocrashPrecise" - }, - { - "from": "_0xA943FD1722E11EFD", - "to": "statGetCurrentRearWheelDistance" - }, - { - "from": "_0x84A810B375E69C0E", - "to": "statGetCurrentFrontWheelDistance" - }, - { - "from": "_0x9EC8858184CD253A", - "to": "statGetCurrentJumpDistance" - }, - { - "from": "_0xBA9749CC94C1FD85", - "to": "statGetCurrentDriveNocrashDistance" - }, - { - "from": "_0x55A8BECAF28A4EB7", - "to": "statGetCurrentSpeed" - }, - { - "from": "_0x32CAC93C9DE73D32", - "to": "statGetCurrentDrivingReverseDistance" - }, - { - "from": "_0xAFF47709F1D5DCCE", - "to": "statGetCurrentSkydivingDistance" - }, - { - "from": "_0x6E0A5253375C4584", - "to": "statGetChallengeFlyingDist" - }, - { - "from": "_0x1A8EA222F9C67DBB", - "to": "statGetFlyingAltitude" - }, - { - "from": "_0xF9F2922717B819EC", - "to": "statIsPlayerVehicleAboveOcean" - }, - { - "from": "_0x0B8B7F74BF061C6D", - "to": "statGetVehicleBailDistance" - }, - { - "from": "_0xB3DA2606774A8E2D", - "to": "statRollbackSaveMigration" - }, - { - "from": "setHasContentUnlocksFlags", - "to": "setHasSpecialeditionContent" - }, - { - "from": "setSaveMigrationTransactionId", - "to": "setSaveMigrationTransactionIdWarning" - }, - { - "from": "_0x6BC0ACD0673ACEBE", - "to": "getBossGoonUuid" - }, - { - "from": "_0x8D8ADB562F09A245", - "to": "playstatsBwBossonbossdeathmatch" - }, - { - "from": "_0xD1A1EE3B4FA8E760", - "to": "playstatsBwYatchattack" - }, - { - "from": "_0x88087EE1F28024AE", - "to": "playstatsBwHuntTheBoss" - }, - { - "from": "_0xFCC228E07217FCAC", - "to": "playstatsBwSightseer" - }, - { - "from": "_0x678F86D8FC040BDB", - "to": "playstatsBwAssault" - }, - { - "from": "_0xA6F54BB2FFCA35EA", - "to": "playstatsBwBellyOfTheBeast" - }, - { - "from": "_0x5FF2C33B13A02A11", - "to": "playstatsBwHeadHunter" - }, - { - "from": "_0x282B6739644F4347", - "to": "playstatsBwFragileGoods" - }, - { - "from": "_0xF06A6F41CB445443", - "to": "playstatsBwAirFreight" - }, - { - "from": "_0x7B18DA61F6BAE9D5", - "to": "playstatsBcCarJacking" - }, - { - "from": "_0x06EAF70AE066441E", - "to": "playstatsBcSmashAndGrab" - }, - { - "from": "_0x14EDA9EE27BD1626", - "to": "playstatsBcProtectionRacket" - }, - { - "from": "_0x930F504203F561C9", - "to": "playstatsBcMostWanted" - }, - { - "from": "_0xE3261D791EB44ACB", - "to": "playstatsBcFindersKeepers" - }, - { - "from": "_0x73001E34F85137F8", - "to": "playstatsBcPointToPoint" - }, - { - "from": "_0x53CAE13E9B426993", - "to": "playstatsBcCashing" - }, - { - "from": "_0x7D36291161859389", - "to": "playstatsBcSalvage" - }, - { - "from": "playstatsBuyContraband", - "to": "playstatsBuyContrabandMission" - }, - { - "from": "playstatsSellContraband", - "to": "playstatsSellContrabandMission" - }, - { - "from": "playstatsDefendContraband", - "to": "playstatsDefendContrabandMission" - }, - { - "from": "playstatsRecoverContraband", - "to": "playstatsRecoverContrabandMission" - }, - { - "from": "_0x60EEDC12AF66E846", - "to": "playstatsHitContrabandDestroyLimit" - }, - { - "from": "_0x3EBEAC6C3F81F6BD", - "to": "startBeingBoss" - }, - { - "from": "_0x96E6D5150DBF1C09", - "to": "startBeingGoon" - }, - { - "from": "_0xA3C53804BDB68ED2", - "to": "endBeingBoss" - }, - { - "from": "_0x6BCCF9948492FD85", - "to": "endBeingGoon" - }, - { - "from": "orderedBossVehicle", - "to": "orderBossVehicle" - }, - { - "from": "_0xD1C9B92BDD3F151D", - "to": "changeUniform" - }, - { - "from": "_0x44919CC079BB60BF", - "to": "changeGoonLookingForWork" - }, - { - "from": "_0x7033EEFD9B28088E", - "to": "sendMetricGhostingToPlayer" - }, - { - "from": "_0xAA525DFF66BB82F5", - "to": "sendMetricVipPoach" - }, - { - "from": "_0x015B03EE1C43E6EC", - "to": "sendMetricPunishBodyguard" - }, - { - "from": "playstatsStuntPerformedEventAllowTrigger", - "to": "playstatsStartTrackingStunts" - }, - { - "from": "playstatsStuntPerformedEventDisallowTrigger", - "to": "playstatsStopTrackingStunts" - }, - { - "from": "_0xBF371CD2B64212FD", - "to": "playstatsMissionEnded" - }, - { - "from": "_0x7D8BA05688AD64C7", - "to": "playstatsImpexpMissionEnded" - }, - { - "from": "_0x0B565B0AAE56A0E8", - "to": "playstatsChangeMcRole" - }, - { - "from": "_0x28ECB8AC2F607DB2", - "to": "playstatsChangeMcOutfit" - }, - { - "from": "playstatsChangeMcEmblem", - "to": "playstatsSwitchMcEmblem" - }, - { - "from": "_0xCC25A4553DFBF9EA", - "to": "playstatsMcRequestBike" - }, - { - "from": "_0xF534D94DFA2EAD26", - "to": "playstatsMcKilledRivalMcMember" - }, - { - "from": "_0xD558BEC0BBA7E8D2", - "to": "playstatsAbandonedMc" - }, - { - "from": "_0x03C2EEBB04B3FB72", - "to": "playstatsMcFormationEnds" - }, - { - "from": "_0x8989CBD7B4E82534", - "to": "playstatsMcClubhouseActivity" - }, - { - "from": "_0x27AA1C973CACFE63", - "to": "playstatsRivalBehavior" - }, - { - "from": "playstatsDupeDetection", - "to": "playstatsDupeDetected" - }, - { - "from": "playstatsGunrunMissionEnded", - "to": "playstatsGunrunningMissionEnded" - }, - { - "from": "_0xDAF80797FC534BEC", - "to": "playstatsGunrunningRnd" - }, - { - "from": "_0x316DB59CD14C1774", - "to": "playstatsBusinessBattleEnded" - }, - { - "from": "_0x2D7A9B577E72385E", - "to": "playstatsWarehouseMissionEnded" - }, - { - "from": "_0x830C3A44EB3F2CF9", - "to": "playstatsNightclubMissionEnded" - }, - { - "from": "_0xB26F670685631727", - "to": "playstatsDjUsage" - }, - { - "from": "_0xC14BD9F5337219B2", - "to": "playstatsMinigameUsage" - }, - { - "from": "playstatsStoneHatchetEnd", - "to": "playstatsStoneHatchetEnded" - }, - { - "from": "playstatsSmugMissionEnded", - "to": "playstatsSmugglerMissionEnded" - }, - { - "from": "playstatsH2FmprepEnd", - "to": "playstatsFmHeistPrepEnded" - }, - { - "from": "playstatsH2InstanceEnd", - "to": "playstatsInstancedHeistEnded" - }, - { - "from": "playstatsDarMissionEnd", - "to": "playstatsDarCheckpoint" - }, - { - "from": "playstatsSpectatorWheelSpin", - "to": "playstatsSpinWheel" - }, - { - "from": "playstatsArenaWarSpectator", - "to": "playstatsArenaWarsSpectator" - }, - { - "from": "playstatsPassiveMode", - "to": "playstatsSwitchPassiveMode" - }, - { - "from": "playstatsCollectible", - "to": "playstatsCollectiblePickedUp" - }, - { - "from": "playstatsCasinoThreecardpoker", - "to": "playstatsCasinoThreeCardPoker" - }, - { - "from": "playstatsCasinoSlotmachine", - "to": "playstatsCasinoSlotMachine" - }, - { - "from": "playstatsCasinoInsidetrack", - "to": "playstatsCasinoInsideTrack" - }, - { - "from": "playstatsCasinoLuckyseven", - "to": "playstatsCasinoLuckySeven" - }, - { - "from": "playstatsCasinoThreecardpokerLight", - "to": "playstatsCasinoThreeCardPokerLight" - }, - { - "from": "playstatsCasinoSlotmachineLight", - "to": "playstatsCasinoSlotMachineLight" - }, - { - "from": "playstatsCasinoInsidetrackLight", - "to": "playstatsCasinoInsideTrackLight" - }, - { - "from": "playstatsArcadegame", - "to": "playstatsArcadeGame" - }, - { - "from": "_0x4FCDBD3F0A813C25", - "to": "playstatsArcadeLoveMatch" - }, - { - "from": "playstatsCasinoMissionEnded", - "to": "playstatsFreemodeCasinoMissionEnded" - }, - { - "from": "_0xDFBD93BF2943E29B", - "to": "playstatsHeist3Drone" - }, - { - "from": "_0x92FC0EEDFAC04A14", - "to": "playstatsHeist3Hack" - }, - { - "from": "_0x0077F15613D36993", - "to": "playstatsNpcPhone" - }, - { - "from": "_0xF9096193DF1F99D4", - "to": "playstatsArcadeCabinet" - }, - { - "from": "_0x2E0259BABC27A327", - "to": "playstatsHeist3Finale" - }, - { - "from": "_0x53C31853EC9531FF", - "to": "playstatsHeist3Prep" - }, - { - "from": "_0x810B5FCC52EC7FF0", - "to": "playstatsMasterControl" - }, - { - "from": "_0x5BF29846C6527C54", - "to": "playstatsQuitMode" - }, - { - "from": "_0xC03FAB2C2F92289B", - "to": "playstatsMissionVote" - }, - { - "from": "_0x5CDAED54B34B0ED0", - "to": "playstatsNjvsVote" - }, - { - "from": "_0x4AFF7E02E485E92B", - "to": "playstatsKillYourself" - }, - { - "from": "_0xDFCDB14317A9B361", - "to": "playstatsHeist4Prep" - }, - { - "from": "_0xC1E963C58664B556", - "to": "playstatsHeist4Finale" - }, - { - "from": "_0x2FA3173480008493", - "to": "playstatsHeist4Hack" - }, - { - "from": "_0xD4367D310F079DB0", - "to": "playstatsSubWeap" - }, - { - "from": "_0x4DC416F246A41FC8", - "to": "playstatsFastTrvl" - }, - { - "from": "_0x2818FF6638CB09DE", - "to": "playstatsHubEntry" - }, - { - "from": "_0xD6CA58B3B53A0F22", - "to": "playstatsDjMissionEnded" - }, - { - "from": "loadGlobalWaterType", - "to": "loadGlobalWaterFile" - }, - { - "from": "getGlobalWaterType", - "to": "getGlobalWaterFile" - }, - { - "from": "_0x0811381EF5062FEC", - "to": "setRestoreFocusEntity" - }, - { - "from": "_0x4E52E752C76E7E7A", - "to": "setAllMapdataCulled" - }, - { - "from": "_0x71E7B2E657449AAD", - "to": "isSafeToStartPlayerSwitch" - }, - { - "from": "_0x5F2013F8BC24EE69", - "to": "setPlayerShortSwitchStyle" - }, - { - "from": "switchOutPlayer", - "to": "switchToMultiFirstpart" - }, - { - "from": "switchInPlayer", - "to": "switchToMultiSecondpart" - }, - { - "from": "_0x933BBEEB8C61B5F4", - "to": "isSwitchToMultiFirstpartFinished" - }, - { - "from": "_0x1E9057A74FD73E23", - "to": "setSceneStreamingTracksCamPosThisFrame" - }, - { - "from": "_0xBED8CA5FF5E04113", - "to": "remapLodscaleRangeThisFrame" - }, - { - "from": "_0x472397322E92A856", - "to": "suppressHdMapStreamingThisFrame" - }, - { - "from": "_0x03F1A106BDA7DD3E", - "to": "forceAllowTimeBasedFadingThisFrame" - }, - { - "from": "_0x95A7DABDDBB78AE7", - "to": "iplGroupSwapStart" - }, - { - "from": "_0x63EB2B972A218CAC", - "to": "iplGroupSwapCancel" - }, - { - "from": "_0xFB199266061F820A", - "to": "iplGroupSwapIsReady" - }, - { - "from": "_0xF4A0DADB70F57FA6", - "to": "iplGroupSwapFinish" - }, - { - "from": "_0x5068F488DDB54DD8", - "to": "iplGroupSwapIsActive" - }, - { - "from": "_0xEF39EE20C537E98C", - "to": "setSrlPostCutsceneCamera" - }, - { - "from": "_0xBEB2D9A1D9A8F55A", - "to": "setSrlReadaheadTimes" - }, - { - "from": "_0x20C6C7E4EB082A7F", - "to": "setSrlLongJumpMode" - }, - { - "from": "_0xF8155A7F03DDFC8E", - "to": "setSrlForcePrestream" - }, - { - "from": "getUsedCreatorModelMemoryPercentage", - "to": "getUsedCreatorBudget" - }, - { - "from": "setIslandHopperEnabled", - "to": "setIslandEnabled" - }, - { - "from": "_0x3E38E28A1D80DDF6", - "to": "isControlledVehicleUnableToGetToRoad" - }, - { - "from": "setAnimPlaybackTime", - "to": "setAnimPhase" - }, - { - "from": "_0x6100B3CEFD43452E", - "to": "clearDefaultPrimaryTask" - }, - { - "from": "clearVehicleTasks", - "to": "clearPrimaryVehicleTask" - }, - { - "from": "_0x53DDC75BC3AC0A90", - "to": "clearVehicleCrashTask" - }, - { - "from": "taskRappelDownWall", - "to": "taskRappelDownWallUsingClipsetOverride" - }, - { - "from": "_0x9D252648778160DF", - "to": "getTaskRappelDownWallState" - }, - { - "from": "_0xFA83CA6776038F64", - "to": "removeCoverBlockingAreasAtPosition" - }, - { - "from": "_0x1F351CF1C6475734", - "to": "removeSpecificCoverBlockingAreas" - }, - { - "from": "_0x29682E2CCF21E9B5", - "to": "taskMoveNetworkAdvancedByNameWithInitParams" - }, - { - "from": "_0xAB13A5565480B6D9", - "to": "setExpectedCloneNextTaskMoveNetworkState" - }, - { - "from": "_0x8423541E8B3A1589", - "to": "setTaskMoveNetworkAnimSet" - }, - { - "from": "setTaskMoveNetworkSignalFloat2", - "to": "setTaskMoveNetworkSignalLocalFloat" - }, - { - "from": "_0x8634CEF2522D987B", - "to": "setTaskMoveNetworkSignalFloatLerpRate" - }, - { - "from": "_0x0FFB3C758E8C07B9", - "to": "setTaskMoveNetworkEnableCollisionOnNetworkCloneWhenFixed" - }, - { - "from": "taskAgitatedAction", - "to": "taskAgitatedActionConfrontResponse" - }, - { - "from": "_0x7D6F9A3EF26136A0", - "to": "setVehicleAllowHomingMissleLockon" - }, - { - "from": "setVehicleCanBeLockedOn", - "to": "setVehicleAllowHomingMissleLockonSynced" - }, - { - "from": "_0x6EAAEFC76ACC311F", - "to": "getVehicleHomingLockedontoState" - }, - { - "from": "_0x407DC5E97DB1A4D3", - "to": "setVehicleHomingLockedontoState" - }, - { - "from": "_0x9A75585FB2E54FAD", - "to": "setVehicleGeneratorAreaOfInterest" - }, - { - "from": "_0x0A436B8643716D14", - "to": "clearVehicleGeneratorAreaOfInterest" - }, - { - "from": "setVehicleDoorsLockedForUnk", - "to": "setVehicleDoorsLockedForAllTeams" - }, - { - "from": "_0x76D26A22750E849E", - "to": "setVehicleDontTerminateTaskWhenAchieved" - }, - { - "from": "_0xAB31EF4DE6800CE9", - "to": "setGoonBossVehicle" - }, - { - "from": "_0x1B212B26DD3C04DF", - "to": "setOpenRearDoorsOnExplosion" - }, - { - "from": "_0xC67DB108A9ADE3BE", - "to": "forceSubmarineNeurtalBuoyancy" - }, - { - "from": "getSubmarineIsBelowFirstCrushDepth", - "to": "getSubmarineIsUnderDesignDepth" - }, - { - "from": "getSubmarineCrushDepthWarningState", - "to": "getSubmarineNumberOfAirLeaks" - }, - { - "from": "_0xED5EDE9E676643C9", - "to": "setBoatIgnoreLandProbes" - }, - { - "from": "canAnchorBoatHere2", - "to": "canAnchorBoatHereIgnorePlayers" - }, - { - "from": "setBoatFrozenWhenAnchored", - "to": "setBoatRemainsAnchoredWhilePlayerIsDriver" - }, - { - "from": "_0xB28B1FE5BFADD7F5", - "to": "setForceLowLodAnchorMode" - }, - { - "from": "setBoatMovementResistance", - "to": "setBoatLowLodAnchorDistance" - }, - { - "from": "isBoatAnchoredAndFrozen", - "to": "isBoatAnchored" - }, - { - "from": "setBoatIsSinking", - "to": "setBoatWrecked" - }, - { - "from": "_0x6501129C9E0FFA05", - "to": "setVehicleForwardSpeedXy" - }, - { - "from": "_0xDCE97BDF8A0EABC8", - "to": "setVehicleSteerForBuildings" - }, - { - "from": "_0x9849DE24FCF23CCC", - "to": "setVehicleCausesSwerving" - }, - { - "from": "_0x8664170EF165C4A6", - "to": "setIgnorePlanesSmallPitchChange" - }, - { - "from": "stopBringVehicleToHalt", - "to": "stopBringingVehicleToHalt" - }, - { - "from": "isVehicleBeingHalted", - "to": "isVehicleBeingBroughtToHalt" - }, - { - "from": "findVehicleCarryingThisEntity", - "to": "findHandlerVehicleContainerIsAttachedTo" - }, - { - "from": "isHandlerFrameAboveContainer", - "to": "isHandlerFrameLinedUpWithContainer" - }, - { - "from": "_0x6A98C2ECF57FA5D4", - "to": "attachContainerToHandlerFrameWhenLinedUp" - }, - { - "from": "_0x8AA9180DE2FEDD45", - "to": "setVehicleDisableHeightMapAvoidance" - }, - { - "from": "_0x107A473D7A6647A9", - "to": "setShortSlowdownForLanding" - }, - { - "from": "_0x3B458DDB57038F08", - "to": "setVehicleDoorAutoLock" - }, - { - "from": "_0xA247F9EF01D8082E", - "to": "setFleeingVehiclesUseSwitchedOffNodes" - }, - { - "from": "ejectJb700Roof", - "to": "popOffVehicleRoofWithImpulse" - }, - { - "from": "setVehicleLightsMode", - "to": "setVehicleHeadlightShadows" - }, - { - "from": "_0x8821196D91FA2DE5", - "to": "setVehicleForceInteriorlight" - }, - { - "from": "_0x2310A8F9421EBF43", - "to": "allowTrainToBeRemovedByPopulation" - }, - { - "from": "setRandomBoatsInMp", - "to": "setRandomBoatsMp" - }, - { - "from": "_0x5845066D8A1EA7F7", - "to": "setAdditionalRotationForRecordedVehiclePlayback" - }, - { - "from": "_0x796A877E459B99EA", - "to": "setPositionOffsetForRecordedVehiclePlayback" - }, - { - "from": "_0xFAF2A78061FD9EF4", - "to": "setGlobalPositionOffsetForRecordedVehiclePlayback" - }, - { - "from": "_0x063AE2B2CC273588", - "to": "setShouldLerpFromAiToFullRecording" - }, - { - "from": "_0x99CAD8E7AFDB60FA", - "to": "forceSubThrottleForTime" - }, - { - "from": "_0xDBC631F109350B8C", - "to": "setDontAllowPlayerToEnterVehicleIfLockedForPlayer" - }, - { - "from": "_0x2311DD7159F00582", - "to": "setVehicleRespectsLocksWhenHasDriver" - }, - { - "from": "_0x065D03A9D6B2C6B5", - "to": "setVehicleCanEjectPassengersIfLocked" - }, - { - "from": "isVehicleDamaged", - "to": "getDoesVehicleHaveDamageDecals" - }, - { - "from": "_0xC4B3347BD68BD609", - "to": "setVehicleRemoveAggressiveCarjackMission" - }, - { - "from": "_0xD3301660A57C9272", - "to": "setVehicleAvoidPlayerVehicleRiotVanMission" - }, - { - "from": "_0xB9562064627FF9DB", - "to": "setCarjackMissionRemovalParameters" - }, - { - "from": "setVehicleXenonLightsColor", - "to": "setVehicleXenonLightColorIndex" - }, - { - "from": "getVehicleXenonLightsColor", - "to": "getVehicleXenonLightColorIndex" - }, - { - "from": "_0xBE5C1255A1830FF5", - "to": "setVehicleWillForceOtherVehiclesToStop" - }, - { - "from": "_0x9BECD4B9FEF3F8A6", - "to": "setVehicleActAsIfHasSirenOn" - }, - { - "from": "_0x88BC673CA9E0AE99", - "to": "setVehicleUseMoreRestrictiveSpawnChecks" - }, - { - "from": "_0xE851E480B814D4BA", - "to": "setVehicleMayBeUsedByGotoPointAnyMeans" - }, - { - "from": "getVehicleDoorDestroyType", - "to": "getVehicleIndividualDoorLockStatus" - }, - { - "from": "setVehicleDoorCanBreak", - "to": "setDoorAllowedToBeBrokenOff" - }, - { - "from": "getVehicleModelMonetaryValue", - "to": "getVehicleModelValue" - }, - { - "from": "_0xA01BC64DD4BFBBAC", - "to": "getInVehicleClipsetHashForSeat" - }, - { - "from": "setVehicleInteriorColor", - "to": "setVehicleExtraColour5" - }, - { - "from": "getVehicleInteriorColor", - "to": "getVehicleExtraColour5" - }, - { - "from": "setVehicleDashboardColor", - "to": "setVehicleExtraColour6" - }, - { - "from": "getVehicleDashboardColor", - "to": "getVehicleExtraColour6" - }, - { - "from": "setVehicleCanEngineOperateOnFire", - "to": "setVehicleCanEngineMissfire" - }, - { - "from": "_0xC50CE861B55EAB8B", - "to": "setVehicleLimitSpeedWhenPlayerInactive" - }, - { - "from": "_0x6EBFB22D646FFC18", - "to": "setVehicleStopInstantlyWhenPlayerInactive" - }, - { - "from": "doesVehicleTyreExist", - "to": "isExtraBrokenOff" - }, - { - "from": "transformVehicleToSubmarine", - "to": "transformToSubmarine" - }, - { - "from": "transformSubmarineToVehicle", - "to": "transformToCar" - }, - { - "from": "getIsSubmarineVehicleTransformed", - "to": "isVehicleInSubmarineMode" - }, - { - "from": "_0x35BB21DE06784373", - "to": "setVehicleOccupantsTakeExplosiveDamage" - }, - { - "from": "_0x9F3F689B814F2599", - "to": "setVehicleBlipThrottleRandomly" - }, - { - "from": "_0x4E74E62E0A97E901", - "to": "setPoliceFocusWillTrackVehicle" - }, - { - "from": "setVehicleSilent", - "to": "setVehicleInCarModShop" - }, - { - "from": "setVehicleRoofLivery", - "to": "setVehicleLivery2" - }, - { - "from": "getVehicleRoofLivery", - "to": "getVehicleLivery2" - }, - { - "from": "getVehicleRoofLiveryCount", - "to": "getVehicleLivery2Count" - }, - { - "from": "setHeliTailExplodeThrowDashboard", - "to": "setHeliTailBoomCanBreakOff" - }, - { - "from": "_0xD565F438137F0E10", - "to": "setVehicleExplodesOnExplosionDamageAtZeroBodyHealth" - }, - { - "from": "_0x3441CAD2F2231923", - "to": "setAllowVehicleExplodesOnContact" - }, - { - "from": "doesVehicleHaveLandingGear", - "to": "getVehicleHasLandingGear" - }, - { - "from": "_0x0581730AB9380412", - "to": "setVehicleTurretTarget" - }, - { - "from": "_0x737E398138550FFF", - "to": "setVehicleTankStationary" - }, - { - "from": "setDisableVehicleFlightNozzlePosition", - "to": "setDisableVerticalFlightModeTransition" - }, - { - "from": "_0xA4822F1CF23F4810", - "to": "generateVehicleCreationPosFromPaths" - }, - { - "from": "setVehicleReduceTraction", - "to": "setVehicleReduceGripLevel" - }, - { - "from": "hasFilledVehiclePopulation", - "to": "hasInstantFillVehiclePopulationFinished" - }, - { - "from": "_0x51DB102F4A3BA5E0", - "to": "networkEnableEmptyCrowdingVehiclesRemoval" - }, - { - "from": "_0xA4A9A4C40E615885", - "to": "networkCapEmptyCrowdingVehiclesRemoval" - }, - { - "from": "getVehicleModelEstimatedAgility", - "to": "getVehicleModelAccelerationMaxMods" - }, - { - "from": "getVehicleModelMaxKnots", - "to": "getFlyingVehicleModelAgility" - }, - { - "from": "getVehicleModelMoveResistance", - "to": "getBoatVehicleModelAgility" - }, - { - "from": "areBombBayDoorsOpen", - "to": "getAreBombBayDoorsOpen" - }, - { - "from": "isVehicleSeatAccessible", - "to": "isEntryPointForSeatClear" - }, - { - "from": "getEntryPositionOfDoor", - "to": "getEntryPointPosition" - }, - { - "from": "_0xEEBFC7A7EFDC35B4", - "to": "getVehicleColoursWhichCanBeSet" - }, - { - "from": "_0x5EE5632F47AE9695", - "to": "overridePlaneDamageThrehsold" - }, - { - "from": "isVehicleEngineOnFire", - "to": "getBothVehicleHeadlightsDamaged" - }, - { - "from": "_0x1CF38D529D7441D9", - "to": "setVehicleStaysFrozenWhenCleanedUp" - }, - { - "from": "_0x1F9FB66F3A3842D2", - "to": "setVehicleActAsIfHighSpeedForFragSmashing" - }, - { - "from": "_0x59C3757B3B7408E8", - "to": "setPedsCanFallOffThisVehicleFromLargeFallDamage" - }, - { - "from": "_0x0AD9E8F87FF7C16F", - "to": "setVehicleInfluencesWantedLevel" - }, - { - "from": "setBoatBoomPositionRatio", - "to": "swingBoatBoomToRatio" - }, - { - "from": "getBoatBoomPositionRatio2", - "to": "swingBoatBoomFreely" - }, - { - "from": "getBoatBoomPositionRatio3", - "to": "allowBoatBoomToAnimate" - }, - { - "from": "_0xAB04325045427AAE", - "to": "setVehicleNotStealableAmbiently" - }, - { - "from": "_0xCFD778E7904C255E", - "to": "lockDoorsWhenNoLongerNeeded" - }, - { - "from": "getVehicleNumberOfBrokenOffBones", - "to": "getVehicleNumOfBrokenOffParts" - }, - { - "from": "getVehicleNumberOfBrokenBones", - "to": "getVehicleNumOfBrokenLoosenParts" - }, - { - "from": "_0x4D9D109F63FEE1D4", - "to": "setForceVehicleEngineDamageByBullet" - }, - { - "from": "_0xF25E02CB9C5818F8", - "to": "disableVehicleExplosionBreakOffParts" - }, - { - "from": "_0x182F266C2D9E2BEB", - "to": "setVehicleCustomPathNodeStreamingRadius" - }, - { - "from": "_0xF051D9BFB6BA39C0", - "to": "setVehicleSlipstreamingShouldTimeOut" - }, - { - "from": "getVehicleCurrentSlipstreamDraft", - "to": "getVehicleCurrentTimeInSlipStream" - }, - { - "from": "isVehicleSlipstreamLeader", - "to": "isVehicleProducingSlipStream" - }, - { - "from": "setVehicleShadowEffect", - "to": "disableVehcileDynamicAmbientScales" - }, - { - "from": "removeVehicleShadowEffect", - "to": "enableVehicleDynamicAmbientScales" - }, - { - "from": "setPlanePropellersHealth", - "to": "setPlanePropellerHealth" - }, - { - "from": "arePlaneWingsIntact", - "to": "areWingsOfPlaneIntact" - }, - { - "from": "_0xB264C4D2F2B0A78B", - "to": "allowAmbientVehiclesToAvoidAdverseConditions" - }, - { - "from": "setCargobobHookCanDetach", - "to": "setCargobobForceDontDetachVehicle" - }, - { - "from": "_0x1F34B0626C594380", - "to": "setCargobobExcludeFromPickupEntity" - }, - { - "from": "_0x2C1D8B3B19E517CC", - "to": "canCargobobPickUpEntity" - }, - { - "from": "getCargobobHookPosition", - "to": "getAttachedPickUpHookPosition" - }, - { - "from": "_0xC0ED6438E6D39BA8", - "to": "setPickupRopeLengthWithoutCreatingRopeForCargobob" - }, - { - "from": "setCargobobPickupMagnetEffectRadius", - "to": "setCargobobPickupMagnetFalloff" - }, - { - "from": "setCargobobPickupMagnetReducedFalloff", - "to": "setCargobobPickupMagnetReducedStrength" - }, - { - "from": "setCargobobPickupMagnetPullRopeLength", - "to": "setCargobobPickupMagnetReducedFalloff" - }, - { - "from": "setCargobobPickupMagnetFalloff", - "to": "setCargobobPickupMagnetPullRopeLength" - }, - { - "from": "setCargobobPickupMagnetReducedStrength", - "to": "setCargobobPickupMagnetSetTargetedMode" - }, - { - "from": "_0x9BDDC73CC6A115D4", - "to": "setCargobobPickupMagnetSetAmbientMode" - }, - { - "from": "_0x56EB5E94318D3FB6", - "to": "setCargobobPickupMagnetEnsurePickupEntityUpright" - }, - { - "from": "_0x2C4A1590ABF43E8B", - "to": "setVehicleWillTellOthersToHurry" - }, - { - "from": "_0xE05DD0E9707003A3", - "to": "setVehicleUsedForPilotSchool" - }, - { - "from": "_0xE5810AC70602F2F5", - "to": "setAircraftPilotSkillNoiseScalar" - }, - { - "from": "setVehicleJetEngineOn", - "to": "setVehicleKeepEngineOnWhenAbandoned" - }, - { - "from": "_0x6A973569BA094650", - "to": "setVehicleImpatienceTimer" - }, - { - "from": "setVehicleHandlingHashForAi", - "to": "setVehicleHandlingOverride" - }, - { - "from": "setHelicopterRollPitchYawMult", - "to": "setHeliControlLaggingRateScalar" - }, - { - "from": "_0xF78F94D60248C737", - "to": "arePlaneControlPanelsIntact" - }, - { - "from": "_0x5E569EC46EC21CAE", - "to": "setVehicleNoExplosionDamageFromDriver" - }, - { - "from": "_0x41062318F23ED854", - "to": "setVehicleAiCanUseExclusiveSeats" - }, - { - "from": "setDisableVehicleWindowCollisions", - "to": "setDontProcessVehicleGlass" - }, - { - "from": "_0x4AD280EB48B2D8E6", - "to": "setDisableWantedConesResponse" - }, - { - "from": "_0xB68CFAF83A02768D", - "to": "setUseDesiredZCruiseSpeedForLanding" - }, - { - "from": "_0x0205F5365292D2EB", - "to": "setArriveDistanceOverrideForVehiclePersuitAttack" - }, - { - "from": "_0xCF9159024555488C", - "to": "setVehicleReadyForCleanup" - }, - { - "from": "setVehicleNeonLightsColour", - "to": "setVehicleNeonColour" - }, - { - "from": "_0xB93B2867F7B479D1", - "to": "setVehicleNeonIndexColour" - }, - { - "from": "getVehicleNeonLightsColour", - "to": "getVehicleNeonColour" - }, - { - "from": "setVehicleNeonLightEnabled", - "to": "setVehicleNeonEnabled" - }, - { - "from": "isVehicleNeonLightEnabled", - "to": "getVehicleNeonEnabled" - }, - { - "from": "_0x35E0654F4BAD7971", - "to": "setAmbientVehicleNeonEnabled" - }, - { - "from": "disableVehicleNeonLights", - "to": "suppressNeonsOnVehicle" - }, - { - "from": "setDisableSuperdummyMode", - "to": "setDisableSuperdummy" - }, - { - "from": "requestVehicleDashboardScaleformMovie", - "to": "requestVehicleDial" - }, - { - "from": "getVehicleSuspensionBounds", - "to": "getVehicleSize" - }, - { - "from": "getVehicleSuspensionHeight", - "to": "getFakeSuspensionLoweringAmount" - }, - { - "from": "setHydraulicRaised", - "to": "setHydraulicsControl" - }, - { - "from": "_0xA7DCDF4DED40A8F4", - "to": "setCanAdjustGroundClearance" - }, - { - "from": "getVehicleBodyHealth2", - "to": "getVehicleHealthPercentage" - }, - { - "from": "_0xD4C4642CB7F50B5D", - "to": "getVehicleIsMercenary" - }, - { - "from": "_0xC361AA040D6637A8", - "to": "setVehicleBrokenPartsDontAffectAiHandling" - }, - { - "from": "_0xE16142B94664DEFD", - "to": "setPlaneResistToExplosion" - }, - { - "from": "_0x26D99D5A82FD18E8", - "to": "setDisableBmxExtraTrickForces" - }, - { - "from": "setHydraulicWheelValue", - "to": "setHydraulicSuspensionRaiseFactor" - }, - { - "from": "getHydraulicWheelValue", - "to": "getHydraulicSuspensionRaiseFactor" - }, - { - "from": "setCamberedWheelsDisabled", - "to": "setCanUseHydraulics" - }, - { - "from": "setHydraulicWheelState", - "to": "setHydraulicVehicleState" - }, - { - "from": "setHydraulicWheelStateTransition", - "to": "setHydraulicWheelState" - }, - { - "from": "_0x5BA68A0840D546AC", - "to": "hasVehiclePetroltankSetOnFireByEntity" - }, - { - "from": "_0x4419966C9936071A", - "to": "clearVehiclePetroltankFireCulprit" - }, - { - "from": "_0x870B8B7A766615C8", - "to": "setVehicleBobbleheadVelocity" - }, - { - "from": "_0x8533CAFDE1F0F336", - "to": "getVehicleIsDummy" - }, - { - "from": "setVehicleDamageModifier", - "to": "setVehicleDamageScale" - }, - { - "from": "setVehicleUnkDamageMultiplier", - "to": "setVehicleWeaponDamageScale" - }, - { - "from": "_0xD4196117AF7BB974", - "to": "setDisableDamageWithPickedUpEntity" - }, - { - "from": "_0xBB2333BB87DDD87F", - "to": "setVehicleUsesMpPlayerDamageMultiplier" - }, - { - "from": "_0x73561D4425A021A2", - "to": "setBikeEasyToLand" - }, - { - "from": "setVehicleControlsInverted", - "to": "setInvertVehicleControls" - }, - { - "from": "_0x7BBE7FF626A591FE", - "to": "setSpeedBoostEffectDisabled" - }, - { - "from": "_0x65B080555EA48149", - "to": "setSlowDownEffectDisabled" - }, - { - "from": "_0x428AD3E26C8D9EB0", - "to": "setFormationLeader" - }, - { - "from": "_0xE2F53F172B45EDE1", - "to": "resetFormationLeader" - }, - { - "from": "_0xBA91D045575699AD", - "to": "getIsBoatCapsized" - }, - { - "from": "_0x80E3357FDEF45C21", - "to": "setAllowRammingSoopOrRamp" - }, - { - "from": "setVehicleRampLaunchModifier", - "to": "setScriptRampImpulseScale" - }, - { - "from": "setVehicleRocketBoostRefillTime", - "to": "setScriptRocketBoostRechargeTime" - }, - { - "from": "isVehicleRocketBoostActive", - "to": "isRocketBoostActive" - }, - { - "from": "setVehicleRocketBoostActive", - "to": "setRocketBoostActive" - }, - { - "from": "getIsWheelsLoweredStateActive", - "to": "getIsWheelsRetracted" - }, - { - "from": "raiseRetractableWheels", - "to": "setWheelsExtendedInstantly" - }, - { - "from": "lowerRetractableWheels", - "to": "setWheelsRetractedInstantly" - }, - { - "from": "getCanVehicleJump", - "to": "getCarHasJump" - }, - { - "from": "setUseHigherVehicleJumpForce", - "to": "setUseHigherCarJump" - }, - { - "from": "_0xB2E0C0D6922D31F2", - "to": "setClearFreezeWaitingOnCollisionOncePlayerEnters" - }, - { - "from": "setVehicleWeaponCapacity", - "to": "setVehicleWeaponRestrictedAmmo" - }, - { - "from": "getVehicleWeaponCapacity", - "to": "getVehicleWeaponRestrictedAmmo" - }, - { - "from": "getVehicleCanActivateParachute", - "to": "getVehicleCanDeployParachute" - }, - { - "from": "setVehicleParachuteActive", - "to": "vehicleStartParachuting" - }, - { - "from": "_0x3DE51E9C80B116CF", - "to": "isVehicleParachuteDeployed" - }, - { - "from": "setVehicleReceivesRampDamage", - "to": "vehicleSetRampAndRammingCarsTakeDamage" - }, - { - "from": "setVehicleRampSidewaysLaunchMotion", - "to": "vehicleSetEnableRampCarSideImpulse" - }, - { - "from": "setVehicleRampUpwardsLaunchMotion", - "to": "vehicleSetEnableNormaliseRampCarVerticalVeloctiy" - }, - { - "from": "_0x9D30687C57BAA0BB", - "to": "vehicleSetJetWashForceEnabled" - }, - { - "from": "setVehicleWeaponsDisabled", - "to": "setVehicleWeaponCanTargetObjects" - }, - { - "from": "_0x41290B40FA63E6DA", - "to": "setVehicleUseBoostButtonForWheelRetract" - }, - { - "from": "setVehicleParachuteModel", - "to": "vehicleSetParachuteModelOverride" - }, - { - "from": "setVehicleParachuteTextureVariation", - "to": "vehicleSetParachuteModelTintIndex" - }, - { - "from": "_0x0419B167EE128F33", - "to": "vehicleSetOverrideExtenableSideRatio" - }, - { - "from": "_0xF3B0E0AED097A3F5", - "to": "vehicleSetExtenableSideTargetRatio" - }, - { - "from": "_0xD3E51C0AB8C26EEE", - "to": "vehicleSetOverrideSideRatio" - }, - { - "from": "_0x72BECCF4B829522E", - "to": "setCargobobExtaPickupRange" - }, - { - "from": "_0x66E3AAFACE2D1EB8", - "to": "setOverrideVehicleDoorTorque" - }, - { - "from": "_0x1312DDD8385AEE4E", - "to": "setWheelieEnabled" - }, - { - "from": "_0xEDBC8405B3895CC9", - "to": "setDisableHeliExplodeFromBodyDamage" - }, - { - "from": "_0x26E13D440E7F6064", - "to": "setDisableExplodeFromBodyDamageOnCollision" - }, - { - "from": "_0x2FA2494B47FDD009", - "to": "setTrailerAttachmentEnabled" - }, - { - "from": "setVehicleRocketBoostPercentage", - "to": "setRocketBoostFill" - }, - { - "from": "setOppressorTransformState", - "to": "setGliderActive" - }, - { - "from": "_0x78CEEE41F49F421F", - "to": "setShouldResetTurretInScriptedCameras" - }, - { - "from": "_0xAF60E6A2936F982A", - "to": "setVehicleDisableCollisionUponCreation" - }, - { - "from": "_0x430A7631A84C9BE7", - "to": "setGroundEffectReducesDrag" - }, - { - "from": "disableVehicleWorldCollision", - "to": "setDisableMapCollision" - }, - { - "from": "_0x8235F1BEAD557629", - "to": "setDisablePedStandOnTop" - }, - { - "from": "_0x9640E30A7F395E4B", - "to": "setVehicleDamageScales" - }, - { - "from": "_0x0BBB9A7A8FFE931B", - "to": "setPlaneSectionDamageScale" - }, - { - "from": "setCargobobHookCanAttach", - "to": "setHeliCanPickupEntityThatHasPickUpDisabled" - }, - { - "from": "setVehicleBombCount", - "to": "setVehicleBombAmmo" - }, - { - "from": "getVehicleBombCount", - "to": "getVehicleBombAmmo" - }, - { - "from": "setVehicleCountermeasureCount", - "to": "setVehicleCountermeasureAmmo" - }, - { - "from": "getVehicleCountermeasureCount", - "to": "getVehicleCountermeasureAmmo" - }, - { - "from": "_0x0A3F820A9A9A9AC5", - "to": "setHeliCombatOffset" - }, - { - "from": "_0x51F30DB60626A20E", - "to": "getCanVehicleBePlacedHere" - }, - { - "from": "_0x97841634EF7DF1D6", - "to": "setDisableAutomaticCrashTask" - }, - { - "from": "setVehicleHoverTransformRatio", - "to": "setSpecialFlightModeRatio" - }, - { - "from": "setVehicleHoverTransformPercentage", - "to": "setSpecialFlightModeTargetRatio" - }, - { - "from": "setVehicleHoverTransformEnabled", - "to": "setSpecialFlightModeAllowed" - }, - { - "from": "setVehicleHoverTransformActive", - "to": "setDisableHoverModeFlight" - }, - { - "from": "_0x3A9128352EAC9E85", - "to": "getOutriggersDeployed" - }, - { - "from": "findRandomPointInSpace", - "to": "findSpawnCoordinatesForHeli" - }, - { - "from": "setDeployHeliStubWings", - "to": "setDeployFoldingWings" - }, - { - "from": "areHeliStubWingsDeployed", - "to": "areFoldingWingsDeployed" - }, - { - "from": "_0xAA653AE61924B0A0", - "to": "setDipStraightDownWhenCrashingPlane" - }, - { - "from": "setVehicleTurretUnk", - "to": "setTurretHidden" - }, - { - "from": "setSpecialflightWingRatio", - "to": "setHoverModeWingRatio" - }, - { - "from": "setDisableTurretMovementThisFrame", - "to": "setDisableTurretMovement" - }, - { - "from": "_0x887FA38787DE8C72", - "to": "setForceFixLinkMatrices" - }, - { - "from": "setUnkFloat0x104ForSubmarineVehicleTask", - "to": "setTransformRateForAnimation" - }, - { - "from": "setUnkBool0x102ForSubmarineVehicleTask", - "to": "setTransformToSubmarineUsesAlternateInput" - }, - { - "from": "_0x36DE109527A2C0C4", - "to": "setVehicleCombatMode" - }, - { - "from": "_0x82E0AC411E41A5B4", - "to": "setVehicleDetonationMode" - }, - { - "from": "_0x99A05839C46CE316", - "to": "setVehicleShuntOnStick" - }, - { - "from": "getIsVehicleShuntBoostActive", - "to": "getIsVehicleShunting" - }, - { - "from": "_0xE8718FAF591FD224", - "to": "getHasVehicleBeenHitByShunt" - }, - { - "from": "getLastRammedVehicle", - "to": "getLastShuntVehicle" - }, - { - "from": "setDisableVehicleUnk", - "to": "setDisableVehicleExplosionsDamage" - }, - { - "from": "setVehicleNitroEnabled", - "to": "setOverrideNitrousLevel" - }, - { - "from": "setVehicleWheelsDealDamage", - "to": "setIncreaseWheelCrushDamage" - }, - { - "from": "setDisableVehicleUnk2", - "to": "setDisableWeaponBladeForces" - }, - { - "from": "_0x5BBCF35BF6E456F7", - "to": "setUseDoubleClickForCarJump" - }, - { - "from": "hideVehicleTombstone", - "to": "hideTombstone" - }, - { - "from": "getIsVehicleEmpDisabled", - "to": "getIsVehicleDisabledByEmp" - }, - { - "from": "_0x8F0D5BA1C2CC91D7", - "to": "setDisableRetractingWeaponBlades" - }, - { - "from": "getTyreWearMultiplier", - "to": "getTyreWearRate" - }, - { - "from": "setTyreWearMultiplier", - "to": "setTyreWearRate" - }, - { - "from": "setTyreSoftnessMultiplier", - "to": "setTyreWearRateScale" - }, - { - "from": "setTyreTractionLossMultiplier", - "to": "setTyreMaximumGripDifferenceDueToWearRate" - }, - { - "from": "_0xF8B49F5BA7F850E7", - "to": "setAircraftIgnoreHightmapOptimisation" - }, - { - "from": "setReduceDriftVehicleSuspension", - "to": "setReducedSuspensionForce" - }, - { - "from": "setDriftTyresEnabled", - "to": "setDriftTyres" - }, - { - "from": "getDriftTyresEnabled", - "to": "getDriftTyresSet" - }, - { - "from": "networkUseHighPrecisionVehicleBlending", - "to": "networkUseHighPrecisionTrainBlending" - }, - { - "from": "addCurrentRise", - "to": "addExtraCalmingQuad" - }, - { - "from": "removeCurrentRise", - "to": "removeExtraCalmingQuad" - }, - { - "from": "_0x547237AA71AB44DE", - "to": "setCalmedWaveHeightScaler" - }, - { - "from": "getWeaponComponentVariantExtraComponentCount", - "to": "getWeaponComponentVariantExtraCount" - }, - { - "from": "getWeaponComponentVariantExtraComponentModel", - "to": "getWeaponComponentVariantExtraModel" - }, - { - "from": "_0x50276EF8172F5F12", - "to": "setPedCycleVehicleWeaponsOnly" - }, - { - "from": "_0x24C024BA8379A70A", - "to": "setPedStunGunFiniteAmmo" - }, - { - "from": "addAmmoToPedByType", - "to": "addPedAmmoByType" - }, - { - "from": "getPedAmmoTypeFromWeapon2", - "to": "getPedOriginalAmmoTypeFromWeapon" - }, - { - "from": "setPedWeaponLiveryColor", - "to": "setPedWeaponComponentTintIndex" - }, - { - "from": "getPedWeaponLiveryColor", - "to": "getPedWeaponComponentTintIndex" - }, - { - "from": "setWeaponObjectLiveryColor", - "to": "setWeaponObjectComponentTintIndex" - }, - { - "from": "getWeaponObjectLiveryColor", - "to": "getWeaponObjectComponentTintIndex" - }, - { - "from": "_0xA2C9AC24B4061285", - "to": "getPedWeaponCamoIndex" - }, - { - "from": "_0x977CA98939E82E4B", - "to": "setWeaponObjectCamoIndex" - }, - { - "from": "setWeaponDamageModifierThisFrame", - "to": "setWeaponDamageModifier" - }, - { - "from": "setWeaponExplosionRadiusMultiplier", - "to": "setWeaponAoeModifier" - }, - { - "from": "_0xE6D2CEDD370FF98E", - "to": "setWeaponEffectDurationModifier" - }, - { - "from": "setFlashLightEnabled", - "to": "setFlashLightActiveHistory" - }, - { - "from": "_0xE4DCEC7FD5B739A5", - "to": "setEqippedWeaponStartSpinningAtFullSpeed" - }, - { - "from": "createAirDefenseSphere", - "to": "createAirDefenceSphere" - }, - { - "from": "createAirDefenseArea", - "to": "createAirDefenceAngledArea" - }, - { - "from": "removeAirDefenseZone", - "to": "removeAirDefenceSphere" - }, - { - "from": "removeAllAirDefenseZones", - "to": "removeAllAirDefenceSpheres" - }, - { - "from": "setPlayerAirDefenseZoneFlag", - "to": "setPlayerTargettableForAirDefenceSphere" - }, - { - "from": "isAnyAirDefenseZoneInsideSphere", - "to": "isAirDefenceSphereInArea" - }, - { - "from": "fireAirDefenseWeapon", - "to": "fireAirDefenceSphereWeaponAtPosition" - }, - { - "from": "doesAirDefenseZoneExist", - "to": "doesAirDefenceSphereExist" - }, - { - "from": "setCanPedEquipWeapon", - "to": "setCanPedSelectInventoryWeapon" - }, - { - "from": "setCanPedEquipAllWeapons", - "to": "setCanPedSelectAllWeapons" - } -] \ No newline at end of file diff --git a/scripts/plugins/core.js b/scripts/plugins/core.js index c9ff6b3b28..012f39b4b1 100644 --- a/scripts/plugins/core.js +++ b/scripts/plugins/core.js @@ -1,8 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; -import { getEnabledPlugins, sanitizePath } from './shared.js'; - +import { getEnabledPlugins } from './shared.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; /** * * @param {*} pluginName @@ -10,8 +10,7 @@ import { getEnabledPlugins, sanitizePath } from './shared.js'; */ function copyPluginFiles(pluginName) { const pluginFolder = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - - const files = glob.sync(sanitizePath(path.join(pluginFolder, '@(client|server)/index.ts'))); + const files = globSync(path.join(pluginFolder, '@(client|server)/index.ts')); const hasClientFiles = !!files.find((file) => file.includes('client/index.ts')); const hasServerFiles = !!files.find((file) => file.includes('server/index.ts')); @@ -42,7 +41,7 @@ function writeServerImports(plugins) { content = content + `\n\nplugins.init();\n`; const importPath = sanitizePath(path.join(process.cwd(), 'resources/core/plugins/athena/server/imports.js')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); } function writeClientImports(plugins) { @@ -59,7 +58,7 @@ function writeClientImports(plugins) { .join('\n'); const importPath = sanitizePath(path.join(process.cwd(), 'resources/core/plugins/athena/client/imports.js')); - fs.outputFileSync(importPath, content + '\n'); + writeFile(importPath, content + '\n'); } function run() { diff --git a/scripts/plugins/shared.js b/scripts/plugins/shared.js index 67ea5f6b58..5a8b9d2803 100644 --- a/scripts/plugins/shared.js +++ b/scripts/plugins/shared.js @@ -1,13 +1,10 @@ import path from 'path'; -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; +import { sanitizePath } from '../shared/path.js'; +import { copySync, globSync } from '../shared/fileHelpers.js'; const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable', 'disabled']; -export function sanitizePath(p) { - return p.replace(/\\/g, '/'); -} - export function clearPluginsWebViewFolder() { const pluginsFolder = sanitizePath(path.join(process.cwd(), `src-webviews/public/plugins`)); if (fs.existsSync(pluginsFolder)) { @@ -42,7 +39,7 @@ export function moveAssetsToWebview(folderName, extensions) { } const fullPath = sanitizePath(path.join(pluginFolder, `${folderName}/**/*.+(${extensions.join('|')})`)); - const allFiles = glob.sync(fullPath); + const allFiles = globSync(fullPath, { platform: 'linux' }); for (let i = 0; i < allFiles.length; i++) { const filePath = allFiles[i]; @@ -54,7 +51,7 @@ export function moveAssetsToWebview(folderName, extensions) { fs.mkdirSync(folderPath, { recursive: true }); } - fs.copyFileSync(filePath, finalPath); + copySync(filePath, finalPath); amountCopied += 1; } } @@ -67,11 +64,11 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) let oldFiles; if (!isSrc) { - oldFiles = glob.sync( + oldFiles = globSync( sanitizePath(path.join(`src-webviews/public/plugins/${normalizedName}/**/*.+(${extensions.join('|')})`)), ); } else { - oldFiles = glob.sync( + oldFiles = globSync( sanitizePath(path.join(`src-webviews/src/plugins/${normalizedName}/**/*.+(${extensions.join('|')})`)), ); } @@ -100,7 +97,7 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) continue; } - const allFiles = glob.sync( + const allFiles = globSync( sanitizePath(path.join(pluginFolder, `${folderName}/**/*.+(${extensions.join('|')})`)), ); for (let i = 0; i < allFiles.length; i++) { @@ -124,7 +121,7 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) fs.mkdirSync(folderPath, { recursive: true }); } - fs.copyFileSync(filePath, finalPath); + copySync(filePath, finalPath); amountCopied += 1; } } diff --git a/scripts/plugins/update-dependencies.js b/scripts/plugins/update-dependencies.js index 32a1a5020f..a07f724dd8 100644 --- a/scripts/plugins/update-dependencies.js +++ b/scripts/plugins/update-dependencies.js @@ -1,17 +1,10 @@ import { exec } from 'child_process'; -import fs from "fs"; -import glob from 'glob'; +import fs from 'fs'; import * as path from 'path'; +import { sanitizePath } from '../shared/path.js'; +import { globSync } from '../shared/fileHelpers.js'; -const viablePluginDisablers = [ - 'disable.plugin', - 'disabled.plugin', - 'disable', -] - -function sanitizePath(p) { - return p.replace(/\\/g, '/'); -} +const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable']; function getInstalledDependencies() { const packageJsonPath = sanitizePath(path.join(process.cwd(), 'package.json')); @@ -42,8 +35,8 @@ function getPluginDependencies(pluginName) { const dependencies = { dependencies: [], - devDependencies: [] - } + devDependencies: [], + }; for (const disabler of viablePluginDisablers) { const disabledPath = sanitizePath(path.join(pluginPath, disabler)); @@ -58,7 +51,8 @@ function getPluginDependencies(pluginName) { return dependencies; } - let contents = null; + let contents; + try { contents = JSON.parse(fs.readFileSync(dependencyPath, 'utf8')); } catch (error) { @@ -69,11 +63,11 @@ function getPluginDependencies(pluginName) { return dependencies; } - for (const name of (contents.dependencies ?? [])) { + for (const name of contents.dependencies ?? []) { dependencies.dependencies.push(name); } - for (const name of (contents.devDependencies ?? [])) { + for (const name of contents.devDependencies ?? []) { dependencies.devDependencies.push(name); } @@ -82,7 +76,7 @@ function getPluginDependencies(pluginName) { function checkPluginDependencies() { const installedDependencies = getInstalledDependencies(); - const plugins = glob.sync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); + const plugins = globSync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); const missingDepdendencies = []; @@ -91,10 +85,11 @@ function checkPluginDependencies() { const pluginDependencies = getPluginDependencies(pluginName); - if (pluginDependencies.dependencies.length === 0) - continue; + if (pluginDependencies.dependencies.length === 0) continue; - console.log(`Checking dependencies for plugin '${pluginName}': ${pluginDependencies.dependencies.length} dependencies`); + console.log( + `Checking dependencies for plugin '${pluginName}': ${pluginDependencies.dependencies.length} dependencies`, + ); if (pluginDependencies.dependencies.length > 0) { for (const dependency of pluginDependencies.dependencies) { @@ -110,7 +105,7 @@ function checkPluginDependencies() { function checkPluginDevDependencies() { const installedDependencies = getInstalledDependencies(); - const plugins = glob.sync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); + const plugins = globSync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); const missingDevDepdendencies = []; @@ -119,10 +114,11 @@ function checkPluginDevDependencies() { const pluginDependencies = getPluginDependencies(pluginName); - if (pluginDependencies.devDependencies.length === 0) - continue; + if (pluginDependencies.devDependencies.length === 0) continue; - console.log(`Checking development dependencies for plugin '${pluginName}': ${pluginDependencies.devDependencies.length} dependencies`); + console.log( + `Checking development dependencies for plugin '${pluginName}': ${pluginDependencies.devDependencies.length} dependencies`, + ); if (pluginDependencies.devDependencies.length > 0) { for (const dependency of pluginDependencies.devDependencies) { diff --git a/scripts/plugins/webview.js b/scripts/plugins/webview.js index 14ccd5fd13..ab818fefaa 100644 --- a/scripts/plugins/webview.js +++ b/scripts/plugins/webview.js @@ -1,7 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; -import { getEnabledPlugins, sanitizePath } from './shared.js'; +import { getEnabledPlugins } from './shared.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; function getWebviewFiles(pluginName) { const pluginFolder = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); @@ -15,7 +16,7 @@ function writeWebViewPlugins(plugins) { for (const pluginName of plugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - const files = glob.sync(sanitizePath(path.join(pluginPath, 'webview/*.vue'))); + const files = globSync(sanitizePath(path.join(pluginPath, 'webview/*.vue'))); for (const file of files) { const componentName = path.basename(file, '.vue'); @@ -47,7 +48,7 @@ function writeWebViewPlugins(plugins) { '\n};\n'; const importPath = sanitizePath(path.join(process.cwd(), 'src-webviews/src/plugins/imports.ts')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); return Object.keys(vueFiles).length; } @@ -58,7 +59,7 @@ function writeVuePlugins(plugins) { for (const pluginName of plugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - const files = glob.sync(sanitizePath(path.join(pluginPath, 'webview/plugins/*.ts'))); + const files = globSync(sanitizePath(path.join(pluginPath, 'webview/plugins/*.ts'))); for (const file of files) { const componentName = path.basename(file, '.ts'); @@ -90,14 +91,13 @@ function writeVuePlugins(plugins) { '\n];\n'; const importPath = sanitizePath(path.join(process.cwd(), 'src-webviews/src/plugins/vue-plugin-imports.ts')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); return Object.keys(vueFiles).length; } function run() { const enabledPlugins = getEnabledPlugins(); - const webviewImports = []; for (const pluginName of enabledPlugins) { diff --git a/scripts/runtime/index.js b/scripts/runtime/index.js index 4e48e889b2..8f106f789d 100644 --- a/scripts/runtime/index.js +++ b/scripts/runtime/index.js @@ -1,8 +1,8 @@ import { ChildProcess, spawn } from 'child_process'; import fkill from 'fkill'; -import glob from 'glob'; import fs from 'fs'; import crypto from 'crypto'; +import { globSync } from '../shared/fileHelpers.js'; const NO_SPECIAL_CHARACTERS = new RegExp(/^[ A-Za-z0-9_-]*$/gm); @@ -176,7 +176,7 @@ async function refreshFileWatching() { } // grab all new files - const files = glob.sync('./src/**/*.ts'); + const files = globSync('./src/**/*.ts', { platform: 'linux' }); // ignore `/athena/server` && `/athena/client` directories previousGlobFiles = files.filter((fileName) => { diff --git a/scripts/shared/fileHelpers.js b/scripts/shared/fileHelpers.js new file mode 100644 index 0000000000..0bbabe07d9 --- /dev/null +++ b/scripts/shared/fileHelpers.js @@ -0,0 +1,101 @@ +import fs from 'node:fs'; +import { glob } from 'glob'; +import { sanitizePath } from './path.js'; + +const PLUGIN_FOLDER = 'src/core/plugins'; + +/** + * Read all files in a given directory + * + * @export + * @param {string} filePath + * @return {string[]} + */ +export function getFiles(filePath) { + if (!filePath) { + throw new Error(`File path does not exist: ${filePath}`); + } + + filePath = sanitizePath(filePath); + return fs.readdirSync(filePath); +} + +/** + * Read all files / folders based on a path and return paths. + * + * @export + * @param {string} path + * @param {GlobOptionsWithFileTypesFalse} options + * @return {string[]} + */ +export function globSync(path, options = {}) { + path = sanitizePath(path); + + return glob.sync(path, { ...options }).map((filePath) => { + return sanitizePath(filePath); + }); +} + +/** + * Returns all plugin folders + * + * @export + * @return {string[]} + */ +export function getAllPluginFolders() { + return fs.readdirSync(PLUGIN_FOLDER); +} + +/** + * Return the plugin folder + * + * @export + * @return {string} + */ +export function getPluginFolder() { + return PLUGIN_FOLDER; +} + +/** + * Safely write a file even if the directory does not exist + * + * @export + * @param {string} filePath + * @param {string} data + */ +export function writeFile(filePath, data) { + filePath = sanitizePath(filePath); + const splitPath = filePath.split('/'); + splitPath.pop(); + + const directory = splitPath.join('/'); + if (!fs.existsSync(directory)) { + fs.mkdirSync(directory, { recursive: true }); + } + + fs.writeFileSync(filePath, data); +} + +/** + * Copy a file or directory recursively + * + * @export + * @param {string} path + * @param {string} destination + */ +export function copySync(path, destination) { + path = sanitizePath(path); + destination = sanitizePath(destination); + + if (path.includes('.')) { + const splitPath = path.split('/'); + splitPath.pop(); + + const directory = splitPath.join('/'); + if (!fs.existsSync(directory)) { + fs.mkdirSync(directory, { recursive: true }); + } + } + + fs.cpSync(path, destination, { force: true, recursive: true }); +} diff --git a/scripts/shared/path.js b/scripts/shared/path.js new file mode 100644 index 0000000000..73ee43fbb7 --- /dev/null +++ b/scripts/shared/path.js @@ -0,0 +1,10 @@ +/** + * Replace windows based pathing with linux based pathing + * + * @export + * @param {string} path + * @return {string} + */ +export function sanitizePath(path) { + return path.replace(/\\/g, '/'); +} diff --git a/scripts/transform/index.js b/scripts/transform/index.js index a12455e5d4..5e10904135 100644 --- a/scripts/transform/index.js +++ b/scripts/transform/index.js @@ -1,10 +1,11 @@ import path from 'path'; -import glob from 'glob'; import fs from 'fs'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; const startTime = Date.now(); -const resourcePath = path.join(process.cwd(), 'resources/core/**/*.js').replace(/\\/gm, '/'); -const filePaths = glob.sync(resourcePath); +const resourcePath = sanitizePath(path.join(process.cwd(), 'resources/core/**/*.js')); +const filePaths = globSync(resourcePath); const funcsToIgnore = [ // @@ -74,6 +75,6 @@ for (let filePath of filePaths) { } const finalFile = splitContents.join('\r\n'); - fs.writeFileSync(filePath, finalFile, { encoding: 'utf-8' }); + writeFile(filePath, finalFile); count += 1; } diff --git a/src/core/plugins/core-commands/server/commands/consoleCommands.ts b/src/core/plugins/core-commands/server/commands/consoleCommands.ts index 5b4f4e4a5e..ab4beeab06 100644 --- a/src/core/plugins/core-commands/server/commands/consoleCommands.ts +++ b/src/core/plugins/core-commands/server/commands/consoleCommands.ts @@ -13,7 +13,7 @@ // const path = `${process.cwd()}/screenshots/${player.data.name}.jpg`; // const data = base64Image.replace(/^data:image\/\w+;base64,/, ''); // const buf = Buffer.from(data, 'base64'); -// fs.writeFileSync(path, buf); +// fs.fsextra.writeFileSync(path, buf); // alt.log(path); // }