seregavlg Posted May 27, 2014 Share Posted May 27, 2014 Does anybody know offsets to initial firing accuracy in the terrorfromthedeep.exe? Link to comment Share on other sites More sharing options...
seregavlg Posted May 28, 2014 Author Share Posted May 28, 2014 Initial starts function:0x3AE34 loc_43AE0A:or edx, 0FFFFFFFFhlea edi, [esp+3Ch+var_1C]mov ecx, edxxor eax, eaxrepne scasbnot ecxsub edi, ecxlea ebx, [ebp+23h]mov eax, ecxmov esi, edimov edi, ebxpush 0Ahshr ecx, 2rep movsdmov ecx, eaxxor eax, eaxand ecx, 3rep movsbmov [ebp+0Ah], axmov [ebp+6], dxmov [ebp+8], dxmov [ebp+0Ch], dxmov [ebp+16h], almov [ebp+12h], axmov [ebp+0Eh], axmov [ebp+10h], axcall sub_441720add al, 32hpush 0Fhmov [ebp+1Ah], alcall sub_441720add al, 19hpush 1Ehmov [ebp+1Bh], alcall sub_441720add al, 28hpush 1Ehmov [ebp+1Ch], alcall sub_441720add al, 1Ehpush 14hmov [ebp+45h], alcall sub_441720add al, 14hpush 1Ehmov [ebp+22h], alcall sub_441720add al, 28hpush 1Ehmov [ebp+21h], alcall sub_441720add al, 32hpush 14hmov [ebp+1Dh], alcall sub_441720add al, 14hpush 64hmov [ebp+44h], alcall sub_441720push 5mov [ebp+43h], almov byte ptr [ebp+41h], 0call sub_441720add esp, 28hadd al, 5mov [ebp+40h], almov ax, word ptr [esp+3Ch+var_28]mov byte ptr [ebp+1Eh], 0mov word ptr [ebp+14h], 14hmov byte ptr [ebp+1], 0mov byte ptr [ebp+4], 0mov byte ptr [ebp+17h], 0mov byte ptr [ebp+18h], 0mov byte ptr [ebp+5], 0mov byte ptr [ebp+19h], 0mov byte ptr [ebp+3Fh], 0mov byte ptr [ebp+42h], 0mov byte ptr [ebp+3Eh], 0mov byte ptr [ebp+0], 0mov byte ptr [ebp+2], 0pop edipop esipop ebxpop ebpadd esp, 2Chretnsub_43AC70 endp *((_BYTE *)v1 + 26) = sub_441720(10) + 50; *((_BYTE *)v1 + 27) = sub_441720(15) + 25; *((_BYTE *)v1 + 28) = sub_441720(30) + 40; *((_BYTE *)v1 + 69) = sub_441720(30) + 30; *((_BYTE *)v1 + 34) = sub_441720(20) + 20; *((_BYTE *)v1 + 33) = sub_441720(30) + 40; *((_BYTE *)v1 + 29) = sub_441720(30) + 50; *((_BYTE *)v1 + 68) = sub_441720(20) + 20; *((_BYTE *)v1 + 67) = sub_441720(100); *((_BYTE *)v1 + 65) = 0; *((_BYTE *)v1 + 64) = sub_441720(5) + 5; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now