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