Skip to content

Instantly share code, notes, and snippets.

View Nukem9's full-sized avatar

Nukem Nukem9

  • Charlotte, North Carolina
View GitHub Profile
FormEnumEntry stru_144563A68[] =
{
{ "NONE", 0u, 0u, 1u, 0u },
{ "TES4", 0u, 0u, 2u, 0u },
{ "GRUP", 0u, 0u, 3u, 0u },
{ "GMST", 0u, 0u, 4u, 0u },
{ "KYWD", 0u, 0u, 5u, 0u },
{ "LCRT", 0u, 0u, 6u, 0u },
{ "AACT", 0u, 0u, 7u, 0u },
{ "TRNS", 0u, 0u, 8u, 0u },
void **__fastcall sub_1408A07C0(__int64 *a1)
{
void **result; // rax
__int64 *v2; // rbx
__int64 v3; // rax
bool v4; // zf
__int64 v5; // r9
char **v6; // r8
__int64 v7; // rdx
__int64 v8; // rcx
{ 0, "AbilityTypeMutation_DO" }
{ 0, "ActionAttackMissed_DO" }
{ 0, "ActionChangeAnimArchetype_DO" }
{ 0, "ActionChangeAnimFlavor_DO" }
{ 0, "ActionDeferredKill_DO" }
{ 0, "ActionEnterDialogueCameraState_DO" }
{ 0, "ActionEscortWait_DO" }
{ 0, "ActionFlinchStart_DO" }
{ 0, "ActionGunChange_DO" }
{ 0, "ActionHoverStrafeTransitionDO" }
EntryPointEnum stru_144409090[188] =
{
{ "Mod Breath Timer", { 0i64, 0i64, 0i64 } },
{ "Mod My Critical Hit Chance", { 0i64, 0i64, 0i64 } },
{ "Mod My Critical Hit Damage Mult", { 0i64, 0i64, 0i64 } },
{ "Mod Mine Explode Chance", { 0i64, 0i64, 0i64 } },
{ "Mod Incoming Limb Damage", { 0i64, 0i64, 0i64 } },
{ "Mod Book Actor Value Bonus", { 0i64, 0i64, 0i64 } },
{ "Mod Recovered Health", { 0i64, 0i64, 0i64 } },
{ "Set Should Attack", { 0i64, 0i64, 0i64 } },
std::unordered_map<uint32_t, const char *> g_EditorNameMap;
std::mutex g_NameMapLock;
// TESForm::GetName() is the vfunc at +0x130
// TESForm::GetId() returns the form id
class TESForm : public BaseFormComponent
{
public:
uint32_t GetId() const
const uintptr_t TESForm_Vtables[] =
{
0x010939EC,
0x0103195C,
0x0103168C,
0x0103140C,
0x0104D5B4,
0x0104D19C,
0x01044FFC,
0x0104CC0C,
netsh advfirewall firewall add rule name="D2MatchmakingBlock" protocol=UDP dir=in localport=0-52,54-1899,1901-3073,3075-65535 action=block program="E:\Program Files (x86)\Steam\steamapps\common\Destiny 2\destiny2.exe" enable=yes
netsh advfirewall firewall add rule name="D2MatchmakingBlock" protocol=UDP dir=out remoteport=0-52,54-1899,1901-3073,3075-65535 action=block program="E:\Program Files (x86)\Steam\steamapps\common\Destiny 2\destiny2.exe" enable=yes
REM remove "REM" from the next 2 lines to delete the rules
REM netsh advfirewall firewall delete rule name="D2MatchmakingBlock" dir=in
REM netsh advfirewall firewall delete rule name="D2MatchmakingBlock" dir=out
@Nukem9
Nukem9 / main.cs
Created November 19, 2019 06:01
C# code to download & stitch together the Submarine Cable Map 2019 from Telegeography
using System;
using System.Drawing;
using System.Net;
namespace ImageBuilder
{
class Program
{
static Image[,] m_Images;
#include <idc.idc>
static get_str_length(ea)
{
auto startEA = ea;
while (Byte(ea) != 0)
ea = ea + 1;
return ea - startEA;
#include "stdafx.h"
#include <stdio.h>
#include <vector>
#include <string>
#include <unordered_set>
#include <unordered_map>
class igBaseMeta
{
public: