View pad.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void __cdecl pl_mv00_pad() { | |
int v0; // eax | |
print("pl_mv00_pad\n"); | |
v0 = G->Key & 0xC0; | |
if (v0 != 128 && v0 != 192 || *(s8*)(&G->Key_trg) >= 0) | |
goto LABEL_57; | |
if (sub_45F960()) |
View haxfinal.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pwn import * | |
import struct | |
context(arch='amd64') | |
context.log_level = 'debug' | |
SHELLCODE_NAME = 'shell.bin' | |
p = remote('fe80::5054:ff:fe63:5e7a%qemu', 31337) |
View stuff.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void *conf_lcd_io_for_rendering() | |
{ | |
s_unknown_1 *g_struct; // r10 | |
s_lcd_bg_io_conf *lcd_bg_io_conf; // r5 | |
void *result; // r0 | |
s_blending_io_conf *blending_io_conf; // r5 | |
lcd_bg_io_conf = g_struct->lcd_bg_io_conf_200AC40; | |
IO_MOSAIC = lcd_bg_io_conf->mosaic_size; // set mosaic mode | |
memcpy32(&lcd_bg_io_conf->background_cnt0, &IO_BG0CNT, 0x38u);// configure BG |
View gist:d4b79347cae5841a1d57da055cb770e9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 140.152498] Service <Debug> core/hle/service/audio/audout_u.cpp:AppendAudioOutBuffer_1:93: Key value: 0x108130230 | |
[ 140.157304] Service <Debug> core/hle/service/audio/audout_u.cpp:AppendAudioOutBuffer_1:93: Key value: 0x108130258 | |
[ 140.162091] Service <Debug> core/hle/service/audio/audout_u.cpp:AppendAudioOutBuffer_1:93: Key value: 0x108130280 | |
[ 140.475143] Service <Debug> core/hle/service/audio/audout_u.cpp:GetReleasedAudioOutBuffer_1:116: Key value: 0x1080BA060 | |
[ 140.480349] Service <Debug> core/hle/service/audio/audout_u.cpp:GetReleasedAudioOutBuffer_1:116: Key value: 0x1080BA088 | |
Attempted to read from unmapped memory: 0xdce00c8930b2922a |
View pivot.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Stack Pivot ropemporium | |
""" | |
from pwn import * | |
import struct | |
import binascii |
View sims.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
The Sims 3 save game checksum fix | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
// the sims 3 code: sub_20935D0 | |
unsigned int checksum(unsigned char *savegame, size_t size) |
View parse_dump.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdio> | |
#include <cstdlib> | |
#include <experimental/filesystem> | |
namespace fs = std::experimental::filesystem; | |
FILE *main_dump = nullptr; | |
bool parseFileToDump(const std::string& f) { | |
unsigned char *tmpBuff = nullptr; |
View des.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _DES_H_ | |
#define _DES_H_ | |
#define DES_DEBUG | |
/** | |
* Permuted Choice 1 | |
*/ |
View des_avr.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "des.h" | |
#ifdef DES_DEBUG | |
void printbin(unsigned char data) { | |
printf("0b"); |
View wut.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Size: 590 | |
Kernel Debug: [SceSettings ]:text=0x81000000(0x0016a000), data=0x8116a000(0x00001fbc/0x00049000) | |
addcont0: skipped -> NPXS10015 | |
[SceLibKernel ]:text=0xe0000000(0x00010000), data=0xe0010000(0x00000004/0x00001000) | |
[SceDriverUser ]:text=0xe0018000(0x0000a000), data=0xe0028000(0x00000008/0x0000a000) | |
[SceAvcodecUser ]:text=0xe0012000(0x00002000), (no data) | |
[SceGpuEs4User ]:text=0xe0034000(0x00005000), data=0xe0011000(0x00000000/0x00001000) | |
[SceGxm ]:text=0xe0040000(0x00024000), data=0xe0014000(0x00000000/0x00002000) | |
Size: 803 |
NewerOlder