Lua
Lua 5.1.4 complete: C API, VM (luaV_execute), GC, IO, table, undump, luaK_* code gen, luaY_* parser, math/os/package/debug
| Address | Size | Name | Description |
|---|---|---|---|
| 0x00505C40 | 2418 | CLua__SelectPackageItemData | Lua binding that parses JSON package item data, iterates entries, and builds result vectors for cash shop selection. |
| 0x005190F0 | 74 | CLuaState__Constructor | Initializes CLuaState object with Lua VM, registers I/O builtins, and sets panic handler callback. |
| 0x005191A0 | 82 | CLuaState__Destructor | CLuaState destructor that frees the associated Lua thread state and clears the pointer. |
| 0x00519270 | 100 | CLuaState__ScalarDeletingDtor | CLuaState scalar deleting destructor that frees Lua thread and conditionally deallocates object if deletion flag set. |
| 0x005192E0 | 97 | CLuaState__ExecuteString | Executes Lua code string via lua_pcall; displays MessageBox on Lua runtime errors |
| 0x00519370 | 122 | CLuaState__PanicHandler | Lua panic handler that extracts error message from Lua stack and assigns it to std::string before aborting. |
| 0x00519480 | 28 | CLuaState__Close | CLuaState destructor that frees the Lua thread via luaE_freethread and nullifies the state pointer. |
| 0x005194A0 | 82 | CLuaState__Init | Initializes Lua state by creating new VM, registering builtins, setting panic handler, exposing MessageBox function. |
| 0x00519500 | 112 | CLuaState__LoadFile | Loads and executes Lua script file; optionally shows error dialog via MessageBox if execution fails |
| 0x00519570 | 472 | CLuaState__LoadFileFromGRF | Loads Lua script from GRF archive file, executes it via luaL_loadbuffer and lua_pcall, shows error dialog on failure. |
| 0x00519750 | 41 | CLuaState__SetupPanicHandler | Sets Lua panic handler and registers MessageBox global function for error handling in Lua VM. |
| 0x00519780 | 55 | CLuaState__RegisterBoolAndSetGlobal | Pushes boolean value to Lua stack and registers it as a named global variable in CLuaState |
| 0x005197C0 | 55 | CLuaState__RegisterFuncAndSetGlobal | Registers a C closure function with Lua and sets it as a named global variable in the Lua state. |
| 0x00519800 | 63 | CLuaState__PushNumberAndSetGlobal | Pushes a numeric value onto Lua stack and sets it as a named global variable via lua_setfield. |
| 0x00519840 | 101 | lua_call_internal_helper | Prepares and executes a Lua function call by creating a C closure, pushing arguments onto stack, then invoking luaD_call_protected. |
| 0x005198B0 | 24 | lua_protected_call_wrapper | Wrapper that invokes protected Lua function call with adjusted result stack positioning via luaD_call_protected. |
| 0x005198D0 | 177 | lua_index2adr | Converts Lua stack index to TValue pointer, handling positive/negative indices and pseudo-indices (-10000/-10001/-10002). |
| 0x00519990 | 38 | lua_pushvalue_raw | Copies a Lua TValue (3 dwords: value, extra, type) to stack top and increments stack pointer by 16 bytes. |
| 0x005199C0 | 20 | lua_swap_allowhook | Swaps the allowhook/hookcount field in global_State, returning the previous value for Lua hook management. |
| 0x005199E0 | 57 | lua_call | Calls a Lua function with specified argument/result counts, protecting against errors and adjusting stack top for multiple returns. |
| 0x00519A20 | 106 | lua_checkstack | Validates and allocates Lua stack space, ensuring room for 'size' extra slots with 8000-element limit. |
| 0x00519A90 | 117 | lua_concat | Concatenates n values at top of Lua stack; handles n==0 (empty string) and n>=2 cases with garbage collection. |
| 0x00519B10 | 52 | lua_cpcall | Calls a C function in protected mode with error handling via luaD_pcall wrapper. |
| 0x00519B50 | 63 | lua_createtable | Creates a new Lua table with pre-allocated array/hash parts, pushes it onto the Lua stack, triggers GC if needed. |
| 0x00519B90 | 53 | lua_dump | Validates and dumps Lua function to binary chunk via luaU_dump; returns 1 if not a valid Lua function. |
| 0x00519BD0 | 84 | lua_equal | Compares two Lua stack values for equality using Lua equality rules and metamethods, returns 1 if equal. |
| 0x00519C30 | 18 | lua_error | Wrapper that raises a Lua error by passing the top stack value to luaG_errormsg for error handling. |
| 0x00519C50 | 214 | lua_gc | Lua garbage collector control interface supporting stop, restart, collect, memory counting, stepping, and pause/stepmul configuration. |
| 0x00519D50 | 40 | lua_getallocf | Retrieves the memory allocator function pointer and userdata from Lua state's global_State structure. |
| 0x00519D80 | 109 | lua_getfenv | Pushes environment table of Lua value at index onto stack; handles functions, userdata, and threads differently. |
| 0x00519DF0 | 89 | lua_getfield | Retrieves a table field by string key, creates TString, calls luaV_gettable, and pushes result onto Lua stack. |
| 0x00519E50 | 84 | lua_getmetatable | Retrieves and pushes the metatable of a Lua value at the given stack index; returns 1 if metatable exists, 0 otherwise. |
| 0x00519EB0 | 37 | lua_gettable | Retrieves a value from a Lua table at the given index, replacing the top stack value with the result. |
| 0x00519EE0 | 17 | lua_gettop | Returns the number of elements on the Lua stack by calculating (top - base) >> 4 from L struct |
| 0x00519F00 | 138 | lua_getupvalue | Retrieves the n-th upvalue of a Lua function at given stack index, pushes it onto stack, returns upvalue name. |
| 0x00519F90 | 80 | lua_insert | Moves top stack element to given index, shifting intermediate elements up to make room (Lua stack manipulation). |
| 0x00519FE0 | 42 | lua_iscfunction | Checks if a Lua value at given stack index is a C function by validating type field equals 6 and isC flag is set. |
| 0x0051A010 | 56 | lua_isnumber | Checks if a Lua value at given index is a number or string convertible to number via luaV_tonumber. |
| 0x0051A050 | 48 | lua_isstring | Checks if Lua value at index is string (type 4) or number (type 3), returns 1 if true else 0 |
| 0x0051A080 | 41 | lua_isuserdata | Checks if Lua value at stack index is userdata (full or light type), returns 1 if true |
| 0x0051A0B0 | 67 | lua_lessthan | Compares two Lua stack values using Lua ordering rules; returns 1 if idx1 < idx2, else 0. |
| 0x0051A100 | 57 | lua_load | Initializes Lua parser with reader function and optional chunk name, then executes protected parsing of Lua code chunk. |
| 0x0051A140 | 55 | lua_newthread | Creates a new Lua coroutine, triggers garbage collection if needed, pushes thread object onto stack with type tag 8. |
| 0x0051A180 | 83 | lua_newuserdata | Allocates and pushes a new Lua userdata object onto the stack, returning pointer to userdata block. |
| 0x0051A1E0 | 57 | lua_next | Lua stack manipulation: pops table key, pushes next key-value pair or adjusts stack pointer if iteration complete. |
| 0x0051A220 | 88 | lua_objlen | Returns the length of a Lua value: string length, table element count, or userdata block size based on type. |
| 0x0051A290 | 112 | lua_pcall | Wrapper for Lua's protected function call that sets up error handler and adjusts stack before invoking luaD_pcall |
| 0x0051A300 | 32 | lua_pushboolean | Pushes a boolean value onto the Lua stack at the current top, incrementing stack pointer by 16 bytes. |
| 0x0051A320 | 171 | lua_pushcclosure | Creates a Lua C closure with n upvalues from stack, assigns C function pointer, pushes result onto stack. |
| 0x0051A3D0 | 46 | lua_pushfstring | Pushes formatted string onto Lua stack after triggering garbage collection check if needed. |
| 0x0051A400 | 35 | lua_pushinteger | Pushes an integer onto Lua stack as double (type 3), increments stack pointer by 16 bytes |
| 0x0051A430 | 27 | lua_pushlightuserdata | Pushes a light userdata pointer onto Lua stack at current position, increments stack top by 16 bytes |
| 0x0051A450 | 63 | lua_pushlstring | Pushes a length-specified Lua string onto the stack, interning it and triggering garbage collection if needed. |
| 0x0051A490 | 22 | lua_pushnil | Pushes a nil value onto the Lua stack by writing type 0 and advancing the stack pointer by 16 bytes. |
| 0x0051A4B0 | 31 | lua_pushnumber | Pushes a double value onto the Lua stack as LUA_TNUMBER type, incrementing stack pointer by 16 bytes. |
| 0x0051A4D0 | 103 | lua_pushstring | Pushes a C string onto Lua stack as interned TString, or nil if input is NULL |
| 0x0051A540 | 35 | lua_pushthread | Pushes Lua thread onto stack, returns true if L is main thread; manipulates stack pointer and type field. |
| 0x0051A570 | 47 | lua_pushvalue | Pushes a copy of the Lua stack element at given index onto top of stack, incrementing stack pointer by 16 bytes. |
| 0x0051A5A0 | 45 | lua_pushvfstring | Performs garbage collection step if needed, then pushes formatted string onto Lua stack |
| 0x0051A5D0 | 64 | lua_rawequal | Compares two Lua stack values for raw equality without invoking metamethods; returns 1 if equal, 0 otherwise. |
| 0x0051A610 | 56 | lua_rawget | Performs raw table lookup in Lua without invoking metamethods; retrieves value and pushes result onto stack. |
| 0x0051A650 | 57 | lua_rawgeti | Pushes value from table at stack index onto stack using raw integer key lookup without invoking metamethods. |
| 0x0051A690 | 111 | lua_rawset | Sets raw table key-value pair without metamethods, handles GC write barrier for table objects in Lua state. |
| 0x0051A700 | 110 | lua_rawseti | Sets a raw table value by integer index, handles Lua stack popping and GC write barrier for table assignments. |
| 0x0051A770 | 68 | lua_remove | Removes element at stack index, shifts upper elements down, decreases stack top by 1 |
| 0x0051A7C0 | 212 | lua_replace | Pops stack top value and replaces element at index, with GC barrier for upvalue/environment updates |
| 0x0051A8A0 | 26 | lua_setallocf | Sets custom memory allocator function and userdata pointer in Lua state's global_State structure. |
| 0x0051A8C0 | 129 | lua_setfenv | Sets environment table for Lua functions/userdata/threads; pops table from stack and assigns to target object's environment. |
| 0x0051A950 | 93 | lua_setfield | Sets a Lua table field by key (C string), storing the stack top value and popping it via luaV_settable |
| 0x0051A9B0 | 19 | lua_setlevel | Copies nCcalls field (offset 0x34) from source to destination Lua thread structure for execution transfer. |
| 0x0051A9D0 | 169 | lua_setmetatable | Sets metatable for Lua value at index by popping table from stack; handles tables, userdata, and type-wide metatables with GC barriers. |
| 0x0051AA80 | 44 | lua_settable | Sets table element at index by calling luaV_settable with key and value from stack, then pops both. |
| 0x0051AAB0 | 79 | lua_settop | Sets Lua stack top position; grows stack with nil values if index >= 0, or pops elements if index < 0. |
| 0x0051AB00 | 213 | lua_setupvalue | Sets the n-th upvalue of a Lua function at given stack index from top-of-stack value, with GC write barrier. |
| 0x0051ABE0 | 12 | lua_status | Returns the status byte of a Lua thread (0=normal, 1=yielded). |
| 0x0051ABF0 | 45 | lua_toboolean | Converts Lua stack value at index to C boolean; returns 1 for truthy values, 0 for nil/false. |
| 0x0051AC20 | 40 | lua_tocfunction | Retrieves C function pointer from Lua stack at given index; returns NULL if value is not a C function |
| 0x0051AC50 | 69 | lua_tointeger | Converts Lua stack value at index to integer, attempting type coercion via luaV_tonumber if needed. |
| 0x0051ACA0 | 115 | lua_tolstring | Converts Lua value at stack index to C string, returning pointer and optionally setting length; converts numbers in-place, returns NULL for incompatible types. |
| 0x0051AD20 | 55 | lua_tonumber | Converts Lua stack value at index to double; returns 0.0 if conversion fails or value is not numeric. |
| 0x0051AD60 | 84 | lua_topointer | Extracts generic pointer from Lua value at given stack index; returns userdata+0x18, GCObject ptr for tables/functions, or 0. |
| 0x0051ADD0 | 31 | lua_tothread | Extracts and returns a Lua thread (coroutine) pointer from stack index if type matches, else NULL. |
| 0x0051ADF0 | 45 | lua_touserdata | Extracts userdata pointer from Lua stack: returns light userdata directly or full userdata payload offset by header size. |
| 0x0051AE20 | 34 | lua_type | Returns the Lua type of a value at the given stack index, or -1 if index is invalid. |
| 0x0051AE50 | 27 | lua_typename | Returns Lua type name string for a given type constant; handles LUA_TNONE (-1) as special case. |
| 0x0051AE70 | 90 | lua_xmove | Moves n values between Lua thread stacks by popping from source and pushing to destination thread. |
| 0x0051AED0 | 106 | luaL_prepbuffer_flush | Flushes luaL_Buffer by concatenating accumulated strings when buffer level exceeds threshold, optimizing batching. |
| 0x0051AF40 | 73 | luaL_fileresult_error | Lua aux library function that formats and pushes a file operation error message with errno description, then removes the value at the specified stack index. |
| 0x0051AF90 | 36 | get_and_print_json_allocator | Retrieves global JSON allocator and prints formatted output via stdio, likely for debug/logging purposes. |
| 0x0051AFC0 | 97 | lua_file_reader | Lua reader callback that yields file chunks (512 bytes) with skip marker on first call; returns NULL at EOF. |
| 0x0051B030 | 33 | luaL_loadstring_reader | Lua reader callback that returns buffer contents on first call, NULL on subsequent calls for script loading |
| 0x0051B060 | 41 | lua_default_alloc | Lua memory allocator that frees memory when size is 0, otherwise reallocates to requested size |
| 0x0051B090 | 105 | luaL_addlstring | Adds a string of specified length to a Lua buffer, flushing to stack when internal buffer reaches capacity. |
| 0x0051B100 | 41 | luaL_addstring | Calculates length of null-terminated string and adds it to Lua buffer via luaL_addlstring wrapper. |
| 0x0051B130 | 128 | luaL_addvalue | Adds Lua string value to buffer, flushing to stack if insufficient space remains in internal buffer. |
| 0x0051B1B0 | 235 | luaL_argerror | Raises formatted Lua argument errors, adjusting for method calls by decrementing arg index if function is a method. |
| 0x0051B2A0 | 26 | luaL_buffinit | Initializes a Lua buffer structure by setting the Lua state pointer, buffer position, and level counter to zero. |
| 0x0051B2C0 | 136 | luaL_callmeta | Lua API function that retrieves and invokes a metamethod from an object's metatable if it exists |
| 0x0051B350 | 43 | luaL_checkany | Validates that a Lua argument exists at the specified stack index, raising error if absent. |
| 0x0051B380 | 101 | luaL_checkinteger | Validates Lua stack argument is numeric, converts to integer, raises type error if conversion fails |
| 0x0051B3F0 | 89 | luaL_checklstring | Validates Lua argument is a string, returns it with length; raises type error if not string. |
| 0x0051B450 | 124 | luaL_checknumber | Validates and converts a Lua stack argument to a number, raising a type error if conversion fails. |
| 0x0051B4D0 | 156 | luaL_checkoption | Validates Lua argument against list of valid string options, returns index or raises error if invalid option provided. |
| 0x0051B570 | 36 | luaL_checkstack | Validates Lua stack has sufficient space; raises error if lua_checkstack fails |
| 0x0051B5A0 | 81 | luaL_checktype | Validates Lua argument type, raising "TYPE expected, got ACTUAL" error on mismatch. |
| 0x0051B600 | 138 | luaL_checkudata | Validates that a Lua stack argument is userdata with a matching metatable, raising a type error if validation fails. |
| 0x0051B690 | 146 | luaL_error | Raises a Lua error with formatted message, prepending file:line debug info if available before calling lua_error. |
| 0x0051B730 | 224 | luaL_findtable | Traverses dot-separated Lua table path, creating intermediate tables as needed; returns NULL on success or problematic key on failure. |
| 0x0051B810 | 90 | luaL_getmetafield | Retrieves and pushes a metafield from an object's metatable in Lua stack, returns 1 if found else 0. |
| 0x0051B870 | 365 | luaL_gsub | Lua string global substitution: replaces all occurrences of pattern in string using luaL_Buffer, pushes result onto Lua stack |
| 0x0051B9E0 | 45 | luaL_loadbuffer | Loads Lua chunk from buffer using luaL_loadstring_reader callback and lua_load for script execution. |
| 0x0051BA10 | 567 | luaL_loadfile | Loads and parses Lua scripts from files, handling shebangs, binary chunks, and stdin with error reporting. |
| 0x0051BC50 | 57 | luaL_loadstring | Loads a null-terminated Lua string as a chunk, using string pointer as reader state for lua_load. |
| 0x0051BC90 | 92 | luaL_newmetatable | Creates new Lua metatable in registry by name; returns 1 if created, 0 if already exists |
| 0x0051BCF0 | 40 | luaL_newstate | Creates new Lua state with default allocator and sets panic handler for error recovery |
| 0x0051BD20 | 281 | luaL_register | Registers a Lua library by creating module table and registering functions as closures with upvalues |
| 0x0051BE40 | 129 | luaL_optinteger | Lua API wrapper that retrieves an optional integer argument, returning default if absent or validating/converting if present. |
| 0x0051BED0 | 92 | luaL_optlstring | Returns Lua string argument or default; computes length if pointer provided, matches Lua C API luaL_optlstring |
| 0x0051BF30 | 162 | luaL_optnumber | Retrieves optional Lua number argument with default value; validates type and raises error if non-number provided. |
| 0x0051BFE0 | 50 | luaL_prepbuffer | Flushes buffered content to Lua stack and returns pointer to internal buffer for writing. |
| 0x0051C020 | 64 | luaL_pushresult | Flushes buffer remainder and concatenates all buffer segments into single Lua string on stack |
| 0x0051C060 | 173 | luaL_ref | Creates a reference for a Lua stack value in a table, reusing freed slots or appending new ones, returns reference ID. |
| 0x0051C110 | 224 | luaI_openlib | Registers a Lua library module by creating tables in _LOADED and globals, then populating with C functions from luaL_Reg array. |
| 0x0051C1F0 | 54 | luaL_typerror | Raises a Lua type error with formatted message showing expected vs actual type using luaL_argerror |
| 0x0051C230 | 85 | luaL_unref | Releases a Lua reference by returning its slot to the freelist in the reference table at index t[0]. |
| 0x0051C290 | 130 | luaL_where | Pushes formatted "source:line: " debug location string onto Lua stack for error reporting at specified call level. |
| 0x0051C320 | 48 | ragnarok_lua_panic_handler | Lua panic handler for RO client that logs unprotected API errors to stderr and triggers allocator diagnostics |
| 0x0051C350 | 207 | luaB_print | Lua base library print function that converts arguments to strings via tostring() and outputs them tab-separated to stdout |
| 0x0051C420 | 275 | luaB_tonumber | Lua base library tonumber() - converts values to numbers with optional base (2-36) support, base 10 uses lua_tonumber, others use strtoul |
| 0x0051C540 | 86 | luaB_error | Lua base library error function that raises errors with optional stack level and prepends location info for string errors. |
| 0x0051C5A0 | 71 | luaB_getmetatable | Lua base library function that retrieves and returns a table's metatable or __metatable field, or nil if none exists. |
| 0x0051C5F0 | 118 | luaB_setmetatable | Lua base library function that sets a metatable on a table, with protection against overwriting __metatable fields. |
| 0x0051C670 | 71 | luaB_getfenv | Lua base library function that retrieves the environment table of a function, or global table for C functions. |
| 0x0051C6C0 | 170 | luaB_setfenv | Lua base library function that sets the environment table for a function or thread, with error handling for incompatible objects. |
| 0x0051C770 | 51 | luaB_rawequal | Lua binding function that checks raw equality of two values without invoking metamethods, returns boolean result. |
| 0x0051C7B0 | 52 | luaB_rawget | Lua binding that performs raw table lookup without metamethods; validates table at arg 1, gets value at arg 2. |
| 0x0051C7F0 | 60 | luaB_rawset | Lua binding that performs raw table assignment without invoking metamethods; validates table and key/value arguments. |
| 0x0051C830 | 34 | luaB_gcinfo | Lua base library function that queries garbage collector memory usage and returns count in KB to Lua stack. |
| 0x0051C860 | 195 | luaB_collectgarbage | Lua collectgarbage() binding; dispatches GC operations (stop/restart/collect/count/step/setpause/setstepmul) with appropriate return values. |
| 0x0051C930 | 48 | luaB_type | Lua binding that returns the type name of a value at stack position 1 as a string |
| 0x0051C960 | 65 | luaB_next | Lua binding for table iteration; validates table at index 1, advances iterator via lua_next, returns key-value pair or nil |
| 0x0051C9B0 | 91 | luaB_loadstring | Loads Lua code from a string buffer; returns function on success or nil+error on failure. |
| 0x0051CA10 | 66 | luaB_loadfile | Lua library function that loads a Lua file and returns 1 on success or pushes nil+error on failure |
| 0x0051CA60 | 99 | luaB_load | Lua API wrapper that loads Lua code from a reader function, returning compiled chunk or error with traceback. |
| 0x0051CAD0 | 80 | luaB_dofile | Loads and executes a Lua file, returning the number of return values pushed onto the Lua stack. |
| 0x0051CB20 | 74 | luaB_assert | Lua assertion function that validates first argument is truthy, returns all stack values or errors with optional message. |
| 0x0051CB70 | 176 | luaB_unpack | Lua library function that unpacks table elements into multiple return values with bounds checking and stack validation. |
| 0x0051CC20 | 129 | luaB_select | Lua select() function implementation - returns count of arguments from index onward, supports '#' operator for argument count. |
| 0x0051CCB0 | 73 | luaB_pcall | Wraps lua_pcall with error handling, pushing success boolean result to stack before function return value. |
| 0x0051CD00 | 77 | luaB_xpcall | Lua xpcall implementation: executes function with error handler, returns success boolean and results. |
| 0x0051CD50 | 227 | luaB_tostring | Lua base library tostring function that converts values to strings, checking __tostring metamethod first, then handling nil/bool/number/string/table types. |
| 0x0051CE50 | 74 | luaB_costatus | Lua binding function that retrieves and returns the status string of a coroutine object. |
| 0x0051CEA0 | 123 | luaB_coresume | Resumes a Lua coroutine with arguments, returning success status and results or error. |
| 0x0051CF20 | 92 | luaB_cocreate | Creates a new Lua coroutine thread from a function argument, validating it's a Lua function not a C function. |
| 0x0051CF80 | 105 | luaB_cowrap | Lua coroutine.wrap() implementation - creates thread, validates function arg, returns wrapped resume closure |
| 0x0051CFF0 | 25 | luaB_yield | Yields current Lua coroutine, returning all stack arguments to resume caller |
| 0x0051D010 | 36 | luaB_corunning | Lua coroutine library binding that returns the currently running coroutine or nil if in main thread |
| 0x0051D040 | 208 | lua_auxresume | Resumes a Lua coroutine by validating state, transferring arguments, executing lua_resume, and returning results to caller state. |
| 0x0051D110 | 158 | lua_costatus | Determines Lua coroutine status: running (0), suspended (1), normal (2), or dead (3) by examining thread state and stack. |
| 0x0051D1B0 | 126 | lua_generic_reader | Generic Lua reader callback that retrieves string data from reader function for luaB_load compilation, returns string pointer and length. |
| 0x0051D230 | 210 | luaB_getfunc | Retrieves Lua function at specified stack level for debug operations, validating level and extracting function environment. |
| 0x0051D310 | 67 | luaB_ipairsaux | Lua ipairs iterator: increments index, retrieves next table element via rawgeti, returns index+value or 0 if nil |
| 0x0051D360 | 101 | luaB_auxwrap | Resumes a wrapped Lua coroutine, prepending error location info before propagating exceptions via lua_error. |
| 0x0051D3D0 | 55 | luaB_ipairs | Lua base library function returning ipairs iterator, table, and zero as initial index after type validation |
| 0x0051D410 | 216 | luaB_newproxy | Creates Lua userdata proxy with optional metatable; supports weak references and metatable copying from existing proxies. |
| 0x0051D4F0 | 53 | luaB_pairs | Lua base library pairs() iterator - returns next function, table, and nil as initial key after type check |
| 0x0051D530 | 274 | luaopen_base | Initializes Lua 5.1 base library with standard functions, iterator closures, newproxy, and coroutine sublibrary. |
| 0x0051D650 | 233 | luaK_addk | Adds a constant value to Lua prototype's constant table, avoiding duplicates via hash table, returns constant index. |
| 0x0051D740 | 477 | lua_codearith | Lua compiler constant-folding for arithmetic operations; evaluates binary ops at compile time when both operands are numeric constants. |
| 0x0051D950 | 217 | luaK_codecomp | Emits Lua comparison instruction (EQ/LT/LE) with operand resolution, register management, and conditional jump concatenation. |
| 0x0051DA30 | 93 | luaK_codeABC_testJmp | Emits ABC-format Lua instruction with conditional jump; chains jump list for test operations. |
| 0x0051DA90 | 85 | luaK_exp2nextreg | Allocates next free register for Lua expression, updates max stack size, then discharges expression to that register. |
| 0x0051DAF0 | 475 | luaK_exp2reg | Lua code generator: discharges expression into target register, handling all expression types (nil, bool, constant, number, upvalue, indexed, relocation). |
| 0x0051DD00 | 288 | luaK_exp2reg_discharge | Discharges conditional jump expressions to register by emitting LOADBOOL instructions and patching true/false jump targets in Lua bytecode. |
| 0x0051DE20 | 38 | luaK_freereg | Frees a register in Lua code generator if expression is non-constant and register index >= nactvar |
| 0x0051DE50 | 80 | luaK_invertjump | Inverts a conditional test instruction by toggling the A operand (bit 6) between 0 and 1 in Lua bytecode. |
| 0x0051DEA0 | 249 | luaK_goiftrue | Generates conditional jump code for true expressions; handles NOT optimization, registers allocation, and TESTSET instruction for control flow. |
| 0x0051DFA0 | 57 | luaK_reserveregs | Reserves n registers in Lua code generator, updating freereg and enforcing 250-register limit with error on overflow. |
| 0x0051DFE0 | 162 | luaK_code | Emits a Lua instruction into code array, patches jumps, grows code/lineinfo arrays as needed. |
| 0x0051E090 | 45 | luaK_codeABC | Encodes ABC-format Lua instruction (opcode, A, B, C fields) into 32-bit word and emits via luaK_code |
| 0x0051E0C0 | 39 | luaK_codeABx | Encodes and emits an ABx-format Lua instruction (opcode + A + Bx fields) for code generation |
| 0x0051E0F0 | 132 | luaK_concat | Concatenates two Lua jump instruction lists by patching the tail of list1 to redirect to list2's start. |
| 0x0051E180 | 290 | luaK_dischargevars | Discharges Lua variable references (locals, upvalues, globals, indexed) into instruction form for code generation. |
| 0x0051E2D0 | 344 | luaK_exp2RK | Converts Lua expression to RK (register/constant) form, storing constants or discharging to registers for code generation. |
| 0x0051E440 | 80 | luaK_exp2anyreg | Ensures Lua expression is in a register, reusing existing register if valid or allocating new one via discharge. |
| 0x0051E490 | 117 | luaK_exp2nextreg_full | Discharges Lua expression to next available register with register allocation and jump patching for code generation. |
| 0x0051E510 | 97 | luaK_exp2val | Converts Lua expression to value by discharging variables and allocating register if jumps exist. |
| 0x0051E580 | 23 | luaK_fixline | Updates the line number metadata for the previously emitted Lua instruction in the code generator's instruction buffer. |
| 0x0051E5A0 | 14 | luaK_setline_to_lastline | Synchronizes current line number with last recorded line in Lua code generator state structure. |
| 0x0051E5B0 | 122 | luaK_goiffalse | Lua code generator: emits conditional jump code when expression evaluates false, handles constants and VJMP inversions. |
| 0x0051E650 | 31 | luaK_indexed | Sets up indexed table access expression by converting key to RK form and marking expression type as VINDEXED (9). |
| 0x0051E670 | 461 | lua_leaveblock | Lua compiler: closes block scope, handles break/continue lists and patches jump targets for while/for loops |
| 0x0051E880 | 59 | luaK_jump | Emits unconditional JMP instruction, manages jump list concatenation, returns instruction index for Lua code generation. |
| 0x0051E8C0 | 150 | luaK_nil | Lua code generator that emits LOADNIL instructions to set register ranges to nil, merging contiguous operations. |
| 0x0051E960 | 43 | luaK_numberK | Wraps a numeric value in a TValue with LUA_TNUMBER type tag and adds it to the Lua constant table via luaK_addk. |
| 0x0051E990 | 58 | luaK_patchtohere | Patches jump list to current code position; concatenates with pending jumps if on same line, else patches directly. |
| 0x0051E9D0 | 30 | luaK_patchclose | Patches a jump instruction by copying lastline to current line, then concatenates with pending jump list |
| 0x0051E9F0 | 4205 | luaK_posfix | Lua code generator for postfix binary operators with constant folding; processes arithmetic/comparison/logical ops and generates optimized bytecode instructions. |
| 0x0051FC20 | 468 | luaK_prefix | Lua code generator for prefix unary operators (negation, logical NOT, length); handles compile-time optimization and bytecode emission. |
| 0x0051FE20 | 64 | luaK_checkstack | Updates Lua code generator stack usage, tracks max stack size, errors if registers exceed 249 limit. |
| 0x0051FE60 | 44 | luaK_codeABx_return | Emits Lua OP_RETURN instruction (opcode 0x1e) with register A and B encoding nresults+1 via ABx format. |
| 0x0051FE90 | 236 | luaK_self | Emits OP_SELF (0xB) opcode for Lua method calls (obj:method()), managing register allocation and converting keys to RK format. |
| 0x0051FF80 | 130 | luaK_setlist | Emits OP_SETLIST instruction for Lua table constructors, calculating chunk count and handling extra args for large tables. |
| 0x00520010 | 85 | luaK_setoneret | Adjusts Lua expression to return exactly one result; handles VCALL and VVARARG instruction types. |
| 0x00520070 | 165 | luaK_setmultret | Adjusts VCALL/VVARARG expressions for multiple return values, patching instruction fields and managing register allocation. |
| 0x00520120 | 218 | luaK_storevar | Lua code generator that emits assignment instructions for variables (local, upval, global, indexed) and manages register allocation. |
| 0x00520210 | 39 | luaK_stringK | Wraps a string constant in a TValue with LUA_TSTRING type tag and adds it to the Lua constant table. |
| 0x00520240 | 91 | luaK_hasjumps | Walks jump chain in Lua bytecode to detect conditional jumps (non-OP_JMP instructions) in code generation. |
| 0x005202A0 | 163 | luaK_patchlistaux | Lua 5.1 internal: luaK patchlistaux |
| 0x00520350 | 143 | luaK_patchtestreg | Patches test instruction register in Lua bytecode; converts TESTSET to TEST or updates target register A based on parameter. |
| 0x005203E0 | 124 | luaK_removevalues | Removes TESTSET instructions from Lua jump chain by converting them to TEST (no assignment), patching conditional tests in bytecode. |
| 0x00520460 | 26 | luaB_db_getregistry | Pushes Lua registry table onto stack; implements debug.getregistry() for Ragnarok client scripting |
| 0x00520480 | 47 | luaB_db_getmetatable | Lua debug library function that retrieves and returns the metatable of an object, bypassing __metatable metamethod. |
| 0x005204B0 | 77 | luaB_db_setmetatable | Lua debug library function that sets an object's metatable, bypassing __metatable metamethod, returns success boolean. |
| 0x00520500 | 33 | luaB_db_getfenv | Lua debug library wrapper that retrieves and returns the environment table of a given Lua object. |
| 0x00520530 | 62 | luaB_db_setfenv | Lua debug library function that sets the environment/fenv table for a given object, validating the table argument and raising error if operation fails. |
| 0x00520570 | 662 | luaB_db_getinfo | Lua debug.getinfo() binding that retrieves function/stack frame metadata (source, line, name, upvalues) into a Lua table |
| 0x00520810 | 248 | luaB_db_getlocal | Lua debug.getlocal() binding - retrieves name and value of local variable at stack level with optional thread parameter |
| 0x00520910 | 231 | luaB_db_setlocal | Lua debug.setlocal wrapper that sets a local variable at specified stack level, supporting optional thread parameter. |
| 0x00520A00 | 92 | luaB_db_getupvalue | Lua debug library wrapper that retrieves upvalue name and value from Lua functions, returning pair or nothing for C functions. |
| 0x00520A60 | 100 | luaB_db_setupvalue | Lua debug library wrapper that sets an upvalue of a Lua function at specified index, returning upvalue name or 0 |
| 0x00520AD0 | 295 | luaB_db_sethook | Lua debug library wrapper that sets a debug hook with call/return/line event masks and optional instruction count limit. |
| 0x00520C00 | 228 | luaB_db_gethook | Lua debug.gethook() wrapper - returns current hook function, mask string (c/r/l), and hook count for optional thread parameter |
| 0x00520CF0 | 313 | luaB_db_debug | Interactive Lua debug console that reads commands from stdin, executes them via luaL_loadbuffer/lua_pcall, exits on "cont" |
| 0x00520E30 | 585 | luaB_db_traceback | Lua debug.traceback() implementation - formats stack trace with source/line info, handles thread/message/level parameters |
| 0x00521080 | 99 | luaD_gethooktable | Retrieves or creates Lua registry table for storing debug hook functions per thread. |
| 0x005210F0 | 141 | luaD_hookcallback | Invokes registered Lua debug hook with event name and optional line number; handles hook table lookup and function dispatch. |
| 0x00521180 | 31 | luaopen_debug | Initializes and registers Lua debug library functions in the provided Lua state |
| 0x005211A0 | 79 | luaD_setfield_xmove | Sets a field on a Lua table, handling cross-thread value moves via lua_xmove when threads differ. |
| 0x005211F0 | 592 | luaG_getinfo | Lua debug info retrieval - populates lua_Debug struct with source, line, name, upvalues based on 'what' flags |
| 0x00521490 | 94 | luaG_checkopenop | Validates Lua operand types (nil/register/RK) against function's register and constant limits for bytecode verification. |
| 0x005214F0 | 83 | luaG_currentline | Retrieves the current line number from a Lua function's debug info by computing PC offset into the lineinfo array. |
| 0x00521550 | 75 | luaG_currentpc | Calculates the current instruction offset (program counter) within a Lua function's code array for a given call frame. |
| 0x005215A0 | 130 | luaG_findlocal | Finds local variable name at given index in call frame; returns "(*temporary)" for unnamed temps or NULL if not found. |
| 0x00521630 | 301 | luaG_getobjname | Retrieves object name and category (local/global/upvalue/field/method) at register index in Lua call frame. |
| 0x00521790 | 50 | luaG_kname | Gets string name of a constant from Lua prototype's constant table; returns string value or '?' if non-string type. |
| 0x005217D0 | 48 | luaG_aritherror | Raises Lua arithmetic error by validating operand type, then reporting type error with 'perform arithmetic on' message. |
| 0x00521800 | 31 | luaG_checkcode | Validates Lua prototype bytecode by checking against max PC and wildcard register 0xFF. |
| 0x00521820 | 52 | lua_isCallReturningInstruction | Checks if a Lua opcode is a call/return/setlist instruction with valid operand encoding. |
| 0x00521870 | 38 | luaG_concaterror | Raises a Lua concatenation type error by delegating to luaG_typeerror for error reporting. |
| 0x005218A0 | 140 | luaG_errormsg | Delivers Lua error messages by invoking the error handler function if set, then throws exception code 2 |
| 0x00521930 | 80 | luaG_ordererror | Raises Lua runtime error when attempting to compare incomparable types, reporting type mismatch details. |
| 0x00521980 | 282 | luaG_runerror | Raises Lua runtime error with formatted source file and line number, invoking error handler if registered. |
| 0x00521AA0 | 138 | luaG_typeerror | Raises Lua type error with attempt message, trying to resolve variable name via luaG_getobjname for better diagnostics |
| 0x00521B30 | 11 | lua_gethook | Retrieves the hook function pointer from a lua_State structure at offset 0x44. |
| 0x00521B40 | 11 | lua_gethookcount | Retrieves the hook count value from a Lua state structure at offset 0x3c. |
| 0x00521B50 | 12 | lua_gethookmask | Retrieves the hook event mask byte from lua_State structure at offset 0x38 (call/return/line/count events). |
| 0x00521B60 | 319 | lua_getinfo | Lua C API wrapper that retrieves debug info about a function, optionally pushing function object or line table onto stack. |
| 0x00521CA0 | 77 | lua_getlocal | Retrieves local variable name and value from Lua debug activation record, pushes value onto stack |
| 0x00521CF0 | 119 | lua_getstack | Lua C API implementation that retrieves call stack information at a given level, handling tail calls and populating debug info structure. |
| 0x00521D70 | 46 | lua_sethook | Sets Lua debug hook function with event mask and call count on lua_State; clears hook if func or mask is zero. |
| 0x00521DA0 | 91 | lua_setlocal | Sets a local variable in Lua debug context by copying value from stack top to local variable slot. |
| 0x00521E00 | 1194 | luaG_checkcode_full | Validates Lua bytecode prototype: checks opcode validity, operand ranges, register usage, and returns last instruction assigning to target register. |
| 0x00522330 | 352 | luaD_adjustvarargs | Adjusts Lua stack for vararg functions: fills missing args with nil, creates vararg table with 'n' field, repositions fixed arguments. |
| 0x00522490 | 213 | luaD_protectedparser | Parses Lua source/bytecode into closure, handles garbage collection, initializes upvalues, manages stack allocation. |
| 0x00522570 | 73 | luaD_growCI | Grows Lua call info stack by doubling size; throws "stack overflow" error if exceeds 20000 or hard limit 0x4E21. |
| 0x005225C0 | 130 | luaD_call_protected | Protected Lua function call wrapper that manages C stack depth, executes Lua functions, and triggers garbage collection steps. |
| 0x00522650 | 220 | luaD_growstack | Lua VM stack growth handler: expands stack when needed, invokes callback, maintains minimum 0x140 byte buffer |
| 0x00522730 | 39 | luaD_growstack_hint | Grows Lua VM stack by doubling capacity or adding hint value, whichever is larger, then reallocates. |
| 0x00522760 | 199 | luaD_pcall | Lua VM protected call wrapper: executes function with error handling, restores state on exception, manages callinfo stack. |
| 0x00522830 | 236 | luaD_poscall | Lua VM post-call cleanup: pops callinfo, relocates return values to caller's stack frame, pads with nils. |
| 0x00522920 | 632 | Lua__CallFunction | Lua VM function call dispatcher: handles metamethod lookup, stack management, and executes C or Lua functions with proper call frame setup. |
| 0x00522BA0 | 240 | luaD_callFunction | Executes Lua function call with error handling, state preservation, and call stack management for RO script engine. |
| 0x00522C90 | 136 | luaD_rawrunprotected | Executes Lua function with setjmp-based exception handling; manages error recovery context stack frame. |
| 0x00522D20 | 121 | luaD_reallocCI | Reallocates Lua VM CallInfo stack with bounds checking; updates pointers to base, current, and end positions. |
| 0x00522DA0 | 199 | luaD_reallocstack | Reallocates Lua VM stack, adjusts all pointers (upvalues, call frames) to new base address with 0x10-byte TValue alignment. |
| 0x00522E70 | 103 | luaD_seterrorobj | Sets error object on Lua stack; handles error cases (stack copy, OOM, error handling failure) for Lua VM exception management. |
| 0x00522EF0 | 77 | luaD_throw | Lua VM error handler: throws exception via longjmp to error handler or calls panic function and exits |
| 0x00522F40 | 233 | lua_resume | Resumes a Lua coroutine with validation; manages C stack depth, coroutine state, and error handling with stack reallocation. |
| 0x00523030 | 55 | lua_yield | Yields Lua coroutine after validating yield boundary, sets state flag and adjusts stack base by param_2 slots. |
| 0x00523070 | 123 | luaD_resetstack | Resets Lua VM state: restores CI stack, closes upvalues, sets error object, trims CI if needed, clears error handler chain. |
| 0x005230F0 | 123 | luaD_resume_helper | Resumes Lua coroutine execution: initializes fresh coroutine or resumes from yield, then executes VM instructions. |
| 0x00523170 | 374 | luaU_dump_stack | Serializes Lua stack values to binary format via writer callback, handling booleans, numbers, strings, and functions. |
| 0x005232F0 | 536 | luaU_dump_debug | Serializes Lua function debug information (source, line info, local/upvalue names) via writer callback |
| 0x00523510 | 336 | luaU_dump_function | Serializes a Lua function prototype by writing source string, line info, parameters, vararg flags, stack size, instructions, constants, nested prototypes, and debug data. |
| 0x00523660 | 131 | luaU_dump_string | Serializes a Lua string value with length prefix; writes 0 for NULL strings, otherwise writes length+1 followed by string data via write callback. |
| 0x005236F0 | 123 | luaU_dump | Serializes a compiled Lua chunk by writing header and function prototypes via callback function. |
| 0x00523770 | 165 | luaF_close | Closes Lua upvalues at or above a stack level, migrating open upvalues to closed state or freeing dead ones. |
| 0x00523820 | 152 | luaF_findupval | Finds or creates a Lua upvalue for a stack slot, managing open upvalue list with GC marking. |
| 0x005238C0 | 63 | luaF_freeclosure | Frees Lua closure object by deallocating memory based on closure type (C or Lua) and upvalue count. |
| 0x00523900 | 143 | luaF_freeproto | Frees all allocated memory arrays in a Lua function prototype structure (code, constants, nested protos, lineinfo, local vars, upvalues). |
| 0x00523990 | 50 | luaF_freeupval | Frees a Lua UpVal by unlinking from doubly-linked list if open, then deallocating 0x20 bytes |
| 0x005239D0 | 75 | luaF_getlocalname | Retrieves the name of the nth local variable active at instruction pointer param_3 from Lua Proto debug info. |
| 0x00523A20 | 64 | luaF_newCclosure | Allocates and initializes a new Lua C closure object with specified upvalue count and C function pointer. |
| 0x00523A60 | 88 | luaF_newLclosure | Allocates and initializes a new Lua closure object with specified number of upvalues, clearing upvalue pointers. |
| 0x00523AC0 | 151 | luaF_newproto | Allocates and initializes a new Lua function prototype structure (0x4c bytes, type 9) in garbage collector. |
| 0x00523B60 | 52 | luaF_newupval | Allocates and initializes a Lua upvalue structure (0x20 bytes), linking it to GC with type 10, storing value ptr at +0x10. |
| 0x00523BA0 | 217 | luaC_step_finalizer | Executes one Lua garbage collection finalizer: unlinks object from finalize list, relinks to allgc, calls __gc metamethod if available. |
| 0x00523C80 | 616 | Lua__GC_FullCycle | Executes a complete Lua garbage collection cycle: marks reachable objects, sweeps unreachable ones, handles weak references and finalizers. |
| 0x00523EF0 | 27 | luaC_fix_object | Pins a Lua object to prevent garbage collection by clearing mark bit and linking to fixed GC list. |
| 0x00523F10 | 50 | luaC_barrier | Lua GC write barrier: marks object during propagate phase or resets parent's color bits to match GC state. |
| 0x00523F50 | 246 | luaC_callAllFinalizers | Processes Lua garbage collection finalizers by iterating finalize list, invoking __gc metamethods via protected calls. |
| 0x00524050 | 331 | luaC_sweeplist_partial | Lua garbage collector: sweeps hash table buckets incrementally, marking/freeing dead objects and updating GC color bits. |
| 0x005241C0 | 133 | luaC_fullgc | Executes a full Lua garbage collection cycle, resetting GC state and running all phases until completion. |
| 0x00524250 | 37 | luaC_link | Links a new Lua GC object into the allgc list, setting its color to current white and object type tag. |
| 0x00524280 | 116 | luaC_linkupval | Links upvalue to GC allgc list and marks it gray during propagate phase or resets to current white. |
| 0x00524300 | 164 | luaC_separateudata | Separates userdata objects with __gc finalizers from allgc list to finalize list, returns accumulated memory size. |
| 0x005243B0 | 515 | luaC_step | Lua garbage collector incremental step; cycles through marking roots, propagating, sweeping strings/objects, and finalizing with step multiplier pacing. |
| 0x005245D0 | 214 | luaC_markMTs | Lua GC: marks metatables for 10 basic types (nil through thread), updating GC state and gray-marking table/closure/userdata references |
| 0x005246D0 | 122 | luaC_markroots | Lua GC root marking: clears write barriers, marks main thread/registry/metatables, sets GC to propagate phase |
| 0x00524750 | 675 | Lua__GC_SweepFreeList | Lua GC sweep phase: traverses gray objects, frees tables/closures/upvalues, shrinks collections |
| 0x00524A10 | 627 | Lua__GC_TraverseObject | Lua GC traverses object by type (table/closure/thread/proto), marks as gray, traverses children, returns memory size estimate. |
| 0x00524CA0 | 194 | Lua__GC_MarkObject | Lua garbage collector mark phase: marks objects as reachable by clearing white bits and adding to gray worklist for traversal. |
| 0x00524D80 | 367 | Lua__GC_Step | Executes one incremental garbage collection step in Lua VM state machine (mark/sweep/finalize phases, returns work cost). |
| 0x00524F10 | 274 | luaC_sweeplist | Lua garbage collector sweep phase that iterates through linked list of GC objects, frees dead ones by type, updates mark bits for live objects. |
| 0x00525040 | 324 | luaC_traverseclosure | Lua GC traversal of closure objects: marks proto/upvalues for Lua closures, TValues for C closures |
| 0x005251A0 | 434 | Lua__GC_TraverseTable | Marks Lua table for GC, handles weak references, traverses array and hash parts, returns 1 if table has weak refs. |
| 0x00525360 | 62 | luaio_register_builtins | Registers Lua standard library modules (base, io, math, etc.) by iterating a function table and calling each with its module name. |
| 0x005253A0 | 154 | luaio_type | Lua io.type() implementation - returns "file"/"closed file" string or nil based on FILE* userdata state |
| 0x00525440 | 118 | luaio_close | Closes a Lua file handle by retrieving and invoking the __close metamethod from the file's environment table. |
| 0x005254C0 | 74 | luaio_gc | Lua IO library garbage collector metamethod that closes FILE* userdata by invoking __close from its environment table |
| 0x00525510 | 76 | luaio_tostring | Lua IO library __tostring metamethod for FILE* userdata; returns "file (closed)" or "file (0xADDR)" |
| 0x00525560 | 216 | luaio_open | Lua binding for io.open() - opens file via fopen, returns FILE* userdata or nil+error message+errno |
| 0x00525640 | 216 | luaio_popen | Lua binding for io.popen() - opens process pipe, returns FILE* userdata or nil with error message and errno |
| 0x00525720 | 124 | luaio_tmpfile | Lua binding for io.tmpfile() - creates temporary file, returns FILE* userdata or nil+error message+errno |
| 0x005257A0 | 23 | luaio_input_set | Sets the default input file handle for Lua IO operations by delegating to luaio_setdefault with mode 1. |
| 0x005257C0 | 23 | luaio_output_set | Wraps luaio_setdefault to set the default Lua output file stream with mode 2. |
| 0x005257E0 | 82 | luaio_lines_method | Lua IO library: creates iterator closure for file:lines() to read lines from file handle |
| 0x00525840 | 281 | luaio_lines | Lua IO library function that opens a file for line-by-line reading and returns an iterator closure with auto-close support. |
| 0x00525960 | 73 | luaio_read_global | Reads from stdin via Lua IO library, retrieves FILE* from registry and delegates to luaio_read_impl |
| 0x005259B0 | 64 | luaio_read_method | Lua IO library wrapper that validates FILE* userdata and delegates file read operations to luaio_read_impl. |
| 0x005259F0 | 73 | luaio_write_global | Writes data to stdout via Lua io.write(); retrieves FILE* from registry, validates it's open, delegates to luaio_write_impl. |
| 0x00525A40 | 64 | luaio_write_method | Lua file I/O method wrapper that validates FILE* userdata and delegates write operations to luaio_write_impl |
| 0x00525A80 | 181 | luaio_seek | Lua IO library binding for file:seek() - seeks file position and returns new position or error |
| 0x00525B40 | 177 | luaio_setvbuf | Lua binding for file:setvbuf() - sets file buffering mode (none/full/line) with optional size parameter |
| 0x00525C00 | 146 | luaio_flush_global | Lua binding for io.flush() - flushes stdout and returns status/error code to Lua |
| 0x00525CA0 | 137 | luaio_flush_method | Lua IO library binding for file:flush() - flushes file buffer and returns boolean success or error details |
| 0x00525D30 | 6 | luaio_get_global_data | Returns pointer to global Lua IO state structure used for file operations and data persistence in game client. |
| 0x00525D40 | 51 | luaio_call_close | Retrieves and invokes the __close metamethod from a Lua file object's environment table. |
| 0x00525D80 | 62 | luaio_fileerror | Formats file operation error message as "filename: strerror" and raises Lua argument error with the message. |
| 0x00525DC0 | 36 | luaio_fscanf_read | Wrapper retrieving Lua IO global data and invoking stdio vfscanf to parse formatted input from file stream. |
| 0x00525DF0 | 210 | luaio_setdefault | Sets default Lua I/O file (input/output) by filename or FILE* handle, stores in registry, returns file object. |
| 0x00525ED0 | 493 | luaio_read_impl | Implements Lua io.read() supporting formats: *n (number), *a (all), *l (line), and byte counts from FILE stream |
| 0x005260C0 | 226 | luaio_write_impl | Writes Lua values (numbers as %.14g format, strings as binary) to FILE*, returns status with errno on failure |
| 0x005261B0 | 119 | luaio_fclose | Closes a Lua FILE* userdata handle via fclose(), returning success boolean or error details. |
| 0x00526230 | 36 | luaio_noclose | Lua IO library __close metamethod for standard streams; returns nil and error message preventing closure. |
| 0x00526260 | 122 | luaio_pclose | Lua binding that closes a piped file handle via _pclose(), returning success boolean or error details to Lua. |
| 0x005262E0 | 167 | luaio_lines_iterator | Lua IO iterator that reads one line from file; returns 1 on success, 0 on EOF with optional autoclose. |
| 0x00526390 | 552 | luaopen_io | Initializes Lua IO library with FILE* metatable, stdin/stdout/stderr userdata, and file operation handlers |
| 0x005265C0 | 208 | luaio_read_chars | Reads up to N bytes from FILE into Lua buffer in 512-byte chunks, returns 1 if data read else 0 |
| 0x00526690 | 247 | luaio_read_line | Lua IO library function that reads a complete line from a file stream, strips trailing newline, and returns the result via Lua stack buffer. |
| 0x00526790 | 96 | luaX_check_next_char | Checks if current char matches any in set; if yes, saves it and advances to next char, returning 1. |
| 0x005267F0 | 143 | luaX_inclinenumber | Lua lexer increments line counter while handling CR/LF and LF/CR line ending pairs, errors if lines exceed 0x7ffffffc |
| 0x00526880 | 1380 | luaX_lex | Lua 5.1 internal: luaX lex |
| 0x00526E90 | 73 | luaX_init | Initializes Lua lexer by interning 21 reserved keywords and marking them with reserved flag and indices. |
| 0x00526EE0 | 214 | luaX_lexerror | Lua lexer error handler that formats "source:line: message near 'token'" and throws syntax error (code 3) |
| 0x00526FC0 | 26 | luaX_next | Lua lexer token advancement: retrieves next token via luaX_lex and stores result at offset 0x20 |
| 0x00526FE0 | 88 | luaX_newstring | Lua lexer: creates and interns a new string, adds to string table, triggers GC if memory threshold exceeded. |
| 0x00527040 | 59 | luaX_lookahead | Lua lexer lookahead function that peeks next token without consuming current, storing state in lookahead buffer. |
| 0x00527080 | 140 | luaX_setinput | Initializes Lua lexer state with input source: sets up ZIO reader, allocates 0x20-byte token buffer, reads first character. |
| 0x00527110 | 23 | luaX_token2str_stub | Wrapper that extracts token string from lexer state and reports lexical error with formatted message. |
| 0x00527130 | 71 | luaX_token2str | Converts Lua tokens to strings for error messages; control chars become "char(N)", printable chars shown literally. |
| 0x00527180 | 484 | luaX_read_long_string | Lexer function parsing Lua long strings/comments with bracket nesting ([=[...]=]), handling newlines and EOF detection. |
| 0x005273E0 | 390 | luaX_read_numeral | Lua 5.1 internal: luaX read numeral |
| 0x00527570 | 670 | luaX_read_string | Lua lexer function that parses quoted strings, handles escape sequences (\a \b \f \n \r \t \v \\ \' \" \NNN), and creates interned string objects. |
| 0x00527920 | 190 | luaX_save | Lua lexer buffer management: appends character to token buffer with dynamic reallocation, throws error if lexical element exceeds 0x7ffffffd bytes. |
| 0x005279E0 | 325 | luaX_skip_sep | Counts equal signs in Lua bracket separators (e.g., `[=[`), returns count or ~count if mismatched closing bracket. |
| 0x00527B30 | 56 | luamath_abs | Lua binding for math.abs() - returns absolute value of a number argument passed from Lua script |
| 0x00527B70 | 54 | luamath_sin | Lua binding for math.sin() that converts number argument to double, computes sine using SSE2, and returns result to Lua stack. |
| 0x00527BB0 | 60 | luamath_sinh | Lua math library binding for hyperbolic sine function; validates number argument and returns sinh(x) result. |
| 0x00527BF0 | 54 | luamath_cos | Lua binding for math.cos(x) - computes cosine of a number using SSE2 and pushes result to Lua stack. |
| 0x00527C30 | 60 | luamath_cosh | Lua binding for math.cosh(x) - retrieves number argument and pushes hyperbolic cosine result to Lua stack |
| 0x00527C70 | 54 | luamath_tan | Lua binding for math.tan() that computes tangent using SSE2 precision and pushes result to Lua stack |
| 0x00527CB0 | 60 | luamath_tanh | Lua binding for math.tanh() - validates number argument and returns hyperbolic tangent value to Lua |
| 0x00527CF0 | 54 | luamath_asin | Lua binding that computes arc sine of a number and pushes the result onto the Lua stack |
| 0x00527D30 | 54 | luamath_acos | Lua binding for math.acos() - retrieves number argument, computes arc cosine, pushes result onto Lua stack |
| 0x00527D70 | 54 | luamath_atan | Lua binding for math.atan() that retrieves a number argument, computes arctangent, and pushes result to Lua stack. |
| 0x00527DB0 | 77 | luamath_atan2 | Lua binding for math.atan2(y, x); pops two numbers, computes arc tangent, pushes result |
| 0x00527E00 | 57 | luamath_ceil | Lua binding for math.ceil(x) - retrieves number argument, returns smallest integer >= x to Lua stack |
| 0x00527E40 | 57 | luamath_floor | Lua binding for math.floor() - retrieves number argument, floors it, pushes result back to Lua stack |
| 0x00527E80 | 77 | luamath_fmod | Lua binding for math.fmod(x, y); validates two numeric arguments and returns floating-point remainder |
| 0x00527ED0 | 85 | luamath_modf | Lua binding for math.modf(x) that splits a number into integral and fractional parts, returning both values to Lua. |
| 0x00527F30 | 74 | luamath_sqrt | Lua math.sqrt wrapper that computes square root with SSE2 precision handling for negative values |
| 0x00527F80 | 74 | lua_math_pow | Lua binding for math.pow(x,y); retrieves two numbers from Lua stack, computes x^y, pushes result back |
| 0x00527FD0 | 54 | luamath_log | Lua binding that computes natural logarithm of a number and pushes result onto Lua stack |
| 0x00528010 | 54 | luamath_log10 | Lua binding for math.log10() - computes base-10 logarithm and pushes result onto Lua stack |
| 0x00528050 | 54 | luamath_exp | Lua binding for math.exp(x); computes e^x using SSE2 and pushes result onto Lua stack |
| 0x00528090 | 40 | luamath_deg | Lua math.deg(x) binding - converts radians to degrees by dividing input by pi and multiplying by 180 |
| 0x005280C0 | 40 | luamath_rad | Lua binding for math.rad() - converts degrees to radians by multiplying input by ฯ/180 |
| 0x005280F0 | 63 | luamath_frexp | Lua binding for math.frexp() - decomposes float into mantissa and exponent, returns 2 values to Lua stack |
| 0x00528130 | 59 | luamath_ldexp | Lua binding for math.ldexp(m, e) - computes m * 2^e and returns result to Lua stack |
| 0x00528170 | 115 | luamath_min | Lua binding that returns the minimum value from variable numeric arguments, pushing result onto Lua stack |
| 0x005281F0 | 115 | luamath_max | Lua binding function that implements math.max() - iterates through variable arguments and returns the maximum numeric value. |
| 0x00528270 | 14 | luamath_random_impl | Calls rand() to generate a random number for Lua math.random() function, not specifically for seeding. |
| 0x005283C0 | 27 | luamath_randomseed | Lua binding for math.randomseed() - extracts integer argument and seeds C runtime RNG via srand() |
| 0x005283E0 | 130 | luaopen_math | Initializes Lua math library with standard functions (sin, cos, tan) and constants (pi, huge). |
| 0x00528470 | 188 | luaM_growaux | Dynamically grows a Lua memory allocation block, doubling size with overflow checks and error handling. |
| 0x00528530 | 69 | luaM_realloc | Reallocates Lua memory via state allocator, throws exception on allocation failure, updates total memory usage counter. |
| 0x00528580 | 23 | luaM_toobig | Raises a Lua runtime error when memory allocation request exceeds maximum allowed block size limit. |
| 0x005285A0 | 103 | luapkg_loadlib | Lua binding for package.loadlib() - loads C library and returns function pointer or error message |
| 0x00528610 | 436 | luapkg_require | Lua module loader that searches package.loaders, caches results in _LOADED table, handles circular dependencies |
| 0x005287D0 | 468 | luapkg_module | Lua module() function - creates module table, sets _NAME/_PACKAGE fields, applies module initialization functions |
| 0x005289B0 | 92 | luapkg_seeall | Sets module metatable's __index to global environment, enabling module access to global functions via Lua package.seeall() |
| 0x00528A10 | 302 | luapkg_searchpath | Searches Lua package.path/package.cpath for a module file by replacing dots with separators and testing file existence |
| 0x00528B40 | 44 | luapkg_loadlib_gc | Lua garbage collector finalizer that unloads dynamic libraries by calling FreeLibrary on stored HMODULE handles. |
| 0x00528B70 | 253 | luapkg_loadlib_impl | Loads a DLL via LoadLibraryA, retrieves a function via GetProcAddress, caches the module handle in Lua registry, returns status code. |
| 0x00528C70 | 167 | luapkg_loader_c | Loads C module libraries by searching cpath, constructing luaopen_X function names, and dynamically linking DLLs. |
| 0x00528D20 | 150 | luapkg_loader_croot | Lua C module loader that searches for root package DLL and resolves luaopen_X_Y function entry point for C submodules. |
| 0x00528DC0 | 105 | luapkg_loader_lua | Lua package loader that searches for and loads Lua modules from package.path, returning loaded file or error. |
| 0x00528E30 | 114 | luapkg_loader_preload | Lua package loader that retrieves preloaded modules from package.preload table, returning nil with error message if module not found. |
| 0x00528EB0 | 55 | luapkg_loaderror | Formats and raises a Lua error for module loading failures with module name, file path, and error details. |
| 0x00528EF0 | 318 | luaopen_package | Initializes Lua package library with module loaders, search paths, and configuration for RO client scripting system. |
| 0x00529030 | 77 | luapkg_make_funcname | Converts Lua module name to C function name by stripping dash prefix, replacing dots with underscores, and prepending 'luaopen_' |
| 0x00529080 | 129 | luapkg_push_syserror | Retrieves Windows system error message and pushes formatted string onto Lua stack via FormatMessageA or fallback fstring. |
| 0x00529110 | 244 | luapkg_setpath | Configures Lua package.path/package.cpath by reading environment variables and replacing '!' placeholders with executable directory |
| 0x00529210 | 336 | luaO_chunkid | Formats Lua chunk identifiers for error messages, handling @file paths, =literals, and string chunks with truncation. |
| 0x00529360 | 27 | luaO_fb2int | Decodes Lua floating-point byte (fb) format to integer; extracts exponent and mantissa for table size hints. |
| 0x00529380 | 44 | luaO_int2fb | Encodes unsigned integer to floating-point byte format (exponent-mantissa); inverse of luaO_fb2int for Lua number serialization. |
| 0x005293B0 | 40 | luaO_log2 | Computes floor(log2(x)) by dividing into high bits via loop and looking up result in 256-entry table. |
| 0x005293E0 | 23 | luaO_pushvfstring | Forwards variadic arguments to luaO_pushfstring_impl for formatted Lua string creation |
| 0x00529400 | 713 | luaO_pushfstring_impl | Formats variable argument string with %s/%d/%f/%c/%p specifiers and pushes result onto Lua stack |
| 0x00529740 | 77 | luaO_rawequalObj | Compares two Lua TValue objects for raw equality by type then value (numbers use ==, others compare pointers). |
| 0x005297A0 | 162 | luaO_str2d | Converts string to double, with hex (0x prefix) support; returns 1 on success, 0 on parse failure. |
| 0x00529890 | 43 | luaos_execute | Lua binding for os.execute() - executes system command and returns exit code to Lua |
| 0x005298C0 | 118 | luaos_remove | Lua binding for os.remove() - deletes file and returns true on success or nil+error message+errno on failure |
| 0x00529940 | 131 | luaos_rename | Lua binding for os.rename() - renames file, returns true on success or nil+error message+errno on failure |
| 0x005299D0 | 108 | luaos_tmpname | Lua binding for os.tmpname() - generates unique temporary filename and returns it to Lua script |
| 0x00529A40 | 41 | luaos_getenv | Lua binding for os.getenv() - retrieves environment variable value and returns it to Lua script |
| 0x00529A70 | 51 | luaos_clock | Lua binding for os.clock() - pushes CPU time in seconds to Lua stack by dividing clock() by CLOCKS_PER_SEC |
| 0x00529AB0 | 652 | luaos_date | Implements Lua os.date() function; formats timestamps as strings or tables with date/time components, supports UTC mode with '!' prefix |
| 0x00529D40 | 626 | luaos_time | Lua binding for os.time() - returns current Unix timestamp or converts Lua date table to time_t via mktime64 |
| 0x00529FC0 | 85 | luaos_difftime | Lua binding for os.difftime() - calculates time difference in seconds between two time_t values |
| 0x0052A020 | 73 | luaos_setlocale | Lua binding for os.setlocale() - wraps C setlocale() with category lookup from options table |
| 0x0052A070 | 26 | luaos_exit | Lua binding for os.exit() - terminates process with optional exit code from Lua argument |
| 0x0052A090 | 31 | luaopen_os | Registers Lua os library functions (clock, date, time, difftime, setlocale, exit) for RO client scripting |
| 0x0052A0B0 | 121 | luaY_adjust_assign | Adjusts Lua assignment lists by handling multi-return values and padding missing values with nil. |
| 0x0052A130 | 70 | luaY_adjustlocalvars | Marks local variables as active in Lua parser by setting their startpc values in function's local variable table. |
| 0x0052A180 | 412 | luaY_assignment | Lua parser function that processes assignment statements with multiple LHS variables, handling recursive chaining and RHS expression evaluation. |
| 0x0052A320 | 128 | luaY_block | Lua parser: enters scope, parses block statements, removes variables, emits close instruction, patches pending jumps. |
| 0x0052A3A0 | 744 | luaY_body | Lua parser: parses function body with parameters (including 'self' and varargs), creates closure prototype, manages local variables |
| 0x0052A690 | 102 | luaY_breakstat | Lua parser function that processes 'break' statements by finding enclosing loop, emitting CLOSE and JMP opcodes. |
| 0x0052A700 | 104 | luaY_check_match | Lua parser error handler that validates matching closing tokens (e.g., 'end' for 'do') and reports contextual syntax errors. |
| 0x0052A770 | 103 | luaY_checkname | Validates current token is a name (0x11d), stores string constant in Lua table, initializes expression node structure. |
| 0x0052A7E0 | 131 | luaY_chunk | Lua parser that processes a sequence of statements with 200-level syntax nesting limit enforcement. |
| 0x0052A890 | 429 | luaY_close_func | Closes Lua function scope: emits RETURN opcode, shrinks code/constant/local/upvalue arrays to final sizes, restores parent FuncState. |
| 0x0052AA40 | 48 | luaY_codestring | Initializes a Lua expression node as a string constant by storing the string index and setting type/info fields. |
| 0x0052AA70 | 636 | luaY_constructor | Lua parser for table constructor syntax ({...}), handles list items and key-value pairs, emits NEWTABLE/SETLIST/SETTABLE opcodes. |
| 0x0052ACF0 | 88 | luaY_errorlimit | Lua parser error handler for resource limit violations; formats and reports "too many X" errors with function line information. |
| 0x0052AD50 | 75 | luaY_explist1 | Parses comma-separated Lua expression list, returns count of expressions parsed. |
| 0x0052ADA0 | 388 | luaY_forbody | Lua parser: generates bytecode for for-loop body, handling loop variables scope and control flow patching. |
| 0x0052AF30 | 391 | luaY_fornum | Lua parser function that parses numeric for-loop syntax (for i=start,limit[,step]), creating hidden variables and validating syntax. |
| 0x0052B0C0 | 595 | luaY_forstat | Parses Lua for statements, dispatching to numeric or generic iteration based on syntax (for i=... vs for k,v in...) |
| 0x0052B320 | 340 | luaY_funcargs | Lua parser function that parses function call arguments (parenthesized, table, or string literal) and emits CALL opcode. |
| 0x0052B480 | 493 | luaY_ifstat | Lua parser for if/elseif/else/end statements; chains test-then blocks and patches jump targets between branches. |
| 0x0052B670 | 328 | luaY_indexupvalue | Lua parser function that finds or creates an upvalue index for a function, enforcing a 60-upvalue limit per function. |
| 0x0052B7C0 | 236 | luaY_parser | Lua parser entry point: initializes lexer, parses chunk, validates EOF token, returns compiled proto object |
| 0x0052B8B0 | 217 | luaY_new_localvar | Registers a new local variable in Lua function scope, allocating space in locvars array and mapping to active register slot. |
| 0x0052B990 | 224 | luaY_open_func | Initializes new Lua function scope by creating Proto, FuncState, constant hash table, and pushing values onto Lua stack. |
| 0x0052BA70 | 393 | luaY_primaryexp | Lua parser function that parses primary expressions (parenthesized, names) and their suffixes (field access, indexing, method calls). |
| 0x0052BD10 | 225 | luaY_recfield | Lua parser function that parses and emits bytecode for record field assignment in table constructors (e.g., [expr]=expr or name=expr). |
| 0x0052BE00 | 74 | luaY_removevars | Lua parser function that removes local variables from scope by setting their end PC and decrementing active variable count. |
| 0x0052BE50 | 446 | luaY_repeatstat | Parses Lua repeat...until statement with nested block scoping, condition evaluation, and break/loop control flow patching. |
| 0x0052C010 | 104 | luaY_singlevar | Lua parser resolves single variable name by checking token type, looking up in local/upvalue scopes, falls back to global variable. |
| 0x0052C080 | 242 | luaY_singlevaraux | Lua parser function that resolves variable names by searching local scope, then recursively checking enclosing functions to build upvalue chains. |
| 0x0052C180 | 1669 | luaY_statement | Lua parser statement dispatcher handling if/for/while/repeat/return/break/do/local/function and expression statements |
| 0x0052C870 | 678 | luaY_subexpr | Parses Lua subexpressions with operator precedence handling for unary/binary ops and primary expressions. |
| 0x0052CD20 | 147 | luaY_test_then_block | Parses Lua if/elseif condition block: evaluates expression, emits conditional jump, validates 'then' keyword, parses block body. |
| 0x0052CDC0 | 34 | luaY_testnext | Tests if current token matches param_2; consumes it via lookahead if match, returns boolean result |
| 0x0052CDF0 | 88 | luaY_yindex | Lua parser function that parses bracketed index expressions [expr], validates closing bracket, converts expression to value. |
| 0x0052CE50 | 16 | luaE_callFinalizers | Wrapper that invokes luaC_callAllFinalizers to execute all pending Lua finalizers during client shutdown. |
| 0x0052CE60 | 135 | lua_close_impl | Closes Lua state by freeing upvalues, sweeping objects, deallocating string table, call stack, and invoking allocator to free lua_State structure. |
| 0x0052CEF0 | 116 | luaE_init_state | Initializes Lua VM state by setting up stack, registry/globals tables, string table, tag methods, and lexer. |
| 0x0052CF70 | 77 | luaE_freethread_impl | Deallocates a Lua thread state by closing upvalues, freeing call stack, stack, and state structure. |
| 0x0052CFC0 | 95 | luaE_newthread | Allocates and initializes a new Lua thread state by copying parent thread's environment and stack configuration. |
| 0x0052D020 | 90 | luaE_freethread | Frees a Lua thread by closing resources, separating userdata, running finalizers, and closing the Lua state. |
| 0x0052D080 | 349 | lua_newstate | Allocates and initializes a new Lua state for script execution in the game client, setting up memory and default configurations. |
| 0x0052D1E0 | 101 | luaE_init_stack_state | Initializes Lua call stack state structure with zero values and default settings (stack top at 0x1000000). |
| 0x0052D250 | 137 | luaD_init_stack | Initializes Lua VM stack and call frame structures, allocating 0xc0 bytes for stack and 0x2d0 bytes for call info |
| 0x0052D2E0 | 628 | luaS_newlstr | Lua string interning function that creates/retrieves unique string objects with hash table management and automatic resizing. |
| 0x0052D560 | 100 | luaS_newudata | Allocates and initializes a Lua userdata object, linking it into the garbage collector chain. |
| 0x0052D5D0 | 223 | luaS_resize | Resizes Lua string hash table by reallocating memory and rehashing all string entries into new bucket array |
| 0x0052D6B0 | 41 | luaB_str_len | Lua binding function that returns the length of a string argument passed to Lua script. |
| 0x0052D6E0 | 162 | luaB_str_sub | Lua string.sub() implementation - extracts substring from string using start/end indices with negative index support |
| 0x0052D790 | 192 | luaB_str_reverse | Lua binding function that reverses a string by iterating backwards through input and building output via buffer |
| 0x0052D850 | 179 | luaB_str_lower | Lua binding function that converts a Lua string argument to lowercase using tolower() and returns the result to Lua. |
| 0x0052D910 | 179 | luaB_str_upper | Lua binding function that converts a Lua string argument to uppercase and returns the result to Lua. |
| 0x0052D9D0 | 144 | luaB_str_rep | Lua C API function that repeats a string N times by appending it to a buffer and returning the result to Lua. |
| 0x0052DA60 | 209 | luaB_str_byte | Lua API function that extracts bytes from a string as integers, pushing each onto the stack within optional start/end indices. |
| 0x0052DB40 | 186 | luaB_str_char | Lua builtin that converts variable integer arguments to a byte string, validating each byte is 0-255 range. |
| 0x0052DC00 | 128 | luaB_str_dump | Lua binding function that serializes a Lua function to bytecode string via lua_dump with error handling. |
| 0x0052DC80 | 18 | luaB_str_find | Wrapper that calls luaB_str_find_aux with mode=1 to find first occurrence of substring in Lua string |
| 0x0052DCA0 | 18 | luaB_str_match | Lua string matching wrapper that delegates to luaB_str_find_aux with mode 0 for pattern matching |
| 0x0052DCC0 | 67 | luaB_str_gmatch | Lua string.gmatch implementation - creates iterator closure for pattern matching across string |
| 0x0052DD10 | 21 | luaB_str_gfind_deprecated | Raises Lua error indicating string.gfind was renamed to string.gmatch in current Lua version |
| 0x0052DD30 | 461 | luaB_str_gsub | Lua string.gsub implementation - replaces pattern matches in strings with substitutions up to limit |
| 0x0052DF00 | 1283 | luaB_str_format | Implements Lua string.format() function, parsing format specifiers and converting arguments to formatted strings with buffer management. |
| 0x0052E4D0 | 442 | lua_pattern_add_value | Processes Lua replacement patterns in string.gsub, handling format specifiers (%d, %0) and replacement types (string/function/table). |
| 0x0052E6A0 | 113 | lua_pattern_classend | Parses and returns pointer past end of single Lua pattern character class (handles %, [...], and literal chars) |
| 0x0052E720 | 260 | lua_gmatch_iterator | Lua iterator for gmatch pattern matching; finds next pattern match in string and pushes captured groups onto stack. |
| 0x0052E830 | 139 | luaopen_string | Initializes Lua string library with gmatch/gfind functions and sets up metatable with __index field |
| 0x0052E8C0 | 1023 | lua_pattern_match | Lua pattern matching engine that recursively matches strings against Lua regex patterns with support for character classes, quantifiers (*, +, ?, -), and balanced bracket matching. |
| 0x0052ED30 | 238 | lua_pattern_match_class | Matches character against Lua pattern class (alpha, digit, space, etc.); inverts result if class char is uppercase. |
| 0x0052EE70 | 350 | lua_pattern_matchbracketclass | Matches a character against a Lua pattern bracket class (e.g., [%d], [a-z], [^...]), supporting character ranges and escape sequences. |
| 0x0052F020 | 147 | lua_pattern_max_expand | Lua pattern matching with greedy quantifier expansion; matches string against pattern with max character consumption then backtracks. |
| 0x0052F0C0 | 212 | lua_pattern_push_captures | Pushes Lua pattern match captures onto stack, handling string/position captures with validation for unfinished/invalid indices. |
| 0x0052F1A0 | 148 | lua_pattern_push_onecapture | Pushes a single Lua capture group result onto the stack; handles unfinished captures, position captures, and substring captures. |
| 0x0052F240 | 76 | lua_pattern_start_capture | Manages Lua pattern matching capture groups by pushing capture onto stack, attempting match, and rolling back on failure. |
| 0x0052F290 | 717 | luaB_str_find_aux | Lua string.find() implementation supporting both plain substring and Lua pattern matching with capture groups |
| 0x0052F560 | 24 | lua_str_dump_writer | Lua dump writer callback that appends serialized Lua bytecode chunks to a buffer via luaL_addlstring. |
| 0x0052F580 | 69 | luaH_mainposition_num | Computes hash table main position for numeric keys in Lua hash table; returns direct position if key equals special value, else modulo hash. |
| 0x0052F5D0 | 84 | luaH_free | Frees a Lua hash table structure by deallocating its array bucket, node array, and header metadata. |
| 0x0052F630 | 159 | luaH_get | Lua hash table lookup that retrieves values by key, handling numeric and string keys with fallback to linear probing on hash collisions. |
| 0x0052F6D0 | 236 | luaH_getn | Gets the length of a Lua table by binary searching for the last non-nil array element index. |
| 0x0052F7C0 | 146 | luaH_getnum | Lua hash table lookup for numeric keys; returns table entry or nil if key not found |
| 0x0052F860 | 57 | luaH_getstr | Lua hash table lookup by string key; returns hash node or nil object if key not found |
| 0x0052F8A0 | 94 | luaH_new | Allocates and initializes a new Lua table object with specified array and hash part sizes, links to garbage collector. |
| 0x0052F900 | 383 | luaH_next | Lua hash table iterator that retrieves the next key-value pair, handling both array and hash portions of table traversal. |
| 0x0052FA80 | 63 | luaH_resizearray | Resizes Lua hash table array portion; calls luaH_resize with computed hash size based on lsizenode field. |
| 0x0052FAC0 | 230 | luaH_newkey | Inserts new key into Lua table, validates non-nil/non-NaN keys, triggers resize if needed. |
| 0x0052FBB0 | 70 | luaH_setnum_hint | Sets a numeric key in Lua hash table, creating new entry if key doesn't exist with hint value 3 |
| 0x0052FC00 | 89 | luaH_setstr_hint | Sets a string key in Lua hash table, inserting new key-value pair if string key not found or value is nil |
| 0x0052FC60 | 147 | luaH_mainposition | Computes hash table main position for Lua table keys by type (bool/number/string/userdata), applying modulo to hash value. |
| 0x0052FD10 | 243 | luaH_newkey_internal | Inserts new key-value pair into Lua hash table, handling collisions via rehashing and chain relinking. |
| 0x0052FE10 | 591 | luaH_rehash | Lua table rehash - counts hash bucket distribution and determines optimal array/hash size allocation |
| 0x00530060 | 404 | luaH_resize | Resizes Lua hash table by rehashing array and hash bucket elements to new size configuration |
| 0x00530200 | 106 | luaH_setarraysize | Resizes a Lua hash table's array part, reallocating memory and zero-initializing new elements. |
| 0x00530270 | 199 | luaH_sethashsize | Resizes Lua hash table by allocating and initializing bucket array with power-of-2 size |
| 0x00530340 | 133 | luaB_table_foreach_i | Lua table library function that iterates over array part of table, calling function f(i,v) for each element until non-nil return |
| 0x005303D0 | 133 | luaB_table_foreach | Lua table library function that iterates over table pairs, calling a callback function for each key-value pair until callback returns non-nil. |
| 0x00530460 | 149 | luaB_table_maxn | Finds the largest positive numeric key in a Lua table by iterating through key-value pairs and returning the maximum number |
| 0x00530500 | 43 | luaB_table_getn | Lua binding that retrieves the length of a table and pushes it as an integer onto the Lua stack. |
| 0x00530530 | 47 | luaB_table_setn | Lua library function that raises an obsolescence error when table.setn() is called, maintaining backwards compatibility with deprecated Lua API. |
| 0x00530560 | 164 | luaB_table_insert | Lua standard library function that inserts a value into a table at a specified or default position. |
| 0x00530610 | 144 | luaB_table_remove | Removes element at index from Lua table, shifting subsequent elements down and returning removed value |
| 0x005306A0 | 345 | luaB_table_concat | Concatenates Lua table elements with a separator string, validating that all elements are strings. |
| 0x00530800 | 95 | luaB_table_sort | Lua binding for table.sort() - validates table and optional comparator function, then sorts table in-place |
| 0x00530860 | 945 | luaB_table_sort_aux | Quicksort implementation for Lua table.sort() with median-of-3 pivot selection and comparison callback support. |
| 0x00530C20 | 31 | luaopen_table | Registers Lua table library functions (concat, insert, remove, sort) with Lua state |
| 0x00530C40 | 110 | luaB_sort_compare | Compares two Lua values using custom comparator function or default less-than operator for sort operations. |
| 0x00530CB0 | 43 | luaT_gettmbyobj | Retrieves tagged method from hash table; sets flag bit if method not found in metatable. |
| 0x00530CE0 | 79 | luaT_gettm | Retrieves metamethod from table/userdata metatable or global type metatable by event index in Lua state |
| 0x00530D30 | 84 | luaT_init | Initializes Lua tagged method (metamethod) name strings in global state, creates interned strings for each metamethod name. |
| 0x00530D90 | 154 | lua_loadfile_with_error_handling | Loads and executes a Lua file with signal handling, error tracing, and garbage collection. |
| 0x00530E30 | 177 | lua_dostring | Executes Lua code from a buffer with error handling, signal management, and garbage collection in RO client. |
| 0x00530EF0 | 581 | lua_dotty_repl | Implements interactive Lua REPL loop; reads stdin, handles multi-line input, executes Lua code, prints results with error handling. |
| 0x00531140 | 469 | lua_handle_script | Loads and executes a Lua script file with command-line arguments, setting up 'arg' table and error handling. |
| 0x00531320 | 39 | setup_lua_signal_hook | Registers a signal handler and attaches a Lua hook to intercept signal events for script execution. |
| 0x00531350 | 33 | lua_hook_error_handler | Disables Lua hooks and raises an error, likely for exception handling in Lua VM integration |
| 0x00531380 | 166 | lua_pmain | Initializes Lua state, executes protected main implementation, handles errors, and cleans up resources. |
| 0x00531430 | 849 | lua_main_impl | Parses Lua command-line options (-e/-l/-i/-v/--), executes scripts/stdin, handles LUA_INIT environment variable, enters REPL if interactive. |
| 0x00531820 | 46 | print_lua_version_and_allocator_info | Prints Lua 5.1.4 version string to stderr and outputs JSON allocator information, then flushes output. |
| 0x00531850 | 299 | lua_readline | Reads a line from stdin with optional prompt, handling '=' prefix for Lua return statements in interactive mode. |
| 0x00531980 | 160 | lua_report_error | Reports Lua errors to stderr by extracting error message from Lua stack top and flushing output. |
| 0x00531A20 | 162 | lua_traceback_handler | Lua error handler that enriches error messages with debug.traceback() stack information for debugging. |
| 0x00531AD0 | 755 | luaU_load_constants | Deserializes Lua constant values (nil, boolean, number, string) from bytecode stream into function prototype. |
| 0x00531DE0 | 756 | luaU_load_debug | Deserializes Lua bytecode debug information (line numbers, local variables, upvalues) from binary stream with validation. |
| 0x005320E0 | 591 | luaU_load_function | Deserializes a Lua function prototype from precompiled chunk data, validating nesting depth and bytecode integrity. |
| 0x00532330 | 108 | luaU_load_int | Reads and validates a signed 32-bit integer from Lua precompiled chunk data stream, throws on EOF or negative values. |
| 0x005323A0 | 155 | luaU_load_string | Reads and validates a precompiled Lua chunk from binary stream, allocating space and creating a new Lua string. |
| 0x00532440 | 28 | luaU_header | Initializes Lua bytecode file header with magic number (0x1bLua) and format/version/size flags for chunk validation. |
| 0x00532460 | 250 | luaU_undump | Loads and validates Lua bytecode chunks by verifying magic header then deserializing precompiled functions |
| 0x00532560 | 491 | luaV_arith | Lua VM arithmetic operation dispatcher; performs +,-,*,/,%,^ on coerced numbers or invokes metamethods. |
| 0x00532770 | 162 | luaV_callTM | Calls a Lua metamethod by pushing it and 3 arguments onto stack, executing it, and storing result at destination offset. |
| 0x00532820 | 120 | luaV_call_orderTM | Attempts order comparison metamethod; returns 1 if TM exists and equal, 0 if unequal, -1 if absent |
| 0x005328A0 | 134 | luaV_get_equalTM | Retrieves equality metamethod from Lua objects, checking both operands for matching metamethods with bit-flag caching. |
| 0x00532930 | 127 | luaV_strcmp_embedded_nulls | Compares two Lua strings handling embedded nulls via strcoll, returns mismatch at first null boundary or length difference. |
| 0x005329B0 | 668 | luaV_concat | Lua VM concatenation operator: coerces numbers to strings, handles string concatenation with overflow checks, invokes metamethods if needed. |
| 0x00532C50 | 169 | luaV_equalval | Lua VM equality comparison for nil, numbers, strings, tables/userdata with __eq metamethod support. |
| 0x00532D20 | 5658 | luaV_execute | Lua VM instruction execution loop (luaV_execute). Processes Lua 5.1 opcodes via a large switch statement. Opcodes include: MOVE(0), LOADK(1), LOADBOOL(2), LOADNIL(3), GETUPVAL(4), GETGLOBAL(5), GETTABLE(6), SETGLOBAL(7), SETUPVAL(8), SETTABLE(9), NEWTABLE(10/0xa), SELF(11/0xb), ADD(12/0xc), SUB(13/0xd), MUL(14/0xe), DIV(15/0xf), MOD(16/0x10), POW(17/0x11), UNM(18/0x12), NOT(19/0x13), LEN(20/0x14), CONCAT(21/0x15), JMP(22/0x16), EQ(23/0x17), LT(24/0x18), LE(25/0x19), TEST(26/0x1a), TESTSET(27/0x1b), CALL(28/0x1c), TAILCALL(29/0x1d), RETURN(30/0x1e), FORLOOP(31/0x1f), FORPREP(32/0x20), TFORLOOP(33/0x21), SETLIST(34/0x22), CLOSE(35/0x23), CLOSURE(36/0x24), VARARG(37/0x25). param_1=lua_State, param_2=nexeccalls. Arithmetic ops have fast paths for number types, falling back to metamethods. Size: 5658 bytes. |
| 0x00534400 | 228 | luaV_gettable | Lua VM table access with __index metamethod chain traversal (max 100 depth, prevents infinite loops) |
| 0x005344F0 | 108 | luaV_lessthan | Performs less-than comparison for Lua values, handling numbers and strings with metamethod fallback. |
| 0x00534560 | 404 | luaV_settable | Lua VM table assignment with __newindex metamethod chain traversal (max 100 depth), handles GC barriers |
| 0x00534700 | 73 | luaV_tonumber | Converts Lua value to number; returns param_2 with converted value if successful, NULL otherwise. |
| 0x00534750 | 136 | luaV_tostring | Converts Lua number value to string using "%.14g" format, creates new Lua string, updates value type tag to 4 (string) |
| 0x005347E0 | 62 | luaZ_getc | Reads next character from Lua buffered input stream, calling reader function when buffer exhausted, returns char or 0xFFFFFFFF on EOF |
| 0x00534820 | 39 | luaZ_init | Initializes a Lua stream/buffer structure with state pointer, buffer, size, and read function pointers. |
| 0x00534850 | 69 | luaZ_lookahead | Lua lexer lookahead - returns next character from input stream, refilling buffer when empty |
| 0x005348A0 | 85 | luaZ_openspace | Allocates/reallocates Lua buffer space, ensuring minimum 32 bytes or requested size with overflow protection |
| 0x00534900 | 109 | luaZ_read | Reads bytes from a Lua buffered input stream (ZIO) into a destination buffer, refilling when needed. |
| 0x00534970 | 792 | luaU_print_code | Disassembles and prints Lua bytecode instructions from a function prototype with operand decoding and constant/upvalue references. |
| 0x00534CD0 | 413 | luaU_print_constant | Prints a Lua constant value with proper escape sequences; handles nil, boolean, number, and string types. |
| 0x00534F10 | 516 | luaU_print_constants | Prints Lua function constants table with type-specific formatting (nil, bool, number, string). |
| 0x005351B0 | 462 | luaU_print_function | Dumps Lua function prototype details (header, code, constants, locals, upvalues) for debugging/disassembly |
| 0x00535380 | 48 | print_to_stdout_with_allocator | Outputs formatted text to stdout using a global JSON allocator for buffer management |
| 0x0056AD70 | 115 | lua_register_AccountLinkedUserData_Load | Registers Lua command binding for AccountLinkedUserData::Load function with string assignment setup |
| 0x0056AE80 | 115 | lua_cmd_init__AccountLinkedUserData_Save__register_command | Registers Lua command handler for AccountLinkedUserData save operation by initializing command string identifier. |
| 0x0056AFD0 | 115 | register_lua_change_party_master_command | Registers a Lua command handler for the "Change_PartyMaster" party management command with the Lua VM. |
| 0x0056B150 | 115 | STL_string__assign_cstring_length | Calculates null-terminated string length and assigns it to a std::string object for "CharacterLinkedUserData_Load" |
| 0x0056B290 | 115 | RegisterCharacterLinkedUserDataSaveCommand | Registers a Lua command binding for "CharacterLinkedUserData_Save" string initialization in Lua environment. |
| 0x0056B3F0 | 115 | lua_cmd_init__Emblem_Download | Initializes Lua command binding for emblem download functionality, sets up string reference for "Emblem_Download" |
| 0x0056B530 | 115 | init_emblem_upload_command | Initializes Lua command registration for guild emblem upload functionality with string allocation. |
| 0x0056B690 | 115 | lua_cmd_register__MyParty_Load | Registers "MyParty_Load" Lua command by computing string length and assigning to internal command table |
| 0x0056B7D0 | 115 | string_length_calculate | Calculates string length of "PartyInfo_Load" by iterating to null terminator, then calls std_string assignment. |
| 0x0056B910 | 115 | lua_register_PartyList_Load | Registers "PartyList_Load" as a Lua command by creating a string and passing it to Lua registration system. |
| 0x0056BAF0 | 115 | lua_register_MerchantStoreInformation_Load | Registers Lua command for loading merchant store information by calculating and assigning string length. |
| 0x0056BC30 | 115 | lua_MerchantStoreInformation_SaveInit | Initializes Lua command binding for MerchantStoreInformation Save function; registers string constant with Lua VM. |
| 0x0056BD90 | 115 | lua_cmd_init__register_party_command | Registers a Lua command string "Register_Party" by calculating its length and assigning it to a string object. |
| 0x0056BF00 | 115 | lua_register_cmd__Stop_Recruiting | Registers "Stop_Recruiting" Lua command by assigning string to command registry with length metadata. |
| 0x0056C040 | 115 | lua_register_twitter_send_command | Registers a Lua command binding for Twitter data sending functionality with string initialization. |
| 0x00583C30 | 43 | handle_assertion_failure | Formats and prints assertion failure message with file:line info, then terminates process. |
| 0x0059744F | 99 | lua_CEmotionSystem__set_value | Lua binding: checks integer argument, inserts into unordered_map with string key, returns 1 |
| 0x005974C0 | 197 | lua_UIItemCatalog_GetItemDisplayName | Lua binding retrieving item display name from catalog by item ID, handling string storage allocation for names >15 chars |
| 0x005975DF | 44 | lua_return_true | Lua C function that does nothing but return 1 (success) |
| 0x00597610 | 152 | lua_emotion_get_int_int_and_string | Validates 2 integer and 1 string Lua parameters, computes string length, assigns to std::string object. |
| 0x00597704 | 114 | lua_CEmotionSystem__set_entry_by_coords | Lua binding: takes two integer args and a string arg (coords + name), assigns string from Lua to std::string |
| 0x005977D7 | 84 | lua_get_string_arg_and_assign | Lua binding: gets a string argument via luaL_checklstring, assigns it to a std::string |
| 0x00597885 | 263 | lua_CEmotionSystem__register_emotion | Lua binding for emotion registration. Resolves message string via CSimpleMsgMgr or CMsgStringTable, then calls CEmotionSystem__RegisterEmotionEntry with the resolved display text and parameters. Returns 1. |
| 0x00597990 | 326 | lua_UIItemCatalogWnd_handler | Lua binding that validates and processes item catalog window parameters, extracting/measuring a string argument from Lua stack. |
| 0x00597B2C | 814 | lua_CItemCatalog__add_entry | Lua binding for item catalog entry. Copies string, cleans up prior state flags (bit 4/2/1), strips leading slash from path, calls CItemCatalog__AddOrUpdateEntry, then advances to next Lua table entry. Returns 1. |
| 0x00597EF0 | 195 | lua_UIItemCatalog_GetCategoryItemName | Lua binding that retrieves an item's name from a catalog category and returns it to Lua script. |
| 0x0059800F | 44 | lua_return_true_0059800f | Lua C function: SEH cleanup, returns 1 |
| 0x00598040 | 179 | lua_emotion_get_string_param | Extracts and assigns a string parameter from Lua stack position 5, validates 4 integer params first. |
| 0x00598157 | 84 | lua_get_string_arg_and_assign_00598157 | Lua binding: gets a string argument via luaL_checklstring, assigns to a std::string |
| 0x00598222 | 85 | lua_CEmotionSystem__build_emotion_from_item | Lua binding: calls CEmotionSystem__BuildEmotionFromItem with 3 args, cleans up 2 strings, returns 1 |
| 0x005983E0 | 148 | lua_emotion_get_args | Extracts emotion ID (int) and emotion name (string) from Lua stack for emotion display/animation. |
| 0x005984DF | 707 | lua_CItemCatalog__register_sale_item | Lua binding for registering a sale/catalog item. Validates sale type and date type parameters, converts date integers (YYYYMMDD format) to time_t via _mktime32, inserts into catalog unordered map. Shows error messages for invalid sale/date types. |
| 0x005989E0 | 185 | lua_cmd__GetNpcLocationRadius | Invokes Lua script function to retrieve NPC location radius value from game scripting layer. |
| 0x0059B120 | 18 | lua_cmd__LoadMapSkyData | Loads MapSkyData Lua script via CLua::DoString to initialize sky and weather configuration data. |
| 0x0059B140 | 193 | lua_cmd__IsBackGroundFog | Calls Lua IsBackGroundFog function and sets fog flag on active UIWindowMgr mode's weather data if enabled. |
| 0x0059B210 | 252 | lua_cmd__CallGetBackgroundColor | Calls Lua GetBackgroundColor function to retrieve and apply current map background color via renderer. |
| 0x0059BCA0 | 360 | lua_cmd__GetOldCloudTypeAndInfo | Retrieves old cloud type count via Lua, iterates through each cloud, and applies weather effects using CWeatherEffect::SelectEffectByType. |
| 0x0059BE10 | 180 | lua_cmd__IsDrawStar | Calls Lua IsDrawStar() function and selects weather effect type 9 (stars) if result is true. |
| 0x0059C070 | 119 | lua_AccountLinkedUserData_Load_register | Registers Lua command for loading account-linked user data by assigning string constant to std::string. |
| 0x0059F6D0 | 119 | InitLuaCommand_AccountLinkedUserDataSave | Initializes Lua command binding for AccountLinkedUserData Save operation via std::string assignment |
| 0x00622AF0 | 1054 | RegisterLuaFunctions_Episode | Registers Lua functions for episode/intro system (InsertIntro, InsertIntroContents, InsertEpisode, etc.) with CLuaState |
| 0x00627470 | 259 | Lua_InsertWeaponContents | Lua binding validating 3 args (number, string, string) for weapon content insertion; returns bool+error message on failure. |
| 0x00627692 | 119 | lua_CNavigator__cleanup_and_return2_00627692 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00627710 | 764 | Lua_InsertArmorContents | Lua binding that validates 7 numeric arguments + 1 string argument, then calls FUN_006249f0 (type=6) to insert armor content data; returns success bool and error message. |
| 0x00627A10 | 228 | Lua_InsertWeaponSubMenu | Lua binding that validates and inserts a weapon submenu item; takes numeric ID and string name, returns success boolean and error message. |
| 0x00627BB6 | 43 | lua_CNavigator__string_init_and_return2_00627bb6 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00627BF0 | 462 | Lua_InsertArmorSubMenu | Lua binding that validates 4 args (3 numbers + 1 string) and calls CAdventureGuideMgr to insert armor submenu (type=6), returns success bool and error message. |
| 0x00627DC0 | 259 | Lua_InsertDungeonContentEntry | Lua binding function that validates 3 arguments (number, string, string) for dungeon content insertion, returns boolean status with error message. |
| 0x00627FE2 | 119 | lua_CNavigator__cleanup_and_return2_00627fe2 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00628060 | 689 | Lua_InsertDungeonContents | Lua binding that validates 7 arguments (5 numbers, 2 strings) for dungeon content insertion, returns success bool and error message. |
| 0x00628320 | 228 | Lua_InsertDungeonSubEntry | Lua binding that validates dungeon sub-entry insertion parameters (number + string), returns boolean status with error message. |
| 0x006284C4 | 43 | lua_CNavigator__string_init_and_return2_006284c4 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x006284F0 | 460 | Lua_InsertDungeonRecommendItem | Lua binding that validates 3 numeric + 1 string argument, inserts dungeon recommendation item via CAdventureGuideMgr |
| 0x006286C0 | 259 | Lua_InsertEpisodeContentEntry | Lua binding that validates and inserts episode content entry with numeric ID and two string parameters into game state. |
| 0x006288E2 | 119 | lua_CNavigator__cleanup_and_return2_006288e2 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00628960 | 753 | Lua_InsertEpisodeContents | Lua binding that validates 8 arguments (6 numbers + 2 strings) for episode content insertion, returns success bool and error message. |
| 0x00628C60 | 228 | Lua_InsertEpisodeSubEntry | Lua binding that validates and inserts an episode sub-entry; expects numeric ID and string name arguments. |
| 0x00628E04 | 43 | lua_CNavigator__string_init_and_return2_00628e04 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00628E30 | 518 | Lua_InsertEpisodeSubMenu | Lua binding that validates 4 numeric args + 1 string arg, calls CAdventureGuideMgr__EpisodeSubMenu__SetString_Wrapper to insert episode submenu, returns success bool + error message. |
| 0x00629040 | 350 | Lua_InsertQuestContents | Lua binding that validates 4 args (number + 3 strings) and assigns quest content strings to internal fields via std_string assignment. |
| 0x006292E0 | 393 | Lua_InsertIntroContents | Lua binding that validates 3 args (number, string, string) and calls CAdventureGuideMgr to insert intro guide content, returning success bool and error message. |
| 0x00629470 | 259 | Lua_InsertQuestSubMenu | Lua binding that validates and inserts a quest submenu entry with numeric ID and two string parameters, returns success boolean and error message. |
| 0x00629692 | 119 | lua_CNavigator__cleanup_and_return2_00629692 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00629710 | 245 | Lua_SetDateRange | Lua binding that validates 3 arguments (string, number, number) for date range filtering and returns success status with error message. |
| 0x006298E9 | 43 | lua_CNavigator__string_init_and_return2_006298e9 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00629920 | 211 | Lua_SetGuideDescription_buggy | Lua binding that validates 2 string arguments but has logic error; only processes arg1, ignores arg2, always returns false+error. |
| 0x00629B0A | 119 | lua_CNavigator__cleanup_and_return2_00629b0a | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00629B90 | 259 | Lua_InsertGuideEntry | Lua binding that validates and inserts a guide entry with numeric ID and two string parameters, returns boolean success status. |
| 0x00629DB2 | 119 | lua_CNavigator__cleanup_and_return2_00629db2 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x00629E30 | 689 | Lua_InsertAdvGuideSubContent | Lua callback validating 7 arguments (5 numbers, 2 strings) and inserting adventure guide sub-content via CAdventureGuideMgr |
| 0x0062A0F0 | 228 | Lua_InsertAdvGuideContentEntry | Lua binding that validates and inserts adventure guide content entry; requires numeric ID and string description arguments. |
| 0x0062A294 | 43 | lua_CNavigator__string_init_and_return2_0062a294 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x0062A2C0 | 460 | Lua_InsertAdvGuideRecommend | Lua binding that validates 3 numeric + 1 string argument, inserts adventure guide recommendation via CAdventureGuideMgr, returns success status |
| 0x0062A490 | 259 | Lua_InsertAdvGuideContentEntryB | Lua binding that validates 3 arguments (number, string, string) for adventure guide content entry insertion, returns boolean+error message. |
| 0x0062A6B2 | 119 | lua_CNavigator__cleanup_and_return2_0062a6b2 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x0062A730 | 764 | Lua_InsertAdvGuideRecommendItem | Lua binding that validates and extracts 8 parameters (7 numbers + 1 string) for Adventure Guide recommendation item insertion |
| 0x0062AA30 | 228 | Lua_InsertAdvGuideSubEntryB | Lua binding that validates and inserts an adventure guide sub-entry with numeric ID and string name parameters. |
| 0x0062ABD6 | 43 | lua_CNavigator__string_init_and_return2_0062abd6 | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x0062AC10 | 462 | Lua_SetAdvGuideAttributes | Lua binding that validates 4 arguments (3 numbers + 1 string) and calls CAdventureGuideMgr to set adventure guide attribute data. |
| 0x0062ED20 | 617 | Lua_InsertAdvGuideContents | Lua binding validating 5 args (num,str,str,str,num) and calling CAchievementMgr::InsertAchieveInfo, returns success bool+error string |
| 0x0062EF90 | 475 | Lua_InsertAdvGuideSubItem | Lua binding validating 4 args (num,str,num,num), inserting adventure guide sub-item via CAdventureGuideMgr, returns success+error msg |
| 0x0062F170 | 364 | Lua_InsertAchieveRewardBuff | Lua binding that validates 2 numeric arguments and calls CAchievementMgr::InsertRewardBuff, returning success bool and error message string. |
| 0x0062F2E0 | 364 | Lua_InsertAchieveRewardItem | Lua binding that validates 2 numeric args and calls CAchievementMgr::InsertRewardItem, returning success bool and error message string. |
| 0x0062F450 | 364 | Lua_InsertAchieveRewardTitle | Lua binding that validates 2 number arguments and calls CAchievementMgr::InsertRewardTitle, returning success bool and error message string. |
| 0x0062F5C0 | 275 | Lua_SetAchieveInfo | Lua binding that validates and processes achievement info (2 numbers + 1 string), returns boolean status and error message. |
| 0x0062F7DF | 44 | lua_CNavigator__string_init_and_return2_0062f7df | Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x0062F810 | 424 | Lua_SetAchieveTab | Lua binding that validates 3 numeric arguments and calls CAchievementMgr::SetAchieveIDByTab, returning success bool and error message. |
| 0x00632AA0 | 562 | lua_AddPetEvolutionRecipe | Lua binding that validates 4 numeric args (petEggId, evolutionPetEggId, materialItemId, materialCount) and adds pet evolution recipe with material validation. |
| 0x00632CE0 | 354 | lua_InsertPetAutoFeeding | Lua binding that validates pet egg ID, inserts auto-feeding entry via CCheckAttendanceMgr, returns bool+string result. |
| 0x00643683 | 113 | lua_CWorldView__cleanup_strings_and_return | Lua CWorldView callback epilog: initializes one empty string, destroys another local string, then returns to caller. |
| 0x00646F1C | 40 | lua_epilog_string_init_return0_00646f1c | Lua callback epilog: initializes a local std::string to empty and returns 0 to Lua. |
| 0x0064709B | 116 | lua_epilog_cleanup_return0 | Lua callback epilog: initializes one empty string, destroys another local string, then returns 0 to Lua. |
| 0x0064C868 | 40 | lua_epilog_string_init_return0_0064c868 | Lua callback epilog: initializes a local std::string to empty and returns 0 to Lua. |
| 0x0064CB0F | 41 | lua_epilog_string_init_return0_0064cb0f | Lua callback epilog: initializes a local std::string to empty and returns 0 to Lua. |
| 0x00655FEF | 43 | lua_CEnchantWnd__string_init_and_return2 | Lua CEnchantWnd callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00656856 | 44 | lua_CEnchantWnd__string_init_and_return2_00656856 | Lua CEnchantWnd callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00656CFB | 33 | lua_epilog_return2 | Lua callback epilog: returns 2 to Lua after SEH cleanup. |
| 0x0066A1F0 | 15 | lua_trampoline__SubSkillDelay | Lua trampoline that delegates skill delay reduction to CEnchantEffect's Lua binding implementation. |
| 0x0066A200 | 15 | lua_trampoline__SubSkillMDamage | Lua trampoline that delegates to CEnchantEffect::Lua_SubSkillMDamage for magical damage skill calculations. |
| 0x0066A210 | 15 | lua_trampoline__SubSkillSP | Trampoline wrapper that delegates Lua skill SP subtraction calls to CEnchantEffect's implementation. |
| 0x0066A220 | 15 | lua_trampoline__SubSpecificSpellCastTime | Trampoline wrapper that delegates to CEnchantEffect::Lua_SubSpecificSpellCastTime for Lua spell cast time adjustment |
| 0x0066A230 | 15 | lua_trampoline__SubSpellCastTime | Lua trampoline wrapper that delegates spell cast time subtraction logic to CEnchantEffect class method. |
| 0x0066A240 | 15 | lua_trampoline__SubSpellDelay | Lua trampoline wrapper that delegates spell delay subtraction to CEnchantEffect::Lua_SubSpellDelay |
| 0x0066A250 | 15 | lua_trampoline__AddExtParam | Lua trampoline wrapper that delegates enchant effect parameter addition to CEnchantEffect__Lua_AddExtParam |
| 0x0066A260 | 15 | lua_trampoline__AddGuideAttack | Lua trampoline wrapper that delegates AddGuideAttack call to CEnchantEffect class implementation. |
| 0x0066A270 | 15 | lua_trampoline__AddHPdrain | Lua trampoline wrapper that delegates HP drain effect addition to CEnchantEffect class method |
| 0x0066A280 | 15 | lua_trampoline__AddHealModifyPercent | Trampoline wrapper that forwards Lua heal modify percent addition calls to CEnchantEffect implementation. |
| 0x0066A290 | 15 | lua_trampoline__AddHealValue | Lua trampoline wrapper that delegates AddHealValue enchant effect handling to CEnchantEffect class |
| 0x0066A2A0 | 15 | lua_trampoline__AddIgnore_MRES_RacePercent | Lua trampoline that delegates to CEnchantEffect::Lua_AddIgnore_MRES_RacePercent for magic resistance race percentage ignore registration. |
| 0x0066A2B0 | 15 | lua_trampoline__AddIgnore_RES_RacePercent | Lua trampoline that delegates to CEnchantEffect to add race resistance percentage to ignore list |
| 0x0066A2C0 | 15 | lua_trampoline__AddMDamage_Property | Lua trampoline wrapper that delegates magic damage property addition to CEnchantEffect's Lua binding handler |
| 0x0066A2D0 | 15 | lua_trampoline__AddMDamage_Size | Lua trampoline that delegates magic damage size addition to CEnchantEffect::Lua_AddMDamage_Size |
| 0x0066A2E0 | 15 | lua_trampoline__AddMdamage_Class | Lua trampoline wrapper that delegates to CEnchantEffect::Lua_AddMdamage_Class for magic damage enchantment registration |
| 0x0066A300 | 15 | lua_trampoline__AddMdamage_Race | Lua trampoline that delegates AddMdamage_Race enchant effect calls to CEnchantEffect class implementation |
| 0x0066A310 | 15 | lua_trampoline__AddMeleeAttackDamage | Lua trampoline wrapper that delegates melee attack damage calculation to CEnchantEffect::Lua_AddMeleeAttackDamage |
| 0x0066A320 | 15 | lua_trampoline__AddMeleeAttackReflect | Lua trampoline that forwards melee attack reflect enchantment addition to CEnchantEffect class method. |
| 0x0066A330 | 15 | lua_trampoline__AddNeverknockback | Lua trampoline wrapper that delegates to CEnchantEffect::Lua_AddNeverknockback to apply knockback immunity effect. |
| 0x0066A350 | 15 | lua_trampoline__AddRangeAttackDamage | Lua trampoline that delegates range attack damage calculation to CEnchantEffect's Lua binding method. |
| 0x0066A360 | 15 | lua_trampoline__AddReceiveItem_Equip | Lua trampoline that delegates AddReceiveItem_Equip enchant effect handling to CEnchantEffect class method. |
| 0x0066A370 | 15 | lua_trampoline__AddReflectMagic | Lua trampoline that delegates AddReflectMagic enchant effect calls to CEnchantEffect class implementation |
| 0x0066A390 | 15 | lua_trampoline__AddSFCTEquipAmount | Lua trampoline that delegates SFCT (Special Force Combat Technique) equip amount addition to CEnchantEffect class |
| 0x0066A3B0 | 15 | lua_trampoline__AddSFCTEquipPermill | Lua trampoline that delegates SFCT equip permill addition to CEnchantEffect class method. |
| 0x0066A3C0 | 15 | lua_trampoline__AddSPconsumption | Lua trampoline wrapper that delegates SP consumption effect addition to CEnchantEffect class method. |
| 0x0066A3D0 | 15 | lua_trampoline__addspconsumption | Trampoline wrapper that forwards SP consumption addition requests to CEnchantEffect's Lua binding implementation. |
| 0x0066A3E0 | 15 | lua_trampoline__AddSPdrain | Lua trampoline wrapper that delegates SP drain effect addition to CEnchantEffect::Lua_AddSPdrain |
| 0x0066A3F0 | 15 | lua_trampoline__AddSkillDelay | Trampoline wrapper that delegates Lua skill delay addition to CEnchantEffect's implementation |
| 0x0066A400 | 15 | lua_trampoline__AddSkillMDamage | Lua trampoline that delegates skill magic damage addition to CEnchantEffect's Lua binding method. |
| 0x0066A410 | 15 | lua_trampoline__AddSkillSP | Lua trampoline that forwards skill SP addition calls to CEnchantEffect's Lua binding implementation. |
| 0x0066A420 | 15 | lua_trampoline__AddSpecificSpellCastTime | Lua trampoline that delegates spell cast time addition to CEnchantEffect's Lua binding method. |
| 0x0066A430 | 15 | lua_trampoline__AddSpellCastTime | Lua trampoline wrapper that delegates spell cast time addition to CEnchantEffect's Lua interface |
| 0x0066A440 | 15 | lua_trampoline__AddSpellDelay | Lua trampoline wrapper that delegates spell delay addition to CEnchantEffect's Lua interface method. |
| 0x0066A450 | 15 | lua_trampoline__AddBowAttackDamage | Trampoline wrapper that delegates bow attack damage calculation to CEnchantEffect's Lua binding method. |
| 0x0066A460 | 15 | lua_trampoline__BodyAttribute | Trampoline wrapper that forwards Lua BodyAttribute calls to CEnchantEffect's implementation |
| 0x0066A470 | 15 | lua_trampoline__Clairvoyance | Trampoline wrapper that delegates Clairvoyance skill effect processing to CEnchantEffect::Lua_Clairvoyance |
| 0x0066A480 | 15 | lua_trampoline__ClassAddDamage | Trampoline wrapper that delegates to CEnchantEffect__Lua_ClassAddDamage for Lua damage calculation binding. |
| 0x0066A490 | 15 | lua_trampoline__ClassSubDamage | Trampoline wrapper that delegates to CEnchantEffect::Lua_ClassSubDamage for Lua binding |
| 0x0066A4A0 | 15 | lua_trampoline__Condition | Trampoline wrapper that delegates Lua condition evaluation to CEnchantEffect's Lua binding method |
| 0x0066A4B0 | 15 | lua_trampoline__DisableSkill | Lua trampoline wrapper that delegates to CEnchantEffect::Lua_DisableSkill for skill disabling logic |
| 0x0066A4C0 | 15 | lua_trampoline__EnableSkill | Lua trampoline that forwards skill enablement calls to CEnchantEffect's Lua interface handler |
| 0x0066A4D0 | 15 | lua_trampoline__IndestructibleArmor | Lua trampoline that delegates IndestructibleArmor enchant effect invocation to CEnchantEffect class method. |
| 0x0066A4E0 | 15 | lua_trampoline__IndestructibleWeapon | Lua trampoline wrapper that delegates IndestructibleWeapon enchant effect calls to CEnchantEffect::Lua_IndestructibleWeapon |
| 0x0066A4F0 | 15 | lua_trampoline__Magicimmune | Lua trampoline that delegates magic immunity effect handling to CEnchantEffect's Lua binding method. |
| 0x0066A500 | 15 | lua_trampoline__AddCRIPercent_Race | Trampoline wrapper that delegates CRI percent race bonus calculation to CEnchantEffect Lua binding |
| 0x0066A510 | 15 | lua_trampoline__NoDispell | Lua trampoline that delegates NoDispell enchant effect initialization to CEnchantEffect class handler |
| 0x0066A520 | 15 | lua_trampoline__NoJamstone | Lua trampoline wrapper that delegates NoJamstone enchant effect initialization to CEnchantEffect class method. |
| 0x0066A530 | 15 | lua_trampoline__NoMadogearfuel | Lua trampoline that delegates NoMadogearfuel enchant effect handling to CEnchantEffect class method. |
| 0x0066A540 | 15 | lua_trampoline__PerfectDamage | Trampoline wrapper that delegates to CEnchantEffect::Lua_PerfectDamage for Lua script integration |
| 0x0066A550 | 15 | lua_trampoline__RaceAddDamage | Lua trampoline wrapper that delegates race damage addition to CEnchantEffect's Lua binding method. |
| 0x0066A560 | 15 | lua_trampoline__RaceAddDamageSelf | Trampolines CEnchantEffect::Lua_RaceAddDamageSelf() call for Lua binding to race-based self damage modification. |
| 0x0066A570 | 15 | lua_trampoline__RaceSubDamage | Trampoline wrapper that delegates Lua RaceSubDamage calls to CEnchantEffect's Lua binding implementation. |
| 0x0066A580 | 15 | lua_trampoline__RaceSubDamageSelf | Trampoline wrapper that delegates race-based self damage calculations to CEnchantEffect's Lua binding method. |
| 0x0066A590 | 15 | lua_trampoline__Reincarnation | Lua trampoline that delegates Reincarnation effect handling to CEnchantEffect__Lua_Reincarnation |
| 0x0066A5A0 | 15 | lua_trampoline__SetIgnoreDEFClass | Lua trampoline wrapper that delegates SetIgnoreDEFClass call to CEnchantEffect class method. |
| 0x0066A5B0 | 15 | lua_trampoline__AddDamage_CRI | Lua trampoline wrapper that delegates to CEnchantEffect::Lua_AddDamage_CRI for critical damage effect handling |
| 0x0066A5C0 | 15 | lua_trampoline__SetIgnoreDEFRace | Lua wrapper that delegates SetIgnoreDEFRace call to CEnchantEffect class |
| 0x0066A5D0 | 15 | lua_trampoline__SetIgnoreDefClass_Percent | Lua trampoline wrapper that delegates SetIgnoreDefClass_Percent calls to CEnchantEffect for enchantment mechanics. |
| 0x0066A5E0 | 15 | lua_trampoline__SetIgnoreDefRace_Percent | Lua trampoline that forwards SetIgnoreDefRace_Percent call to CEnchantEffect Lua binding method |
| 0x0066A5F0 | 15 | lua_trampoline__SetIgnoreMdefClass | Trampoline wrapper that forwards SetIgnoreMdefClass calls to CEnchantEffect Lua binding implementation. |
| 0x0066A600 | 15 | lua_trampoline__SetIgnoreMdefRace | Lua trampoline that delegates SetIgnoreMdefRace call to CEnchantEffect class with one parameter. |
| 0x0066A610 | 15 | lua_trampoline__SetInvestigate | Trampoline wrapper that delegates Lua SetInvestigate call to CEnchantEffect class implementation |
| 0x0066A620 | 15 | lua_trampoline__SplashAttack | Trampoline wrapper that delegates SplashAttack Lua binding to CEnchantEffect class implementation |
| 0x0066A650 | 15 | lua_trampoline__SubBowAttackDamage | Trampoline wrapper that delegates bow attack damage calculation to CEnchantEffect Lua binding method. |
| 0x0066A660 | 15 | lua_trampoline__AddDamage_Property | Lua trampoline that delegates AddDamage_Property calls to CEnchantEffect Lua binding implementation. |
| 0x0066A670 | 15 | lua_trampoline__SubCRIPercent_Race | Trampoline wrapper that delegates SubCRIPercent_Race Lua binding to CEnchantEffect class implementation. |
| 0x0066A680 | 15 | lua_trampoline__SubDamage_CRI | Trampoline wrapper that forwards Lua critical damage calculation to CEnchantEffect's SubDamage_CRI method. |
| 0x0066A690 | 15 | lua_trampoline__SubDamage_Property | Lua wrapper trampoline that delegates to CEnchantEffect::Lua_SubDamage_Property for enchant damage property handling |
| 0x0066A6A0 | 15 | lua_trampoline__SubDamage_SKID | Trampoline wrapper that delegates SubDamage_SKID enchant effect calculations to CEnchantEffect Lua implementation |
| 0x0066A6B0 | 15 | lua_trampoline__SubDamage_Size | Trampoline wrapper that delegates Lua SubDamage_Size query to CEnchantEffect's Lua binding implementation. |
| 0x0066A6C0 | 15 | lua_trampoline__SubEXPPercent_KillRace | Lua trampoline that delegates SubEXPPercent_KillRace calculation to CEnchantEffect class method |
| 0x0066A6D0 | 15 | lua_trampoline__SubExtParam | Trampoline wrapper that delegates Lua enchant effect parameter subtraction to CEnchantEffect::Lua_SubExtParam |
| 0x0066A6E0 | 15 | lua_trampoline__SubGuideAttack | Lua trampoline wrapper that delegates SubGuideAttack effect handling to CEnchantEffect class method. |
| 0x0066A6F0 | 15 | lua_trampoline__SubHPdrain | Lua trampoline wrapper that delegates SubHPdrain effect handling to CEnchantEffect class method |
| 0x0066A700 | 15 | lua_trampoline__SubHealModifyPercent | Lua trampoline wrapper that delegates SubHealModifyPercent enchant effect calculations to CEnchantEffect class |
| 0x0066A710 | 15 | lua_trampoline__AddDamage_SKID | Trampoline wrapper that forwards Lua AddDamage_SKID calls to CEnchantEffect implementation |
| 0x0066A720 | 15 | lua_trampoline__SubHealValue | Lua trampoline wrapper that forwards SubHealValue calls to CEnchantEffect's Lua implementation |
| 0x0066A730 | 15 | lua_trampoline__SubIgnore_MRES_RacePercent | Lua trampoline wrapper that delegates to CEnchantEffect's SubIgnore_MRES_RacePercent method for enchant calculations. |
| 0x0066A740 | 15 | lua_trampoline__SubIgnore_RES_RacePercent | Lua trampoline wrapper that delegates to CEnchantEffect's SubIgnore_RES_RacePercent method for handling race resistance subtraction calculations. |
| 0x0066A750 | 15 | lua_trampoline__SubMDamage_Property | Trampoline wrapper that forwards Lua calls to CEnchantEffect::Lua_SubMDamage_Property for enchantment property handling. |
| 0x0066A760 | 15 | lua_trampoline__SubMDamage_Size | Lua trampoline wrapper that delegates SubMDamage size query to CEnchantEffect Lua binding method. |
| 0x0066A770 | 15 | lua_trampoline__SubMdamage_Class | Trampoline wrapper that delegates SubMdamage class Lua binding to CEnchantEffect implementation |
| 0x0066A780 | 15 | lua_trampoline__SubMdamage_Race | Trampoline wrapper that delegates Lua SubMdamage_Race enchant effect calculation to CEnchantEffect class method. |
| 0x0066A790 | 15 | lua_trampoline__SubMeleeAttackDamage | Trampolines lua_SubMeleeAttackDamage call to CEnchantEffect::Lua_SubMeleeAttackDamage for melee damage calculation. |
| 0x0066A7A0 | 15 | lua_trampoline__SubMeleeAttackReflect | Lua trampoline wrapper that delegates melee attack reflect damage calculation to CEnchantEffect class method. |
| 0x0066A7B0 | 15 | lua_trampoline__SubNeverknockback | Lua trampoline that delegates to CEnchantEffect::Lua_SubNeverknockback to handle knockback immunity status |
| 0x0066A7C0 | 15 | lua_trampoline__AddDamage_Size | Lua trampoline that delegates AddDamage_Size enchant effect calls to CEnchantEffect class implementation |
| 0x0066A7E0 | 15 | lua_trampoline__SubRangeAttackDamage | Lua trampoline that delegates sub-range attack damage calculation to CEnchantEffect class method. |
| 0x0066A7F0 | 15 | lua_trampoline__SubReceiveItem_Equip | Trampoline wrapper that delegates SubReceiveItem_Equip Lua callback to CEnchantEffect class handler |
| 0x0066A800 | 15 | lua_trampoline__SubReflectMagic | Lua trampoline that delegates SubReflectMagic enchant effect processing to CEnchantEffect class method. |
| 0x0066A820 | 15 | lua_trampoline__SubSFCTEquipAmount | Trampoline wrapper that delegates to CEnchantEffect::Lua_SubSFCTEquipAmount to subtract SFCT equipment amount via Lua. |
| 0x0066A830 | 15 | lua_trampoline__SubSFCTEquipPermill | Lua trampoline wrapper that delegates SubSFCT (Sub-stat Enchant Effect) equipment permill calculation to CEnchantEffect class method. |
| 0x0066A840 | 15 | lua_trampoline__SubSPconsumption | Trampoline that forwards SP consumption effect Lua calls to CEnchantEffect implementation |
| 0x0066A850 | 15 | lua_trampoline__subspconsumption | Trampoline that delegates SP consumption effect initialization to CEnchantEffect's Lua binding method |
| 0x0066A860 | 15 | lua_trampoline__SubSPdrain | Lua trampoline wrapper that delegates SP drain enchantment effect logic to CEnchantEffect::Lua_SubSPdrain |
| 0x0066A870 | 15 | lua_trampoline__AddEXPPercent_KillRace | Lua trampoline wrapper that delegates AddEXPPercent_KillRace call to CEnchantEffect class method |
| 0x0066B1F0 | 86 | lua_table_iterator__read_string_key | Lua table iterator helper. Reads string key from current table entry via lua_next/lua_tolstring. Returns 0 if string found, 2 if missing. Cleans up stack on exit. |
| 0x0066B7AD | 129 | lua_table_iterator__read_number_and_string | Lua table iterator helper. Reads number (tonumber) then optionally string (tolstring) from table entry. Returns count of values read (1 or 2). |
| 0x0068A740 | 583 | lua_get_datatable_value | Retrieves a numeric value from a DataTable using Lua stack arguments as keys, validates input and returns result to Lua. |
| 0x0068B020 | 583 | lua_DataTable__LookupByArgs_B | Lua binding that looks up DataTable entries by numeric arguments, validates input, and returns matching row ID or 0. |
| 0x0068B6A0 | 340 | lua_DataTable__ExtractStringBeforeDot | Extracts substring from UI mode string up to first dot separator for Lua DataTable access. |
| 0x0068B8AF | 195 | lua_push_string_from_local | Pushes local std::string to Lua stack via lua_pushstring. Handles SSO buffer and heap-allocated string. Returns 1 value to Lua. |
| 0x0068BD40 | 463 | lua_DataTable__LookupByArgs_C | Lua binding that looks up SkillTree entries by numeric arguments, validates input, and returns entry ID to Lua. |
| 0x0068C2B0 | 591 | lua_DataTable__LookupByArgs_A | Lua binding that collects numeric args into int vector key, finds/creates DataTable singleton, performs lower_bound lookup, returns result or error. |
| 0x0068C560 | 179 | lua_CEnchantEffect__GetStringArg | Lua binding that validates string argument and assigns it to a std::string, returns error if arg not string |
| 0x0068C69D | 40 | lua_epilog_string_init_return0_0068c69d | Lua callback epilog: initializes a local std::string to empty and returns 0 to Lua. |
| 0x00694880 | 163 | LuaCall__ItemDB_To_ItemID | Calls Lua ItemDB_To_ItemID function to convert item name string to item ID, returns integer ID or 0 on error |
| 0x0069C940 | 163 | lua_CLoadingTipMgr__SetTipArg1 | Lua binding for CLoadingTipMgr that sets a loading tip argument from a Lua string parameter with type validation. |
| 0x0069CB23 | 119 | lua_CItem__cleanup_and_return2 | Lua CItem callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x0069CBA0 | 164 | lua_CLoadingTipMgr__SetTipArg2 | Lua binding that validates string argument and assigns it to CLoadingTipMgr's tip argument 2 |
| 0x0069CDD0 | 120 | lua_CItem__cleanup_and_return2_0069cdd0 | Lua CItem callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua. |
| 0x0069CE50 | 163 | lua_CLoadingTipMgr__SetTipArg3 | Lua binding that validates and assigns a string argument to CLoadingTipMgr's tip parameter (arg3). |
| 0x0069D099 | 186 | lua_CItem__cleanup_two_strings_and_return2 | Lua CItem callback epilog: initializes one empty string, destroys two other local strings, then returns 2 to Lua. |
| 0x0069E230 | 164 | lua_InsertNeedItem | Lua binding that validates a string argument and inserts it into a need item collection for quest/shop requirements. |
| 0x0069E3E2 | 44 | lua_CItem__string_init_and_return2 | Lua CItem callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x0069E420 | 369 | lua_InsertEndableMap | Lua binding function that inserts a map into an endable maps collection after converting its file path to a hashed key. |
| 0x0069E5A0 | 369 | lua_InsertStartableMap | Lua binding that inserts a startable map into game state by converting file path to key and adding to rbtree. |
| 0x0069FCD0 | 549 | lua_InsertPackage | Lua callback validating 5 arguments (3 numbers, 1 string, 1 number) and inserting entry into neo-package item table |
| 0x006A0780 | 247 | lua_C_AddItemSold | Lua binding that validates numeric argument and initializes/uses CPaidItemMgr to collect sold items by group ID |
| 0x006AABF9 | 44 | lua_epilog_string_init_return_false | Lua callback epilog: initializes a local std::string to empty and returns false (0) to Lua. |
| 0x00731EE1 | 44 | lua_CRuneSystem__string_init_and_return2 | Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x0073259B | 44 | lua_CRuneSystem__string_init_and_return2_0073259b | Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00732C9B | 44 | lua_CRuneSystem__string_init_and_return2_00732c9b | Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x007335E4 | 44 | lua_CRuneSystem__string_init_and_return2_007335e4 | Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua. |
| 0x00A7D930 | 293 | lua_ChampionMonsterMgr__InsertOrUpdate | Lua wrapper for ChampionMonsterMgr::InsertOrUpdate; validates 2 numeric args (mob_id, value), calls native function, returns bool+message |
| 0x00A7DA60 | 370 | lua_ChampionMonsterMgr__AddReward | Lua callback that validates two numeric arguments (mob_id, reward_value), looks up mob in STL map, and pushes reward into its vector. |
| 0x00A7EBF0 | 123 | lua_CMapObjTree__AddObjString | Lua callback that finds/inserts map object by ID and appends a std::string to its string vector at offset 0x38, reallocating if needed. |
| 0x00A7FA30 | 305 | lua_CMapObjTree__SetObjScale | Lua callback that sets scale value (+0x88 offset) for map object via CMapObjTree::FindOrInsert, returns bool and message. |
| 0x00A7FD20 | 306 | lua_CMapObjTree__SetObjVisible | Lua callback that sets visibility flag (offset +0x84) for map object by ID via CMapObjTree::FindOrInsert, returns bool+message |
| 0x00A7FE60 | 305 | lua_CMapObjTree__SetObjRotation | Lua binding for CMapObjTree::SetObjRotation - validates 2 number args, finds/inserts object, sets rotation at offset +0x8c, returns bool+message |
| 0x00A9A6E0 | 238 | CLuaManager__AddVectorEntry | Adds a vector entry to CLuaManager's vector at offset 0x80, copying two strings into a 0x30-byte struct |
| 0x00A9A7D0 | 752 | CLua__CallScriptFunction | Invokes Lua script functions with marshalling of typed arguments (bool/int/double/string) and return values via format string parsing. |
| 0x00A9ABC0 | 786 | CLua__CallScriptMethod | Calls a Lua method on a table object, pushing table/function name and arguments per format string, handling return values. |
| 0x00A9B000 | 98 | lua_show_error_msgbox | Displays formatted Lua runtime error message in a MessageBox dialog with vsnprintf formatting. |
| 0x00A9B070 | 85 | CLua__GetGlobalBool | Retrieves a boolean value from a Lua global variable, validating type and returning false if invalid or Lua state is null. |
| 0x00A9B0D0 | 102 | CLua__GetGlobalInt | Retrieves integer value from Lua global variable; returns -1 if not numeric, 0 if Lua state invalid. |
| 0x00A9B140 | 245 | CLua__GetGlobalString | Retrieves a string value from Lua global variable and copies it to output std::string, returns empty string if Lua state null or type mismatch. |
| 0x00A9B2C0 | 57 | CLua__GetGlobalTable | Retrieves a global Lua table by name; returns 1 if table exists, 0 otherwise. |
| 0x00A9B300 | 786 | CLua__GetGlobalSortedList | Retrieves a Lua global table, builds linked list from entries, merge-sorts by 3rd field, returns sorted list. |
| 0x00A9B660 | 429 | CLua__GetGlobalTypedValue | Retrieves a typed global value from Lua table; converts type index to format char ('d'/'s'/'l') and extracts value |
| 0x00A9B810 | 514 | CLua__GetGlobalTypedString | Retrieves a typed string from Lua global table, converting based on type index (0=double, 1=string, 2=long) |
| 0x00A9BA20 | 104 | CLua__GetTableField | Retrieves a field from Lua table using numeric or string key; returns 1 if result is table, else type bitmask. |
| 0x00A9BA90 | 255 | CLua__PushAndGetArgs | Pushes Lua value to stack and retrieves typed return value; format string controls push/get types (d=int, s=string, l=double) |
| 0x00A9BB90 | 67 | CLua__LoadAndExecuteBuffer | Loads and executes Lua bytecode buffer via luaL_loadbuffer and lua_pcall, returning execution status. |
| 0x00A9BBE0 | 26 | CLua__FreeState | Safely frees a Lua state/thread by calling luaE_freethread and nullifying the pointer to prevent use-after-free. |
| 0x00A9BC00 | 54 | CLua__ResetState | Destroys existing Lua state and creates a new one, registering builtins and script bindings for RO client scripting. |
| 0x00A9BC40 | 67 | CLua__CreateThread | Creates new Lua thread from state, stores registry reference, returns thread pointer or 0 on failure. |
| 0x00A9BC90 | 327 | CLua__DoString | CLua::DoString executes a Lua script string by computing its length and passing it to Lua's string execution handler. |
| 0x00A9C2E0 | 800 | CLua__RegisterScriptBindings | Registers Lua C bindings for UI, effects, skills, items, and game mechanics to expose C functions to Lua scripts. |
| 0x00A9C600 | 131 | lua_c_ChangeDirectoryOfDatas | Lua binding that retrieves a string argument from the Lua stack and assigns it to a global std::string for the game data directory path. |
| 0x00A9CA00 | 126 | lua_c_GetRGBColor | Lua callback converting RGB color components to packed integer with base offset for client color codes. |
| 0x00A9CB80 | 161 | lua_c_AddNeedSkillList | Lua binding that adds a prerequisite skill requirement to a skill's dependency list via CSkillTreeMgr. |
| 0x00A9CC30 | 327 | lua_c_AddSkillList | Lua callback that validates skill name against hardcoded string, then creates and adds skill entry with ID, level, and numeric parameters. |
| 0x00A9CD80 | 201 | lua_c_GetCmdOnOffValue | Lua binding that retrieves on/off command setting value, lazily initializes COptionConfig singleton, returns boolean or special value |
| 0x00A9CE50 | 282 | lua_c_SetCmdOnOffList | Lua callback that registers command on/off states into COptionConfig, storing string-ID pairs in global list at DAT_015ff680. |
| 0x00A9CF70 | 166 | lua_SetSubChatWndList | Lua callback that adds a string to sub-chat window list if count < 10, used for chat window tab configuration. |
| 0x00A9D460 | 131 | lua_SetSubChatWndOption | Lua binding that retrieves a string argument from Lua stack and assigns it to a sub-chat window option storage buffer via std::string assignment. |
| 0x00A9D610 | 122 | lua_TraceValue | Lua binding that extracts a string argument from Lua stack and stores it in a std::string for debug tracing/logging purposes. |
| 0x00A9D720 | 123 | lua_add_cashshop_banner2 | Lua binding that retrieves a string parameter from Lua and assigns it to a std::string for a secondary cashshop banner image path. |
| 0x00A9D940 | 123 | lua_add_cashshop_banner | Lua binding that retrieves a cash shop banner image path string and assigns it to an internal std::string storage. |
| 0x00A9DB60 | 131 | lua_add_checkAttendance_banner | Lua binding that retrieves and stores an image path string for the attendance check UI banner. |
| 0x00A9DD90 | 82 | lua_add_ingredient | Lua callback that validates crafting window (0x122) exists, then adds ingredient to recipe via CVendingItemList. |
| 0x00A9DDF0 | 62 | lua_add_ingredient_lapine_upgrade_box | Lua callback that adds an item to the Lapine upgrade box ingredient list after validating UI window 0x12e exists. |
| 0x00A9DEF0 | 102 | CLua__UnorderedMapNodeFree | Frees a CLua unordered_map node by clearing next-pointer, destroying string key, and deallocating 0x24-byte memory block. |
| 0x00A9DF60 | 237 | CLua__UnorderedMapInsert | Inserts key-value pair into unordered_map; allocates 0x24-byte node if key not found, copies hash and string value, throws if bucket limit 0x71c71c7 exceeded. |
| 0x00B17F10 | 968 | lua__SetEffectProperty | Lua binding that modifies effect object properties (position, color, UV, texture) by ID via property type switch. |
| 0x00B18E70 | 707 | lua_SetEffectProperty | Lua binding function that modifies effect properties (position, rotation, color, animation) via CEffectManager lookup by handle. |
| 0x00B3B1B0 | 182 | lua__SetNavigationTarget | Lua binding that sets navigation target from number ID and string destination name parameters |
| 0x00C3C250 | 40 | LuaState__ctor | Initializes a LuaState object by setting vtable, creating a new Lua state via luaL_newstate(), and setting validity flag. |
| 0x00C3C280 | 82 | LuaState__dtor | Destructor for LuaState wrapper class; frees Lua thread and nullifies pointer with stack cookie protection. |
| 0x00C3C2E0 | 100 | LuaState__scalar_dtor | Destructor for LuaState that cleans up thread resources and optionally deallocates the object instance. |
| 0x00C3C350 | 18 | LuaState__reset | Initializes a new Lua state and stores the pointer at offset +4 in the LuaState object. |
| 0x00C3C370 | 28 | LuaState__close | Closes a Lua state by freeing its thread and zeroing the state pointer at offset +4. |
| 0x00C3C390 | 55 | LuaThread__ctor | Initializes a LuaThread object by creating a new Lua coroutine from parent state and setting ownership flag. |
| 0x00C3C3E0 | 39 | LuaThread__scalar_dtor | Destructor for LuaThread scalar type; sets vftable, clears member, conditionally deallocates 12-byte object. |
| 0x00C3C410 | 33 | LuaThread__reset | Creates a new Lua thread from parent state and stores it in the thread object's state field. |
| 0x00D58E30 | 333 | CItemOwner__CallDrawOnTop | Calls Lua "DrawOnTop" or "_New_DrawOnTop" to render item overlays with coordinates and UI state parameters. |
No function here matches that. Search all 43,836 functions instead.