Decompile 3 functions in Source/Contents/MapSkyMgr.cpp, Source/Contents/MapSkyMgr.h, ...
Batch #2793 by willerthal: 0 byte-identical, 3 confirmed by peer review. - fn_03431 CMapSkyMgr::CMapSkyMgr: logic confirmed by peer review - fn_03436 CMapSkyMgr::CreateClouds: logic confirmed by peer review - fn_18325 LuaScriptBag::Add: logic confirmed by peer review Peer-reviewed-by: ntrl, meitogi, youko Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
parent
770e551838
commit
bb67a439b5
4 changed files with 254 additions and 0 deletions
|
|
@ -5,12 +5,33 @@
|
|||
|
||||
extern "C" {
|
||||
#include <lauxlib.h>
|
||||
#include <lualib.h>
|
||||
}
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstring>
|
||||
#include <vector>
|
||||
#include <windows.h>
|
||||
|
||||
struct LuaScriptPair {
|
||||
std::string left;
|
||||
std::string right;
|
||||
};
|
||||
|
||||
class LuaScriptBag {
|
||||
public:
|
||||
void Add(std::string left, std::string right);
|
||||
|
||||
/* 0000 */ unsigned char unknown_0000[0x7C];
|
||||
/* 007C */ std::vector<LuaScriptPair> pairs;
|
||||
};
|
||||
|
||||
// OFFSET: 0x00AFC8B0
|
||||
// FUNCTION: fn_18325
|
||||
void LuaScriptBag::Add(std::string left, std::string right) {
|
||||
this->pairs.push_back(LuaScriptPair{left, right});
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AFC830
|
||||
// FUNCTION: fn_18323
|
||||
LuaScript::LuaScript() : m_state(nullptr) {
|
||||
|
|
@ -31,6 +52,8 @@ void LuaScript::Close() {
|
|||
}
|
||||
}
|
||||
|
||||
// OFFSET: 0x00AFDDD0
|
||||
|
||||
// OFFSET: 0x00AFDD60
|
||||
// FUNCTION: fn_18335
|
||||
bool LuaScript::Execute(const void* bytes, std::size_t size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue