Decompile 2 functions in Source/Contents/Effects/EffectLists.cpp, Source/Script/LuaScript.cpp, ...
Batch #15143 by Yommy: 2 byte-identical, 0 confirmed by peer review. - fn_18786 EffectLists::RegisterAllocators: byte-identical - fn_18793 EffectLists::Update: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
27d7cb9728
commit
82ea40ad5d
3 changed files with 15 additions and 11 deletions
|
|
@ -1229,14 +1229,14 @@ bool LuaScript::HasTable(const char* name) {
|
|||
|
||||
// OFFSET: 0x00AFD4D0
|
||||
// FUNCTION: fn_18332
|
||||
std::list<int> LuaScript::TableKeys(const char* name, int) {
|
||||
std::list<int> LuaScript::TableKeys(std::string_view name) {
|
||||
std::list<int> keys;
|
||||
|
||||
if (!this->m_state) {
|
||||
return keys;
|
||||
}
|
||||
|
||||
lua_getglobal(this->m_state, name);
|
||||
lua_getglobal(this->m_state, name.data());
|
||||
|
||||
if (lua_type(this->m_state, -1) == LUA_TTABLE) {
|
||||
lua_pushnil(this->m_state);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue