Mercurial > mm7
comparison mm7_2.cpp @ 495:90fdb47bfcba
guilds ...
author | Gloval |
---|---|
date | Thu, 28 Feb 2013 21:45:39 +0400 |
parents | 59649750a054 |
children | 0e20e886365d |
comparison
equal
deleted
inserted
replaced
494:af286cec8967 | 495:90fdb47bfcba |
---|---|
3606 | 3606 |
3607 | 3607 |
3608 | 3608 |
3609 | 3609 |
3610 //----- (004BC8D5) -------------------------------------------------------- | 3610 //----- (004BC8D5) -------------------------------------------------------- |
3611 Texture *__cdecl sub_4BC8D5() | 3611 void sub_4BC8D5() |
3612 { | 3612 { |
3613 int v0; // esi@1 | 3613 int v0; // esi@1 |
3614 char *v1; // ebx@1 | 3614 char *v1; // ebx@1 |
3615 signed int v2; // edi@1 | 3615 signed int v2; // edi@1 |
3616 signed int v3; // eax@2 | 3616 signed int v3; // eax@2 |
3617 int v4; // esi@7 | 3617 int v4; // esi@7 |
3618 GUIWindow *v5; // ebp@15 | 3618 GUIWindow *v5; // ebp@15 |
3619 Texture *result; // eax@15 | 3619 Texture *result; // eax@15 |
3620 int v7; // [sp+10h] [bp-4h]@0 | 3620 int v7; // [sp+10h] [bp-4h]@0 |
3621 | 3621 |
3622 v0 = v7; | 3622 // v0 = v7; |
3623 v1 = (char *)window_SpeakInHouse->ptr_1C - 139; | 3623 v1 = (char *)window_SpeakInHouse->ptr_1C - 139; |
3624 v2 = 0; | 3624 v2 = 0; |
3625 do | 3625 do |
3626 { | 3626 { |
3627 //v3 = p2DEvents_minus1___00[26 * (unsigned int)ptr_507BC0->ptr_1C]; | 3627 //v3 = p2DEvents_minus1___00[26 * (unsigned int)ptr_507BC0->ptr_1C]; |
3666 | 3666 |
3667 auto _u = (ItemGen *)&pParty->pPlayers[1].pInstalledBeacons[0].field_18 + v2 + 12 * (unsigned int)window_SpeakInHouse->ptr_1C; | 3667 auto _u = (ItemGen *)&pParty->pPlayers[1].pInstalledBeacons[0].field_18 + v2 + 12 * (unsigned int)window_SpeakInHouse->ptr_1C; |
3668 _u->Reset(); | 3668 _u->Reset(); |
3669 *(&pParty->pPlayers[1].pInstalledBeacons[0].field_18 + 9 * (v2 + 12 * (unsigned int)v5->ptr_1C)) = v0; | 3669 *(&pParty->pPlayers[1].pInstalledBeacons[0].field_18 + 9 * (v2 + 12 * (unsigned int)v5->ptr_1C)) = v0; |
3670 *(&pParty->pPlayers[1].pInstalledBeacons[1].field_10 + 9 * (v2++ + 12 * (unsigned int)v5->ptr_1C)) = 1; | 3670 *(&pParty->pPlayers[1].pInstalledBeacons[1].field_10 + 9 * (v2++ + 12 * (unsigned int)v5->ptr_1C)) = 1; |
3671 result = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture(pItemsTable->pItems[v0].pIconName, TEXTURE_16BIT_PALETTE)]; | 3671 *(&dword_F8B164 + v2) = &pIcons_LOD->pTextures[pIcons_LOD->LoadTexture(pItemsTable->pItems[v0].pIconName, TEXTURE_16BIT_PALETTE)]; |
3672 *(&dword_F8B164 + v2) = result; | |
3673 } | 3672 } |
3674 while ( v2 < 12 ); | 3673 while ( v2 < 12 ); |
3675 return result; | 3674 return; |
3676 } | 3675 } |
3677 | 3676 |
3678 | 3677 |
3679 //----- (004BCA33) -------------------------------------------------------- | 3678 //----- (004BCA33) -------------------------------------------------------- |
3680 GUIButton *__cdecl UI_CreateEndConversationButton() | 3679 GUIButton *__cdecl UI_CreateEndConversationButton() |