/src/libqxp/src/lib/QXP33Deobfuscator.cpp
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* |
3 | | * This file is part of the libqxp project. |
4 | | * |
5 | | * This Source Code Form is subject to the terms of the Mozilla Public |
6 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
8 | | */ |
9 | | |
10 | | #include "QXP33Deobfuscator.h" |
11 | | |
12 | | namespace libqxp |
13 | | { |
14 | | |
15 | | QXP33Deobfuscator::QXP33Deobfuscator(uint16_t seed, uint16_t increment) |
16 | 4.17k | : QXPDeobfuscator(seed) |
17 | 4.17k | , m_increment(increment) |
18 | 4.17k | { |
19 | 4.17k | } |
20 | | |
21 | | void QXP33Deobfuscator::next() |
22 | 164k | { |
23 | 164k | m_seed += m_increment; |
24 | 164k | } |
25 | | |
26 | | } |
27 | | |
28 | | /* vim:set shiftwidth=2 softtabstop=2 expandtab: */ |