Batch #1826 by Yommy: 3 byte-identical, 0 confirmed by peer review. - fn_07882 CEmblemRes::Unload: byte-identical - fn_07883 CEmblemRes::Slot02: byte-identical - fn_07884 CEmblemRes::IsTransient: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/Resource/EmblemResource.cpp
48 lines
845 B
C++
48 lines
845 B
C++
#include "Resource/EmblemResource.h"
|
|
|
|
#include "Contents/Emblems/EmblemCache.h"
|
|
#include "Contents/GuildMgr.h"
|
|
#include "File/File.h"
|
|
|
|
#include <cstdint>
|
|
#include <cstdlib>
|
|
#include <string>
|
|
#include <zlib.h>
|
|
|
|
namespace {
|
|
// INLINED
|
|
EmblemCache& GuildEmblemCache() {
|
|
return *reinterpret_cast<EmblemCache*>(g_guildMgr);
|
|
}
|
|
}
|
|
|
|
// INLINED
|
|
CEmblemRes::CEmblemRes(BitmapResourceContext& context) : gif(context) {
|
|
}
|
|
|
|
// INLINED
|
|
CEmblemRes::~CEmblemRes() = default;
|
|
|
|
// OFFSET: 0x0074C9F0
|
|
|
|
// OFFSET: 0x0074CA90
|
|
|
|
// OFFSET: 0x0074CD00
|
|
// FUNCTION: fn_07882
|
|
void CEmblemRes::Unload() {
|
|
this->gif.Unload();
|
|
}
|
|
|
|
// OFFSET: 0x0074CD10
|
|
// FUNCTION: fn_07883
|
|
void CEmblemRes::Slot02() {
|
|
this->gif.Slot02();
|
|
}
|
|
|
|
// OFFSET: 0x0074CD20
|
|
// FUNCTION: fn_07884
|
|
bool CEmblemRes::IsTransient() {
|
|
return this->gif.IsTransient();
|
|
}
|
|
|
|
// OFFSET: 0x0074CD40
|