Batch #1003 by ragnarok-clanker: 2 byte-identical, 0 confirmed by peer review. - fn_19302 ReplaySection::ReplaySection: byte-identical - fn_19306 ReplaySection::~ReplaySection: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/Client/Replay.cpp
50 lines
985 B
C++
50 lines
985 B
C++
#include "Client/Replay.h"
|
|
|
|
#include <windows.h>
|
|
#include <timeapi.h>
|
|
|
|
// GLOBAL: gl_24549
|
|
int g_replayAnimationScaling = 0;
|
|
|
|
// GLOBAL: gl_24630
|
|
static int g_replayFlushCounter = 0;
|
|
|
|
// STRING: st_16831
|
|
static const char g_replayHeaderText[] = "<< Ragnarok Replay File Version 0.%02d >>\r\n \xA1\xD8 Do not modify file! ";
|
|
|
|
// STRING: st_16832
|
|
static const char g_replayHeaderPrefix[] = "\r\n";
|
|
|
|
#pragma pack(push, 1)
|
|
struct ReplayTaggedRecordHeader {
|
|
/* 0000 */ std::uint16_t id;
|
|
/* 0002 */ std::uint32_t bytes;
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
static_assert(sizeof(ReplayTaggedRecordHeader) == 6);
|
|
|
|
// OFFSET: 0x006DA340
|
|
|
|
// OFFSET: 0x00B839D0
|
|
// FUNCTION: fn_19302
|
|
ReplaySection::ReplaySection() : id(0), bytes(0), fileOffset(0) {
|
|
}
|
|
|
|
// OFFSET: 0x00B83D20
|
|
// FUNCTION: fn_19306
|
|
ReplaySection::~ReplaySection() {
|
|
this->id = 0;
|
|
this->bytes = 0;
|
|
this->fileOffset = 0;
|
|
}
|
|
|
|
// OFFSET: 0x00B83540
|
|
|
|
// OFFSET: 0x00B855B0
|
|
|
|
// OFFSET: 0x00B857E0
|
|
|
|
// OFFSET: 0x00B85A20
|
|
|
|
// OFFSET: 0x00B875E0
|