Git Product home page Git Product logo

katam's Introduction

Kirby & The Amazing Mirror

This is a disassembly of Kirby & The Amazing Mirror (USA).

It builds the following ROM:

  • katam.gba sha1: 274b102b6d940f46861a92b4e65f89a51815c12c

To set up the repository, see INSTALL.md.

Contacts

You can find us on Discord.

katam's People

Contributors

cleverking2003 avatar cofflag avatar epochflame avatar freshollie avatar jacecear avatar jiangzhengwenjz avatar laqieer avatar pikalaxalt avatar shalmezad avatar shinny456 avatar sierraffinity avatar solitai7e avatar urayukimitsu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

katam's Issues

TODO list

  • run function hash checker on JP version (rev 1) to get file boundaries Both JP (rev 1) and Wii U VC release has identical link order.
  • dump m4a tables
  • split and disassemble the multi-boot programs

TODO: detect potential UBs

From my observation, a lot of << operations are performed on (possibly) negative integers which is undefined behavior in C (apparently this also includes s8 and s16 because of integer promotion).

This kind of UB should be eliminated as long as multiplication also matches the vanilla assembly code.

TODO: confirm that struct Kirby doesn't contain a union

I think struct Kirby doesn't contain a union. Basically, it has to be a union if ObjectBase::kirby1 is really of type struct Kirby *, but actually it's likely capable of pointing to different types based on struct ObjectBase (and, it really makes no sense to make the field a union as it's accessed everywhere).

src/bonus.c:298:    obj->base.kirby1 = arg0;
src/object.c:1179:        r4->base.kirby1 = r7->base.base.base.parent; // unknown type
src/object.c:1281:    r12->base.kirby1 = r4->base.base.base.parent; // unknown type
src/blockin.c:41:        arg0->base.kirby1 = sub_0803D368(&arg0->base); // It really returns `struct Kirby *` here. 

Fixing the type is easy so I will wait until more code is decompiled to get it more evident.

Discord

Hey, I'm interested in contributing to this decompilation project. I have been working on decompiling the bronto burt code and am mostly done, but I think having a Discord/other group chat may be helpful to organize.

Mac M1 chip agbcc build error

This was an error on the main branch of agbcc as well, though i believe it was fixed there.

`ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [cc1] Error 1

mv: rename gcc_arm/cc1 to agbcc_arm: No such file or directory`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.