Skip to content

Instantly share code, notes, and snippets.

View shibbo's full-sized avatar
👀
procrastinating

shibboleet shibbo

👀
procrastinating
  • United States
View GitHub Profile
Data4:8031C06B 0000000D C ac_scissor.c
Data4:8031C140 00000013 C ac_signal_timing.c
Data4:80322AC8 00000012 C item_event_data.c
Data4:80323B88 0000000B C map_data.c
Data4:80323BB0 0000000D C setup_data.c
Data4:80323D3C 0000000A C mobjdrv.c
Data4:80324204 00000009 C msgdrv.c
Data4:803245C8 0000000F C offscreendrv.c
Data4:80324877 0000000C C shadowdrv.c
Data4:80326277 00000009 C 0swdrv.c
__int64 __fastcall PlayerActorHakoniwa::initPlayer(char *a1, __int64 a2, __int64 a3)
{
__int64 v3; // x25
__int64 v4; // x28
char *v5; // x19
al::LiveActor *v6; // x1
const char *v7; // x3
const char *v8; // x3
const char *v9; // x3
const al::LiveActor *v10; // x1
@shibbo
shibbo / output.txt
Last active February 5, 2020 03:03
Loaded Packet #0 with length 27
Loaded Vector: (X: -11599 Y: 3447 Z: -3)
Loaded Vector: (X: 8 Y: 8 Z: 8)
Z Rotation: 0
Y Rotation: 0
X Rotation: 255
Animation Hash: 4291431497
Sets BCKCtrl value to: 32
Set Track Weight #0 to 2
Set Track Weight #1 to 0
void ElectricRail::attackSensor(HitSensor *a1, HitSensor *a2)
{
if (MR::isSensorPlayer(a1))
{
if (!MR::isPlayerSquat())
MR::sendMsgEnemyAttackElectric(a1, a2);
}
}
PlayerOxygen::PlayerOxygen()
{
this->field_0 = 1.0f;
*&this->field_14 = 0;
*&this->field_C = 0;
this->field_4 = 0;
}
void PlayerOxygen::setup(int a2, int a3, int a4, int a5)
{
@shibbo
shibbo / convertMap.py
Last active April 4, 2018 00:30
Code simplification!
# converts an IDA exported MAP to externals.txt for Kamek
# Example:
# 0001:802342C4 startPause__9RumbleMgrFv
# to
# startPause__9RumbleMgrFv=0x802342C4
import os, sys
if not os.path.exists(sys.argv[1]):
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using OpenTK;
using OpenTK.Graphics.OpenGL;
using DouBOLDash.Rendering;
namespace DouBOLDash
#include "helper.h"
Helper::Helper(Vector3 scale, Vector3 rot, Vector3 trans)
{
this->scale = scale;
this->rot = rot;
this->trans = trans;
}
QMatrix4x4 Helper::SRTToMatrix()
#include "objectrenderer.h"
#include "objects/object.h"
#include "leveleditor/imagecache.h"
#include <QPainter>
SpriteRenderer::SpriteRenderer(const Sprite *spr)
{
this->spr = spr;
#ifndef SPRITE_H
#define SPRITE_H
#include "object.h"
#include "filesystem/filesystem.h"
#include "spriterenderer.h"
class Sprite : public Object
{
public: