Skip to content

Instantly share code, notes, and snippets.

View eur0pa's full-sized avatar

europa eur0pa

View GitHub Profile
@eur0pa
eur0pa / IsaacRandom.c
Last active August 29, 2015 14:19
C for IsaacRandom.asm
unsigned int __fastcall IsaacRandom(int a1, int a2)
{
int v2; // eax@1
signed int v3; // ecx@4
int v4; // eax@5
int v5; // eax@5
signed int v6; // ecx@7
int v7; // eax@8
unsigned int v8; // ecx@10
unsigned int v9; // ecx@10
@eur0pa
eur0pa / eur0pa-dks_deathtoll.py
Last active October 7, 2022 14:00
Dark Souls Deaths Counter
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import struct
def main():
with open('DRAKS0005.sl2', 'rb') as fo:
fo.seek(0x2c0, 0)
for slot in range(0, 10):
fo.seek(0x100, 1)