Skip to content

Instantly share code, notes, and snippets.

View Sasuke78200's full-sized avatar

Sasuke78200 Sasuke78200

View GitHub Profile
unsigned int ft_collatz_conjecture(unsigned int base)
{
static unsigned int count = 0;
if(base != 1)
{
count++;
if(base & 1)
{
return ft_collatz_conjecture(base * 3 + 1);
}
This file has been truncated, but you can view the full file.
// Disassembled by Sasuke78200
enter 0 2
ipush 1
setstatic 2
ipush 134
setstatic 3
ipush 134
setstatic 4
ipush 1
setstatic 5
This file has been truncated, but you can view the full file.
// Disassembled by Sasuke78200
:label_0000
enter 0 359
:label_0005
ipush 1
setstatic 2
ipush 134
setstatic 3
:label_000c
ipush 134
#ifndef __SCRHEADER_H__
#define __SCRHEADER_H__
// commented out is for old-gen consoles
/*
#pragma pack(push, 1)
struct s_ScrHeader
{
unsigned int m_uiMagic; // + 0x00