Maintenance: Annotation cleanup, no code change (resubmission of 10984). Every // FUNCTION: line now has // OFFSET: <its address from
Batch #11163 by ragnarok-clanker: no function's compiled code changes; checked with 226 compiled unit(s), including every includer of Source/Client/Application/UnhandledExceptionHandler.h, Source/Contents/ReputeMgrLoad.inl, Source/Render/RenderSystemBase.h, Source/UI/Lists/UIListBoxTemplate.h, Source/Utility/Async/NRecycleObject.h.
This commit is contained in:
parent
b161e57b16
commit
07897c8bea
138 changed files with 190 additions and 430 deletions
|
|
@ -2,16 +2,19 @@
|
|||
|
||||
#include "Utility/NIPAddr.h"
|
||||
|
||||
// OFFSET: 0x007349C0
|
||||
// FUNCTION: fn_07599
|
||||
NIPAddr::NIPAddr(std::string text) {
|
||||
std::string copy(text);
|
||||
this->address = inet_addr(copy.c_str());
|
||||
}
|
||||
|
||||
// OFFSET: 0x00734BD0
|
||||
// FUNCTION: fn_07601
|
||||
NIPAddr::~NIPAddr() {
|
||||
}
|
||||
|
||||
// OFFSET: 0x00734CE0
|
||||
// FUNCTION: fn_07603
|
||||
bool NIPAddr::IsPrivateAddress(std::uint32_t address) {
|
||||
const std::uint32_t swapped = (address >> 24) | ((address >> 8) & 0x0000FF00u) | ((address << 8) & 0x00FF0000u) | (address << 24);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue