Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a0 = globalCtx+11D60 (dbg)
- a1 = actor+24 (world coords)
- a2 = actor+0xE4 (mtx coords we are interested in)
- a3 = actor+0xF0 (seems to always be 0x0043AF00 for chu at least)
- void func_800A6E10(void *arg0, void *arg1, void *arg2, void *arg3)
- {
- actorE4 = (mtx->unk30 + (((actor->x * mtx->unk0) + (actor->y * mtx->unk10)) + (actor->z * mtx->unk20)));
- actorE8 = (mtx->unk34 + (((actor->x * mtx->unk4) + (actor->y * mtx->unk14)) + (actor->z * mtx->unk24)));
- actorEC = (mtx->unk38 + (((actor->x * mtx->unk8) + (actor->y * mtx->unk18)) + (actor->z * mtx->unk28)));
- *arg3 = (arg0->unk3C + (((arg1->unk0 * arg0->unkC) + (arg1->unk4 * arg0->unk1C)) + (arg1->unk8 * arg0->unk2C)));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement