annotate BSPModel.cpp @ 0:9c0607679772

init
author Ritor1
date Sat, 12 Jan 2013 09:45:18 +0600
parents
children 55e3aa43021d
rev   line source
0
Ritor1
parents:
diff changeset
1 #include "BSPModel.h"
Ritor1
parents:
diff changeset
2 #include "Allocator.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6 //----- (00478389) --------------------------------------------------------
Ritor1
parents:
diff changeset
7 void BSPModel::Release()
Ritor1
parents:
diff changeset
8 {
Ritor1
parents:
diff changeset
9 BSPModel *v1; // esi@1
Ritor1
parents:
diff changeset
10 void *v2; // ST00_4@1
Ritor1
parents:
diff changeset
11 void *v3; // ST00_4@1
Ritor1
parents:
diff changeset
12 void *v4; // ST00_4@1
Ritor1
parents:
diff changeset
13
Ritor1
parents:
diff changeset
14 v1 = this;
Ritor1
parents:
diff changeset
15 pAllocator->FreeChunk(*(void **)&this->pModelName[4]);
Ritor1
parents:
diff changeset
16 v2 = *(void **)&v1->pModelName[16];
Ritor1
parents:
diff changeset
17 *(int *)&v1->pModelName[4] = 0;
Ritor1
parents:
diff changeset
18 pAllocator->FreeChunk(v2);
Ritor1
parents:
diff changeset
19 v3 = *(void **)&v1->pModelName[20];
Ritor1
parents:
diff changeset
20 *(int *)&v1->pModelName[16] = 0;
Ritor1
parents:
diff changeset
21 pAllocator->FreeChunk(v3);
Ritor1
parents:
diff changeset
22 v4 = *(void **)&v1->pModelName[28];
Ritor1
parents:
diff changeset
23 *(int *)&v1->pModelName[20] = 0;
Ritor1
parents:
diff changeset
24 pAllocator->FreeChunk(v4);
Ritor1
parents:
diff changeset
25 *(int *)&v1->pModelName[28] = 0;
Ritor1
parents:
diff changeset
26 *(int *)&v1->pModelName[24] = 0;
Ritor1
parents:
diff changeset
27 *(int *)&v1->pModelName[8] = 0;
Ritor1
parents:
diff changeset
28 *(int *)&v1->pModelName[0] = 0;
Ritor1
parents:
diff changeset
29 *(short *)&v1->pModelName[12] = 0;
Ritor1
parents:
diff changeset
30 }