Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_80AAEE50(SkelAnime *arg0, s32 arg1, void *arg2) {
- f32 sp34;
- void *sp2C;
- s32 temp_v0;
- void *temp_v1;
- void *temp_v1_2;
- void *temp_v1_3;
- void *phi_v1;
- f32 phi_f0;
- temp_v0 = *arg2;
- if ((temp_v0 < 0) || (arg1 == temp_v0)) {
- phi_v1 = (arg1 * 0x10) + D_80AAFAEC;
- phi_f0 = 0.0f;
- } else {
- temp_v1 = (arg1 * 0x10) + D_80AAFAEC;
- phi_v1 = temp_v1;
- phi_f0 = temp_v1->unkC;
- }
- if (0.0f <= phi_v1->unk4) {
- sp2C = phi_v1;
- sp34 = phi_f0;
- temp_v1_2 = phi_v1;
- SkelAnime_ChangeAnim(arg0 + 0x14C, temp_v1_2->unk0, (bitwise f32) temp_v1_2->unk4, 0.0f, (f32) SkelAnime_GetFrameCount(phi_v1->unk0), (?32) temp_v1_2->unk8, phi_f0);
- } else {
- sp2C = phi_v1;
- sp34 = phi_f0;
- temp_v1_3 = phi_v1;
- SkelAnime_ChangeAnim(arg0 + 0x14C, temp_v1_3->unk0, (bitwise f32) temp_v1_3->unk4, (f32) SkelAnime_GetFrameCount(phi_v1->unk0), 0.0f, (?32) temp_v1_3->unk8, phi_f0);
- }
- *arg2 = arg1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement