#1 01-08-2011 10:20

VintProg_Pro
Registered: 17-06-2010
Posts: 153

Не удается вправить функцию в IDA.

Нашел вот метод в IDA:

.text:004BBEB0     ; int __cdecl CPlayer_Busted()
.text:004BBEB0     CPlayer_Busted  proc near               ; CODE XREF: sub_42BB70+76p
.text:004BBEB0 000                 cmp     byte ptr [ecx+0CCh], 0
.text:004BBEB7 000                 jnz     short locret_4BBEFC
.text:004BBEB9 000                 mov     byte ptr [ecx+0CCh], 2
.text:004BBEC0 000                 mov     eax, ds:currentTime
.text:004BBEC5 000                 mov     [ecx+0D0h], eax
.text:004BBECB 000                 mov     byte ptr [ecx+148h], 0
.text:004BBED2 000                 call    sub_429F90
.text:004BBED7 000                 mov     ecx, offset pointer_GXTFile
.text:004BBEDC 000                 push    offset aBusted  ; "BUSTED"
.text:004BBEE1 004                 call    CText_GXT_locate
.text:004BBEE6 000                 push    2               ; type font
.text:004BBEE8 004                 push    1388h           ; wait
.text:004BBEED 008                 push    eax
.text:004BBEEE 00C                 call    StyledText_0
.text:004BBEF3 00C                 add     esp, 0Ch
.text:004BBEF6 000                 inc     ds:Statistics_Busteds
.text:004BBEFC
.text:004BBEFC     locret_4BBEFC:                          ; CODE XREF: CPlayer_Busted+7j
.text:004BBEFC 000                 retn
.text:004BBEFC     CPlayer_Busted  endp

не могу его переименовать в __thiscall почему? Пытался делать через "Y"...

Offline

Board footer

Powered by FluxBB