This file contains hidden or 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
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.
This file contains hidden or 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
// 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.
This file contains hidden or 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
// Disassembled by Sasuke78200 | |
:label_0000 | |
enter 0 359 | |
:label_0005 | |
ipush 1 | |
setstatic 2 | |
ipush 134 | |
setstatic 3 | |
:label_000c | |
ipush 134 |
This file contains hidden or 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 __SCRHEADER_H__ | |
#define __SCRHEADER_H__ | |
// commented out is for old-gen consoles | |
/* | |
#pragma pack(push, 1) | |
struct s_ScrHeader | |
{ | |
unsigned int m_uiMagic; // + 0x00 |