clean up extra decorators

This commit is contained in:
Sydney Biscuit committed 2019-08-18 16:44:11 -07:00
1 parent 531e638179
commit 3183e73860
95 files changed
+4629 -4631

No files matched your search

+14 -14
View File
@@ -1,14 +1,14 @@
#include "pinball.h"
//----- (0101CB8E) --------------------------------------------------------
void __stdcall vector_add(struct vector_type *a1, struct vector_type *a2)
void vector_add(struct vector_type *a1, struct vector_type *a2)
{
*(float *)a1 = *(float *)a1 + *(float *)a2;
*((float *)a1 + 1) = *((float *)a2 + 1) + *((float *)a1 + 1);
}
//----- (0101CCF3) --------------------------------------------------------
void __stdcall RotateVector(struct vector_type *a1, float a2)
void RotateVector(struct vector_type *a1, float a2)
{
long double v2; // st7
long double v3; // st6
@@ -22,21 +22,21 @@ v4 = v3 * *(float *)a1 - v2 * *((float *)a1 + 1);
}
//----- (0101B0A4) --------------------------------------------------------
void __stdcall vswap(struct vector_type *a1, struct vector_type *a2)
void vswap(struct vector_type *a1, struct vector_type *a2)
{
int v2; // ST08_4
int v3; // ST0C_4
int v4; // ST10_4
_DWORD *v5; // edi
DWORD *v5; // edi
v2 = *(_DWORD *)a1;
v3 = *((_DWORD *)a1 + 1);
v4 = *((_DWORD *)a1 + 2);
*(_DWORD *)a1 = *(_DWORD *)a2;
v5 = (_DWORD *)((char *)a1 + 4);
*v5 = *((_DWORD *)a2 + 1);
v5[1] = *((_DWORD *)a2 + 2);
*(_DWORD *)a2 = v2;
*((_DWORD *)a2 + 1) = v3;
*((_DWORD *)a2 + 2) = v4;
v2 = *(DWORD *)a1;
v3 = *((DWORD *)a1 + 1);
v4 = *((DWORD *)a1 + 2);
*(DWORD *)a1 = *(DWORD *)a2;
v5 = (DWORD *)((char *)a1 + 4);
*v5 = *((DWORD *)a2 + 1);
v5[1] = *((DWORD *)a2 + 2);
*(DWORD *)a2 = v2;
*((DWORD *)a2 + 1) = v3;
*((DWORD *)a2 + 2) = v4;
}