Skip to content

Instantly share code, notes, and snippets.

@jfmherokiller
jfmherokiller / Readme.md
Last active May 17, 2021 16:15
conformant ntverp.h
@jfmherokiller
jfmherokiller / index.js
Created September 6, 2021 19:25
frida Outer Worlds pdb usage examples
DebugSymbol.load("D:\\SteamLibrary\\steamapps\\common\\TheOuterWorlds\\Indiana\\Binaries\\Win64\\Indiana-Win64-Shipping.exe");
// Get engine Version
var FEngineVersion = DebugSymbol.findFunctionsMatching("FEngineVersion::Current")[0];
var FEngineVersionFunc = new NativeFunction(FEngineVersion, 'uint64', []);
var VersionLocation = new NativePointer(FEngineVersionFunc.call());
var versionBytes = VersionLocation.readByteArray(6);
hexdump(versionBytes);
// getgobjectsSunbeam
var GObjectsLocatedFunc = DebugSymbol.findFunctionsMatching("IncrementalPurgeGarbage")[0];
var DesiredLEAInst = Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(Instruction.parse(GObjectsLocatedFunc).next).next).next).next).next).next).next;
@jfmherokiller
jfmherokiller / somefunct.c
Created December 12, 2021 01:27
an unholy beast
const char *__stdcall sub_6B11D0(int a1)
{
const char *result; // eax
if ( a1 > -2146881278 )
{
if ( a1 <= CRYPT_E_ASN1_PDU_TYPE )
{
if ( a1 == CRYPT_E_ASN1_PDU_TYPE )
return "CRYPT_E_ASN1_PDU_TYPE";
@jfmherokiller
jfmherokiller / get_function_names.py
Created October 19, 2023 00:42
add the function names from uruexplorer.map to ida
import idc
import idautils
import idaapi
def loadmap():
specialdelimiter = " f "
#change this path so its appropreate
with open("D:\\Games\\Myst Online Uru Live(again)\\UruExplorer.map") as file:
lines = [line.rstrip() for line in file]
@jfmherokiller
jfmherokiller / rtx.conf
Created September 22, 2024 02:34
Silent hill 2 rtx attempt
rtx.dlfg.enable = False
rtx.uiTextures = 0x82F3D659F6B665AB, 0xB4DD997FDC2617BA
rtx.restirGI.virtualSampleMaxDistanceRatio = 0.5
rtx.captureInstanceStageName = capture_2024-09-21_03-47-48.usd
rtx.isShaderExecutionReorderingSupported = False
rtx.graphicsPreset = 3
rtx.demodulate.enableDirectLightBoilingFilter = False
rtx.dlssPreset = 2
rtx.fallbackLightRadiance = 2, 2, 2
rtx.di.stealBoundaryPixelSamplesWhenOutsideOfScreen = False
@jfmherokiller
jfmherokiller / cheats.js
Created September 28, 2024 08:27
a set of cheats for Cyberpunk Life
//Copy this stuff into the dev console
//I chose the localstorage reload method because save file is hashed and the code makes use of react.
var gamestateS = JSON.parse(localStorage.gameState);
gamestateS.money.MoneyTotal *= 10000000;
gamestateS.karma.thisLoop *= 100000;
gamestateS.netInfluence *= 1000000;
gamestateS.politicalInfluence.total *=10000000;
localStorage.gameState = JSON.stringify(gamestateS);
window.location.reload();
@jfmherokiller
jfmherokiller / Guide.md
Created October 12, 2024 14:18
Perchance Guide

Xarja's guide in 2024/Jan/30

: Chapter 0 - Introduction Heyo! Welcome to Xarja's Ultimate Guide to Furry AI on Perchance! perchance.org/furry-ai Here you will learn all about using this AI, so you to can be a master prompter! You will learn all of this, in the following lessons:

Chapter 1 – AI Basics 1.1 Description (AKA Prompts) 1.2 Anti-Description (AKA Anti-Prompts AKA negative prompts) 1.3 Styles, Shapes, and Count