comparison mm7_2.cpp @ 819:9359c114f98c

More on screenshot
author Nomad
date Tue, 26 Mar 2013 14:14:39 +0200
parents 352c5161fade
children 522591080ac5
comparison
equal deleted inserted replaced
818:352c5161fade 819:9359c114f98c
560 int num_monsters; // [sp+13Ch] [bp-4h]@17 560 int num_monsters; // [sp+13Ch] [bp-4h]@17
561 561
562 v26 = 0; 562 v26 = 0;
563 pParty->field_7B5_in_arena_quest = uDialogueType; 563 pParty->field_7B5_in_arena_quest = uDialogueType;
564 memcpy(&window, pDialogueWindow, sizeof(window)); 564 memcpy(&window, pDialogueWindow, sizeof(window));
565 window.uFrameWidth = 460; 565 window.uFrameWidth = game_viewport_width;
566 window.uFrameZ = 452; 566 window.uFrameZ = 452;
567 v0 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[575], &window, 13, 0) + 7; 567 v0 = pFontArrus->CalcTextHeight(pGlobalTXT_LocalizationStrings[575], &window, 13, 0) + 7;
568 pRenderer->BeginSceneD3D(); 568 pRenderer->BeginSceneD3D();
569 569
570 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor ) 570 if ( uCurrentlyLoadedLevelType == LEVEL_Indoor )
6288 //int v30; // [sp+A0h] [bp-4h]@1 6288 //int v30; // [sp+A0h] [bp-4h]@1
6289 6289
6290 //v30 = width; 6290 //v30 = width;
6291 //v2 = height; 6291 //v2 = height;
6292 //v27 = height; 6292 //v27 = height;
6293 v23 = 452.0 / (double)width; 6293 v23 = game_viewport_width / (double)width;
6294 v25 = 336.0 / (double)height; 6294 v25 = game_viewport_height / (double)height;
6295
6295 pPixels = (unsigned __int16 *)malloc(2 * height * width); 6296 pPixels = (unsigned __int16 *)malloc(2 * height * width);
6296 memset(pPixels, 0 , 2 * height * width); 6297 memset(pPixels, 0 , 2 * height * width);
6298
6297 v3 = pPixels; 6299 v3 = pPixels;
6298 if ( pRenderer->pRenderD3D ) 6300 if ( pRenderer->pRenderD3D )
6299 { 6301 {
6300 pRenderer->BeginSceneD3D(); 6302 pRenderer->BeginSceneD3D();
6301 6303
6308 memset(&Dst, 0, 0x7Cu); 6310 memset(&Dst, 0, 0x7Cu);
6309 Dst.dwSize = sizeof(Dst); 6311 Dst.dwSize = sizeof(Dst);
6310 6312
6311 if ( pRenderer->LockSurface_DDraw4(pRenderer->pBackBuffer4, &Dst, DDLOCK_WAIT) ) 6313 if ( pRenderer->LockSurface_DDraw4(pRenderer->pBackBuffer4, &Dst, DDLOCK_WAIT) )
6312 { 6314 {
6315 for (uint i = game_viewport_y; i < game_viewport_y+16; ++i)
6316 memset32((char *)Dst.lpSurface + i * Dst.lPitch, 0xF800F800, Dst.lPitch / 4);
6317 for (uint i = game_viewport_y+32; i < game_viewport_y+32+16; ++i)
6318 memset32((char *)Dst.lpSurface + i * Dst.lPitch, 0x07E007E0, Dst.lPitch / 4);
6319 for (uint i = game_viewport_y+64; i < game_viewport_y+64+16; ++i)
6320 memset32((char *)Dst.lpSurface + i * Dst.lPitch, 0x001F001F, Dst.lPitch / 4);
6321
6313 auto src = (unsigned __int16 *)Dst.lpSurface; 6322 auto src = (unsigned __int16 *)Dst.lpSurface;
6314 auto dst = pPixels; 6323 auto dst = pPixels;
6315 for (uint y = 0; y < height; ++y) 6324 for (uint y = 0; y < height; ++y)
6316 { 6325 {
6317 uint src_y = (y * v25 + 8.0f) * (Dst.lPitch / sizeof(short)); 6326 uint src_y = (game_viewport_y + y * v25) * (Dst.lPitch / sizeof(short));
6318 assert(y * v25 + 8.0f < Dst.dwHeight); 6327 assert((y + game_viewport_y) * v25 < Dst.dwHeight);
6319 assert(y < height); 6328 assert(y < height);
6320 6329
6321 for (uint x = 0; x < width; ++x) 6330 for (uint x = 0; x < width; ++x)
6322 { 6331 {
6323 uint src_x = x * v23 + 8.0; 6332 uint src_x = game_viewport_x + x * v23;
6324 assert(src_x < Dst.dwWidth); 6333 assert(src_x < Dst.dwWidth);
6325 assert(x < width); 6334 assert(x < width);
6326 6335
6327 *dst++ = src[src_y + src_x]; 6336 *dst++ = src[src_y + src_x];
6328 } 6337 }
9194 unsigned int v9; // [sp+184h] [bp-4h]@28 9203 unsigned int v9; // [sp+184h] [bp-4h]@28
9195 9204
9196 //_getcwd(v5, 120); 9205 //_getcwd(v5, 120);
9197 //sprintfex(pIniFilename, "%s\\mm6.ini", v5); 9206 //sprintfex(pIniFilename, "%s\\mm6.ini", v5);
9198 viewparams = new ViewingParams; 9207 viewparams = new ViewingParams;
9199 viewparams->uScreen_topL_X = GetPrivateProfileIntW(L"screen", L"vx1", 8, pIniFilename); 9208 game_viewport_x = viewparams->uScreen_topL_X = GetPrivateProfileIntW(L"screen", L"vx1", 8, pIniFilename);
9200 viewparams->uScreen_topL_Y = GetPrivateProfileIntW(L"screen", L"vy1", 8, pIniFilename); 9209 game_viewport_y = viewparams->uScreen_topL_Y = GetPrivateProfileIntW(L"screen", L"vy1", 8, pIniFilename);
9201 viewparams->uScreen_BttmR_X = GetPrivateProfileIntW(L"screen", L"vx2", 468, pIniFilename); 9210 game_viewport_z = viewparams->uScreen_BttmR_X = GetPrivateProfileIntW(L"screen", L"vx2", 468, pIniFilename);
9202 viewparams->uScreen_BttmR_Y = GetPrivateProfileIntW(L"screen", L"vy2", 351, pIniFilename); 9211 game_viewport_w = viewparams->uScreen_BttmR_Y = GetPrivateProfileIntW(L"screen", L"vy2", 351, pIniFilename);
9212 game_viewport_width = game_viewport_z - game_viewport_x;
9213 game_viewport_height = game_viewport_w - game_viewport_y + 1;
9203 9214
9204 9215
9205 pAudioPlayer = new AudioPlayer; 9216 pAudioPlayer = new AudioPlayer;
9206 pAudioPlayer->uMixerChannels = GetPrivateProfileIntW(L"settings", L"mixerchannels", 16, pIniFilename); 9217 pAudioPlayer->uMixerChannels = GetPrivateProfileIntW(L"settings", L"mixerchannels", 16, pIniFilename);
9207 if ( pAudioPlayer->uMixerChannels > 16 ) 9218 if ( pAudioPlayer->uMixerChannels > 16 )
9432 //----- (00466CA0) -------------------------------------------------------- 9443 //----- (00466CA0) --------------------------------------------------------
9433 MENU_STATE GetCurrentMenuID() 9444 MENU_STATE GetCurrentMenuID()
9434 { 9445 {
9435 return uCurrentMenuID; 9446 return uCurrentMenuID;
9436 } 9447 }
9437
9438 /*
9439 v17 = 0;
9440 if ( v4 > -2005532222 )
9441 {
9442 switch ( v4 + 2005532212 )
9443 {
9444 case 0:
9445 v7 = "DDERR_SURFACENOTATTACHED";
9446 goto LABEL_173;
9447 case 10:
9448 v7 = "DDERR_TOOBIGHEIGHT";
9449 goto LABEL_173;
9450 case 20:
9451 v7 = "DDERR_TOOBIGSIZE";
9452 goto LABEL_173;
9453 case 30:
9454 v7 = "DDERR_TOOBIGWIDTH";
9455 goto LABEL_173;
9456 case 50:
9457 v7 = "DDERR_UNSUPPORTEDFORMAT";
9458 goto LABEL_173;
9459 case 60:
9460 v7 = "DDERR_UNSUPPORTEDMASK";
9461 goto LABEL_173;
9462 case 61:
9463 v7 = "DDERR_INVALIDSTREAM";
9464 goto LABEL_173;
9465 case 77:
9466 v7 = "DDERR_VERTICALBLANKINPROGRESS";
9467 goto LABEL_173;
9468 case 80:
9469 v7 = "DDERR_WASSTILLDRAWING";
9470 goto LABEL_173;
9471 case 100:
9472 v7 = "DDERR_XALIGN";
9473 goto LABEL_173;
9474 case 101:
9475 v7 = "DDERR_INVALIDDIRECTDRAWGUID";
9476 goto LABEL_173;
9477 case 102:
9478 v7 = "DDERR_DIRECTDRAWALREADYCREATED";
9479 goto LABEL_173;
9480 case 103:
9481 v7 = "DDERR_NODIRECTDRAWHW";
9482 goto LABEL_173;
9483 case 104:
9484 v7 = "DDERR_PRIMARYSURFACEALREADYEXISTS";
9485 goto LABEL_173;
9486 case 105:
9487 v7 = "DDERR_NOEMULATION";
9488 goto LABEL_173;
9489 case 106:
9490 v7 = "DDERR_REGIONTOOSMALL";
9491 goto LABEL_173;
9492 case 107:
9493 v7 = "DDERR_CLIPPERISUSINGHWND";
9494 goto LABEL_173;
9495 case 108:
9496 v7 = "DDERR_NOCLIPPERATTACHED";
9497 goto LABEL_173;
9498 case 109:
9499 v7 = "DDERR_NOHWND";
9500 goto LABEL_173;
9501 case 110:
9502 v7 = "DDERR_HWNDSUBCLASSED";
9503 goto LABEL_173;
9504 case 111:
9505 v7 = "DDERR_HWNDALREADYSET";
9506 goto LABEL_173;
9507 case 112:
9508 v7 = "DDERR_NOPALETTEATTACHED";
9509 goto LABEL_173;
9510 case 113:
9511 v7 = "DDERR_NOPALETTEHW";
9512 goto LABEL_173;
9513 case 114:
9514 v7 = "DDERR_BLTFASTCANTCLIP";
9515 goto LABEL_173;
9516 case 115:
9517 v7 = "DDERR_NOBLTHW";
9518 goto LABEL_173;
9519 case 116:
9520 v7 = "DDERR_NODDROPSHW";
9521 goto LABEL_173;
9522 case 117:
9523 v7 = "DDERR_OVERLAYNOTVISIBLE";
9524 goto LABEL_173;
9525 case 118:
9526 v7 = "DDERR_NOOVERLAYDEST";
9527 goto LABEL_173;
9528 case 119:
9529 v7 = "DDERR_INVALIDPOSITION";
9530 goto LABEL_173;
9531 case 120:
9532 v7 = "DDERR_NOTAOVERLAYSURFACE";
9533 goto LABEL_173;
9534 case 121:
9535 v7 = "DDERR_EXCLUSIVEMODEALREADYSET";
9536 goto LABEL_173;
9537 case 122:
9538 v7 = "DDERR_NOTFLIPPABLE";
9539 goto LABEL_173;
9540 case 123:
9541 v7 = "DDERR_CANTDUPLICATE";
9542 goto LABEL_173;
9543 case 125:
9544 v7 = "DDERR_CANTCREATEDC";
9545 goto LABEL_173;
9546 case 126:
9547 v7 = "DDERR_NODC";
9548 goto LABEL_173;
9549 case 127:
9550 v7 = "DDERR_WRONGMODE";
9551 goto LABEL_173;
9552 case 128:
9553 v7 = "DDERR_IMPLICITLYCREATED";
9554 goto LABEL_173;
9555 case 129:
9556 v7 = "DDERR_NOTPALETTIZED";
9557 goto LABEL_173;
9558 case 130:
9559 v7 = "DDERR_UNSUPPORTEDMODE";
9560 goto LABEL_173;
9561 case 131:
9562 v7 = "DDERR_NOMIPMAPHW";
9563 goto LABEL_173;
9564 case 132:
9565 v7 = "DDERR_INVALIDSURFACETYPE";
9566 goto LABEL_173;
9567 case 140:
9568 v7 = "DDERR_NOOPTIMIZEHW";
9569 goto LABEL_173;
9570 case 141:
9571 v7 = "DDERR_NOTLOADED";
9572 goto LABEL_173;
9573 case 142:
9574 v7 = "DDERR_NOFOCUSWINDOW";
9575 goto LABEL_173;
9576 case 160:
9577 v7 = "DDERR_DCALREADYCREATED";
9578 goto LABEL_173;
9579 case 170:
9580 v7 = "DDERR_NONONLOCALVIDMEM";
9581 goto LABEL_173;
9582 case 180:
9583 v7 = "DDERR_CANTPAGELOCK";
9584 goto LABEL_173;
9585 case 200:
9586 v7 = "DDERR_CANTPAGEUNLOCK";
9587 goto LABEL_173;
9588 case 220:
9589 v7 = "DDERR_NOTPAGELOCKED";
9590 goto LABEL_173;
9591 case 230:
9592 v7 = "DDERR_MOREDATA";
9593 goto LABEL_173;
9594 case 231:
9595 v7 = "DDERR_EXPIRED";
9596 goto LABEL_173;
9597 case 235:
9598 v7 = "DDERR_VIDEONOTACTIVE";
9599 goto LABEL_173;
9600 case 239:
9601 v7 = "DDERR_DEVICEDOESNTOWNSURFACE";
9602 goto LABEL_173;
9603 default:
9604 goto LABEL_174;
9605 case 124:
9606 goto LABEL_176;
9607 }
9608 goto LABEL_176;
9609 }
9610 if ( v4 != -2005532222 )
9611 {
9612 if ( v4 > -2005532447 )
9613 {
9614 if ( v4 <= -2005532337 )
9615 {
9616 if ( v4 == -2005532337 )
9617 {
9618 v7 = "DDERR_NOVSYNCHW";
9619 goto LABEL_173;
9620 }
9621 if ( v4 > -2005532392 )
9622 {
9623 if ( v4 == -2005532382 )
9624 {
9625 v7 = "DDERR_NOROTATIONHW";
9626 goto LABEL_173;
9627 }
9628 if ( v4 == -2005532362 )
9629 {
9630 v7 = "DDERR_NOSTRETCHHW";
9631 goto LABEL_173;
9632 }
9633 if ( v4 == -2005532356 )
9634 {
9635 v7 = "DDERR_NOT4BITCOLOR";
9636 goto LABEL_173;
9637 }
9638 if ( v4 == -2005532355 )
9639 {
9640 v7 = "DDERR_NOT4BITCOLORINDEX";
9641 goto LABEL_173;
9642 }
9643 if ( v4 == -2005532352 )
9644 {
9645 v7 = "DDERR_NOT8BITCOLOR";
9646 goto LABEL_173;
9647 }
9648 if ( v4 == -2005532342 )
9649 {
9650 v7 = "DDERR_NOTEXTUREHW";
9651 goto LABEL_173;
9652 }
9653 }
9654 else
9655 {
9656 if ( v4 == -2005532392 )
9657 {
9658 v7 = "DDERR_NORASTEROPHW";
9659 goto LABEL_173;
9660 }
9661 if ( v4 == -2005532442 )
9662 {
9663 v7 = "DDERR_NOFLIPHW";
9664 goto LABEL_173;
9665 }
9666 if ( v4 == -2005532432 )
9667 {
9668 v7 = "DDERR_NOGDI";
9669 goto LABEL_173;
9670 }
9671 if ( v4 == -2005532422 )
9672 {
9673 v7 = "DDERR_NOMIRRORHW";
9674 goto LABEL_173;
9675 }
9676 if ( v4 == -2005532417 )
9677 {
9678 v7 = "DDERR_NOTFOUND";
9679 goto LABEL_173;
9680 }
9681 if ( v4 == -2005532412 )
9682 {
9683 v7 = "DDERR_NOOVERLAYHW";
9684 goto LABEL_173;
9685 }
9686 if ( v4 == -2005532402 )
9687 {
9688 v7 = "DDERR_OVERLAPPINGRECTS";
9689 goto LABEL_173;
9690 }
9691 }
9692 goto LABEL_174;
9693 }
9694 if ( v4 <= -2005532285 )
9695 {
9696 if ( v4 == -2005532285 )
9697 {
9698 v7 = "DDERR_PALETTEBUSY";
9699 goto LABEL_173;
9700 }
9701 if ( v4 == -2005532332 )
9702 {
9703 v7 = "DDERR_NOZBUFFERHW";
9704 goto LABEL_173;
9705 }
9706 if ( v4 == -2005532322 )
9707 {
9708 v7 = "DDERR_NOZOVERLAYHW";
9709 goto LABEL_173;
9710 }
9711 if ( v4 == DDERR_OUTOFCAPS )
9712 {
9713 v7 = "DDERR_OUTOFCAPS";
9714 goto LABEL_173;
9715 }
9716 if ( v4 == DDERR_OUTOFVIDEOMEMORY )
9717 {
9718 v7 = "DDERR_OUTOFVIDEOMEMORY";
9719 goto LABEL_173;
9720 }
9721 if ( v4 == DDERR_OVERLAYCANTCLIP )
9722 {
9723 v7 = "DDERR_OVERLAYCANTCLIP";
9724 goto LABEL_173;
9725 }
9726 if ( v4 == DDERR_OVERLAYCOLORKEYONLYONEACTIVE )
9727 {
9728 v7 = "DDERR_OVERLAYCOLORKEYONLYONEACTIVE";
9729 goto LABEL_173;
9730 }
9731 goto LABEL_174;
9732 }
9733 if ( v4 == -2005532272 )
9734 {
9735 v7 = "DDERR_COLORKEYNOTSET";
9736 goto LABEL_173;
9737 }
9738 if ( v4 == -2005532262 )
9739 {
9740 v7 = "DDERR_SURFACEALREADYATTACHED";
9741 goto LABEL_173;
9742 }
9743 if ( v4 == -2005532252 )
9744 {
9745 v7 = "DDERR_SURFACEALREADYDEPENDENT";
9746 goto LABEL_173;
9747 }
9748 if ( v4 != -2005532242 )
9749 {
9750 if ( v4 == -2005532237 )
9751 {
9752 v7 = "DDERR_CANTLOCKSURFACE";
9753 goto LABEL_173;
9754 }
9755 if ( v4 == -2005532232 )
9756 {
9757 v7 = "DDERR_SURFACEISOBSCURED";
9758 goto LABEL_173;
9759 }
9760 goto LABEL_174;
9761 }
9762 }
9763 else
9764 {
9765 if ( v4 == -2005532447 )
9766 {
9767 v7 = "DDERR_NOEXCLUSIVEMODE";
9768 goto LABEL_173;
9769 }
9770 if ( v4 <= -2005532562 )
9771 {
9772 if ( v4 == -2005532562 )
9773 {
9774 v7 = "DDERR_INVALIDCLIPLIST";
9775 goto LABEL_173;
9776 }
9777 if ( v4 > -2005532662 )
9778 {
9779 if ( v4 == -2005532652 )
9780 {
9781 v7 = "DDERR_CANNOTDETACHSURFACE";
9782 goto LABEL_173;
9783 }
9784 if ( v4 == -2005532632 )
9785 {
9786 v7 = "DDERR_CURRENTLYNOTAVAIL";
9787 goto LABEL_173;
9788 }
9789 if ( v4 == -2005532617 )
9790 {
9791 v7 = "DDERR_EXCEPTION";
9792 goto LABEL_173;
9793 }
9794 if ( v4 == -2005532582 )
9795 {
9796 v7 = "DDERR_HEIGHTALIGN";
9797 goto LABEL_173;
9798 }
9799 if ( v4 == -2005532577 )
9800 {
9801 v7 = "DDERR_INCOMPATIBLEPRIMARY";
9802 goto LABEL_173;
9803 }
9804 if ( v4 == -2005532572 )
9805 {
9806 v7 = "DDERR_INVALIDCAPS";
9807 goto LABEL_173;
9808 }
9809 }
9810 else
9811 {
9812 if ( v4 == -2005532662 )
9813 {
9814 v7 = "DDERR_CANNOTATTACHSURFACE";
9815 goto LABEL_173;
9816 }
9817 if ( v4 == -2147467263 )
9818 {
9819 v7 = "DDERR_UNSUPPORTED";
9820 goto LABEL_173;
9821 }
9822 if ( v4 == -2147467259 )
9823 {
9824 v7 = "DDERR_GENERIC";
9825 goto LABEL_173;
9826 }
9827 if ( v4 == -2147221008 )
9828 {
9829 v7 = "DDERR_NOTINITIALIZED";
9830 goto LABEL_173;
9831 }
9832 if ( v4 == -2147024882 )
9833 {
9834 v7 = "DDERR_OUTOFMEMORY";
9835 goto LABEL_173;
9836 }
9837 if ( v4 == -2147024809 )
9838 {
9839 v7 = "DDERR_INVALIDPARAMS";
9840 goto LABEL_173;
9841 }
9842 if ( v4 == -2005532667 )
9843 {
9844 v7 = "DDERR_ALREADYINITIALIZED";
9845 LABEL_173:
9846 v13 = strlen(v7);
9847 v12 = (char *)v7;
9848 LABEL_175:
9849 std::stringoperator_assign__const_char_ptr__(&a1, v12, v13);
9850 v13 = a3;
9851 pRenderer->field_40110 = 0;
9852 v15 = &v11;
9853 std::string40E2C8(&v11, Str, (int)((char *)&hr + 3));
9854 v10 = 48;
9855 LOBYTE(v17) = 1;
9856 Str = (char *)&v9;
9857 std::string40E2C8(&v9, "Direct Draw Error", (int)((char *)&a3 + 3));
9858 LOBYTE(v17) = 0;
9859 CheckHRESULT_stru0::ShowMessageBox(v6, &a1, v9, v10, v11, v13);
9860 v5 = 1;
9861 goto LABEL_176;
9862 }
9863 }
9864 LABEL_174:
9865 sprintfex(&Src, "Unknown DirectDraw/Direct3D error number %X", v4);
9866 v13 = strlen(&Src);
9867 v12 = &Src;
9868 goto LABEL_175;
9869 }
9870 if ( v4 > -2005532492 )
9871 {
9872 if ( v4 == -2005532467 )
9873 {
9874 v7 = "DDERR_NOCLIPLIST";
9875 goto LABEL_173;
9876 }
9877 if ( v4 == -2005532462 )
9878 {
9879 v7 = "DDERR_NOCOLORCONVHW";
9880 goto LABEL_173;
9881 }
9882 if ( v4 == -2005532460 )
9883 {
9884 v7 = "DDERR_NOCOOPERATIVELEVELSET";
9885 goto LABEL_173;
9886 }
9887 if ( v4 == -2005532457 )
9888 {
9889 v7 = "DDERR_NOCOLORKEY";
9890 goto LABEL_173;
9891 }
9892 if ( v4 == -2005532452 )
9893 {
9894 v7 = "DDERR_NOCOLORKEYHW";
9895 goto LABEL_173;
9896 }
9897 if ( v4 == -2005532450 )
9898 {
9899 v7 = "DDERR_NODIRECTDRAWSUPPORT";
9900 goto LABEL_173;
9901 }
9902 goto LABEL_174;
9903 }
9904 if ( v4 == -2005532492 )
9905 {
9906 v7 = "DDERR_NOALPHAHW";
9907 goto LABEL_173;
9908 }
9909 if ( v4 == -2005532552 )
9910 {
9911 v7 = "DDERR_INVALIDMODE";
9912 goto LABEL_173;
9913 }
9914 if ( v4 == -2005532542 )
9915 {
9916 v7 = "DDERR_INVALIDOBJECT";
9917 goto LABEL_173;
9918 }
9919 if ( v4 == -2005532527 )
9920 {
9921 v7 = "DDERR_INVALIDPIXELFORMAT";
9922 goto LABEL_173;
9923 }
9924 if ( v4 != -2005532522 )
9925 {
9926 if ( v4 == -2005532512 )
9927 {
9928 v7 = "DDERR_LOCKEDSURFACES";
9929 goto LABEL_173;
9930 }
9931 if ( v4 == -2005532502 )
9932 {
9933 v7 = "DDERR_NO3D";
9934 goto LABEL_173;
9935 }
9936 goto LABEL_174;
9937 }
9938 }*/
9939 9448
9940 //----- (00467D5D) -------------------------------------------------------- 9449 //----- (00467D5D) --------------------------------------------------------
9941 int __thiscall sub_467D5D(int _this) 9450 int __thiscall sub_467D5D(int _this)
9942 { 9451 {
9943 return *(int *)(_this + 7204); 9452 return *(int *)(_this + 7204);