mov eax, dword ptr ds:[004E4DBCh] mov eax, [eax] // eax is now local mov eax, dword ptr ds:[004E4E08h] mov eax, [eax] //eax is now pPlayerTable
teleport proc mov eax, DWORD PTR player1 mov edx, [eax] add edx, DWORD PTR ofs_new_x mov [edx], WORD PTR 0 add edx, 4h mov [edx], WORD PTR 0 add edx, 4h mov [edx], WORD PTR 0 ret teleport endp
// This... mov eax, dword ptr ds:[player] mov eax, [eax] mov eax, [eax] // is equivalent to this... mov eax, dword ptr ds:[004E4DBCh] mov eax, [eax]

mov edx, dword ptr [player1] mov edx, [edx]