annotate BSPModel.cpp @ 182:52f2bb358c28

Слияние
author Ritor1
date Wed, 19 Dec 2012 22:11:38 +0600
parents 8b8875f5b359
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #include "BSPModel.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Allocator.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 //----- (00478389) --------------------------------------------------------
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 void BSPModel::Release()
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 BSPModel *v1; // esi@1
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 void *v2; // ST00_4@1
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 void *v3; // ST00_4@1
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 void *v4; // ST00_4@1
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 v1 = this;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 pAllocator->FreeChunk(*(void **)&this->pModelName[4]);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 v2 = *(void **)&v1->pModelName[16];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 *(int *)&v1->pModelName[4] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 pAllocator->FreeChunk(v2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 v3 = *(void **)&v1->pModelName[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 *(int *)&v1->pModelName[16] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 pAllocator->FreeChunk(v3);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 v4 = *(void **)&v1->pModelName[28];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 *(int *)&v1->pModelName[20] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 pAllocator->FreeChunk(v4);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 *(int *)&v1->pModelName[28] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 *(int *)&v1->pModelName[24] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 *(int *)&v1->pModelName[8] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 *(int *)&v1->pModelName[0] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 *(short *)&v1->pModelName[12] = 0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 }