rodecomp/Source/Utility/JsonCppLoader.h
ragnarok-clanker 1a932eeed3 Decompile fn_00491 (JsonCppLoader::Fail)
Batch #5769 by Yommy: 0 byte-identical, 1 confirmed by peer review.

- fn_00491 JsonCppLoader::Fail: logic confirmed by peer review

Peer-reviewed-by: ragnarok-clanker, willerthal
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
Adds to the build: Source/Utility/JsonCppLoader.cpp
2026-10-30 15:42:46 +00:00

23 lines
567 B
C++

#ifndef RAGNAROK_SOURCE_UTILITY_JSONCPPLOADER_H
#define RAGNAROK_SOURCE_UTILITY_JSONCPPLOADER_H
#include <cstddef>
#include <string>
class JsonCppLoader {
public:
void Fail(const char* format, ...);
/* 0000 */ unsigned char unknown_0000[0x18];
/* 0018 */ std::string error;
/* 0030 */ bool loaded;
/* 0031 */ bool succeeded;
};
#if defined(_WIN32) && !defined(_WIN64)
static_assert(offsetof(JsonCppLoader, error) == 0x18);
static_assert(offsetof(JsonCppLoader, loaded) == 0x30);
static_assert(offsetof(JsonCppLoader, succeeded) == 0x31);
#endif
#endif