Skip to content

Instantly share code, notes, and snippets.

View cxcubehd's full-sized avatar
💭

# cxcubehd

💭
View GitHub Profile
@cxcubehd
cxcubehd / connect_square.md
Last active February 6, 2026 15:22 — forked from x99b/connect_square.md
Connect, Square!

Connect, Square!

A Game of Territory and Connections

1. Game Overview

Connect, Square! is a strategy game played on a grid of points. Players compete to capture squares by drawing connections between points. The game combines path-building mechanics with territory capture. The player who owns the most squares at the end of the game wins.

2. Components & Setup

@cxcubehd
cxcubehd / IDA rdata vftable parser
Created July 7, 2023 17:25
THis python script parses the data provided in `text` into a json struct
import re
import json
text = """
.rdata:0000000142461290 ; const Piglin::`vftable'
.rdata:0000000142461290 ??_7Piglin@@6B@ dq offset ?getStatusFlag@Actor@@UEBA_NW4ActorFlags@@@Z
.rdata:0000000142461290 ; DATA XREF: Piglin::Piglin(ActorDefinitionGroup *,ActorDefinitionIdentifier const &,EntityContext &)+45↑o
.rdata:0000000142461290 ; Actor::getStatusFlag(ActorFlags)
.rdata:0000000142461298 dq offset ?setStatusFlag@Actor@@UEAAXW4ActorFlags@@_N@Z ; Actor::setStatusFlag(ActorFlags,bool)
.rdata:00000001424612A0 dq offset ?hasComponent@Mob@@UEBA_NAEBVHashedString@@@Z ; Mob::hasComponent(HashedString const &)