Those are UE4SS (Unreal Engine 4 Scripting System) Lua Mod scripts for the Stray Game.
Mods
├── Stray
│ └── Scripts
| // ==UserScript== | |
| // @name Domino's Pizza Ingredient Filter | |
| // @namespace https://www.dominospizza.pl | |
| // @match https://www.dominospizza.pl/* | |
| // @grant none | |
| // @version 1.1 | |
| // @author PlayDay | |
| // @description Whitelist/blacklist ingredients and filter by tags on Domino's Pizza Poland menu | |
| // ==/UserScript== |
| from dataclasses import dataclass | |
| from typing import Optional, Any | |
| from datetime import datetime | |
| from pathlib import Path | |
| from glob import glob | |
| import os | |
| import json | |
| import re | |
| from pydantic import BaseModel |
| from __future__ import annotations | |
| from datetime import datetime | |
| from typing import Optional, Any, cast | |
| from enum import Enum | |
| import sys | |
| import requests | |
| import math | |
| import time | |
| from concurrent.futures import ThreadPoolExecutor, as_completed |
| #!/usr/bin/env python3 | |
| """ | |
| QCDT (Qualcomm Device Tree) Patcher | |
| Decompresses LZ4 QCDT files, patches header structure, and saves modified data. | |
| Basically: | |
| 1. Read LZ4 compressed QCDT | |
| 2. Decompress | |
| 3. Parse header | |
| 4. Check if extended |
| # Create label and assign type from address array | |
| # @author PlayDay (@playday3008) | |
| # @category Analysis | |
| # @runtime PyGhidra | |
| from ghidra.program.model.symbol import SourceType | |
| from ghidra.program.model.data import DataTypeManager, Undefined | |
| from ghidra.util.data import DataTypeParser | |
| from ghidra.util.data.DataTypeParser import AllowedDataTypes | |
| from ghidra.app.services import DataTypeManagerService |
| #include <type/magic.pat> | |
| #include <std/io.pat> | |
| #include <std/hash.pat> | |
| #include <std/sys.pat> | |
| #include <std/mem.pat> | |
| #pragma loop_limit 131072 | |
| #define CRC32POLY_ZIP 0xEDB88320 |
| ---@diagnostic disable: undefined-global | |
| resetLuaState() | |
| -- Get the address of a module in the process memory | |
| local base_addr = getAddressSafe("[DLL-NAME-HERE].dll") | |
| if base_addr == nil or process == nil then | |
| print("Module not found") | |
| return | |
| end |
| #pragma once | |
| #include <type_traits> | |
| template <typename Func> | |
| requires std::is_nothrow_invocable_v<Func> | |
| struct DeferAction { | |
| explicit DeferAction(Func a) : act{a} {} | |
| ~DeferAction() { act(); } | |
| // Disallow copy and move |