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
Language,files,blank,comment,code | |
C++,6682,496144,1265795,1897017 | |
C,2193,296606,701296,1353496 | |
C/C++ Header,11611,262252,448941,887662 | |
JSON,643,538,0,277580 | |
XML,527,10942,5684,247763 | |
Java,1187,43749,72743,220602 | |
Python,1500,44167,58929,171524 | |
Objective C,775,50188,164323,170716 | |
C#,1436,24416,46884,149049 |
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
use bytes::{BufMut, BytesMut}; | |
use gltf_json as json; | |
use json::validation::Checked::Valid; | |
use rose_file_readers::{RoseFile, VfsFile, ZmsFile}; | |
use std::{borrow::Cow, collections::HashMap, path::PathBuf}; | |
fn align_to_multiple_of_four(n: &mut u32) { | |
*n = (*n + 3) & !3; | |
} |
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
#[macro_use] | |
extern crate bitfield; | |
#[macro_use] extern crate bitpat; | |
use std::io::prelude::*; | |
use std::fs::File; | |
use std::convert::TryInto; | |
use std::u32; | |
#[macro_use] | |
mod macros; |
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
toc = get_name_ea_simple("_SDA2_BASE_") | |
pos = ida_search.find_text(0xFFE00000, 0, 0, "addi *r[0-9]+, r2", SEARCH_REGEX | SEARCH_DOWN) | |
while (pos != BADADDR): | |
op_plain_offset(pos, 2, toc) | |
pos = ida_search.find_text(pos + 4, 0, 0, "addi *r[0-9]+, r2", SEARCH_REGEX | SEARCH_DOWN) |
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
int __fastcall sub_5033C50(int a1, int a2, int a3, int a4, char a5) | |
{ | |
int v5; // lr | |
int v6; // r11 | |
int v7; // r3 | |
int v8; // r2 | |
int v9; // r3 | |
int v10; // r2 | |
signed int v11; // r0 | |
int v12; // r1 |
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
const char *__fastcall sub_12301928(int a1) | |
{ | |
const char *result; // r0 | |
switch ( a1 ) | |
{ | |
case 1: | |
result = "SO_ENOBUFS"; | |
break; | |
case 2: |
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
[22:28:56.230219 debug:p1 t02] GX2SwapScanBuffers() from 0x0D2DC098 | |
[22:28:56.230246 debug:p1 t02] GX2DrawDone() from 0x0D2DC09C | |
[22:28:56.230266 debug:p1 t02] submitTimestamp 7054 | |
[22:28:56.230283 debug:decaf] eventWriteEOP TS 7054 | |
[22:28:56.230384 debug:p1 t02] GX2WaitForVsync() from 0x0D17574C | |
[22:28:56.235706 debug:p1 t0B] __internal__internal::vsyncAlarmHandler(0x100E540C, 0xFFE01BA0) from 0xFBADCDE0 | |
[22:28:56.235796 debug:p1 t02] submitTimestamp 7055 | |
[22:28:56.235816 debug:p1 t02] submitTimestamp 7056 | |
[22:28:56.235816 debug:decaf] eventWriteEOP TS 7055 |
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
from conans import ConanFile | |
import sys | |
# Thanks stackoverflow: https://stackoverflow.com/a/3041990 | |
def query_yes_no(question, default="yes"): | |
"""Ask a yes/no question via raw_input() and return their answer. | |
"question" is a string that is presented to the user. | |
"default" is the presumed answer if the user just hits <Enter>. | |
It must be "yes" (the default), "no" or None (meaning |
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
#pragma once | |
#include <cstdint> | |
#include <cstring> | |
namespace gpu7::tiler | |
{ | |
enum TileMode : uint32_t | |
{ | |
LinearGeneral = 0x0, |
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
.text:027D3678 # =============== S U B R O U T I N E ======================================= | |
.text:027D3678 | |
.text:027D3678 | |
.text:027D3678 sub_27D3678: # CODE XREF: sub_27D58F4+4C0↓p | |
.text:027D3678 # sub_27D5E0C+644↓p ... | |
.text:027D3678 | |
.text:027D3678 .set back_chain, -0x178 | |
.text:027D3678 .set var_170, -0x170 | |
.text:027D3678 .set var_168, -0x168 | |
.text:027D3678 .set var_164, -0x164 |
NewerOlder