Back to legacygamers.net
WARPGATE

Lua

Lua 5.1.4 complete: C API, VM (luaV_execute), GC, IO, table, undump, luaK_* code gen, luaY_* parser, math/os/package/debug

Functions 849Code 152 KBAddresses 0x00505C40 to 0x00D58E30
849 functions
AddressSizeNameDescription
0x00505C402418CLua__SelectPackageItemDataLua binding that parses JSON package item data, iterates entries, and builds result vectors for cash shop selection.
0x005190F074CLuaState__ConstructorInitializes CLuaState object with Lua VM, registers I/O builtins, and sets panic handler callback.
0x005191A082CLuaState__DestructorCLuaState destructor that frees the associated Lua thread state and clears the pointer.
0x00519270100CLuaState__ScalarDeletingDtorCLuaState scalar deleting destructor that frees Lua thread and conditionally deallocates object if deletion flag set.
0x005192E097CLuaState__ExecuteStringExecutes Lua code string via lua_pcall; displays MessageBox on Lua runtime errors
0x00519370122CLuaState__PanicHandlerLua panic handler that extracts error message from Lua stack and assigns it to std::string before aborting.
0x0051948028CLuaState__CloseCLuaState destructor that frees the Lua thread via luaE_freethread and nullifies the state pointer.
0x005194A082CLuaState__InitInitializes Lua state by creating new VM, registering builtins, setting panic handler, exposing MessageBox function.
0x00519500112CLuaState__LoadFileLoads and executes Lua script file; optionally shows error dialog via MessageBox if execution fails
0x00519570472CLuaState__LoadFileFromGRFLoads Lua script from GRF archive file, executes it via luaL_loadbuffer and lua_pcall, shows error dialog on failure.
0x0051975041CLuaState__SetupPanicHandlerSets Lua panic handler and registers MessageBox global function for error handling in Lua VM.
0x0051978055CLuaState__RegisterBoolAndSetGlobalPushes boolean value to Lua stack and registers it as a named global variable in CLuaState
0x005197C055CLuaState__RegisterFuncAndSetGlobalRegisters a C closure function with Lua and sets it as a named global variable in the Lua state.
0x0051980063CLuaState__PushNumberAndSetGlobalPushes a numeric value onto Lua stack and sets it as a named global variable via lua_setfield.
0x00519840101lua_call_internal_helperPrepares and executes a Lua function call by creating a C closure, pushing arguments onto stack, then invoking luaD_call_protected.
0x005198B024lua_protected_call_wrapperWrapper that invokes protected Lua function call with adjusted result stack positioning via luaD_call_protected.
0x005198D0177lua_index2adrConverts Lua stack index to TValue pointer, handling positive/negative indices and pseudo-indices (-10000/-10001/-10002).
0x0051999038lua_pushvalue_rawCopies a Lua TValue (3 dwords: value, extra, type) to stack top and increments stack pointer by 16 bytes.
0x005199C020lua_swap_allowhookSwaps the allowhook/hookcount field in global_State, returning the previous value for Lua hook management.
0x005199E057lua_callCalls a Lua function with specified argument/result counts, protecting against errors and adjusting stack top for multiple returns.
0x00519A20106lua_checkstackValidates and allocates Lua stack space, ensuring room for 'size' extra slots with 8000-element limit.
0x00519A90117lua_concatConcatenates n values at top of Lua stack; handles n==0 (empty string) and n>=2 cases with garbage collection.
0x00519B1052lua_cpcallCalls a C function in protected mode with error handling via luaD_pcall wrapper.
0x00519B5063lua_createtableCreates a new Lua table with pre-allocated array/hash parts, pushes it onto the Lua stack, triggers GC if needed.
0x00519B9053lua_dumpValidates and dumps Lua function to binary chunk via luaU_dump; returns 1 if not a valid Lua function.
0x00519BD084lua_equalCompares two Lua stack values for equality using Lua equality rules and metamethods, returns 1 if equal.
0x00519C3018lua_errorWrapper that raises a Lua error by passing the top stack value to luaG_errormsg for error handling.
0x00519C50214lua_gcLua garbage collector control interface supporting stop, restart, collect, memory counting, stepping, and pause/stepmul configuration.
0x00519D5040lua_getallocfRetrieves the memory allocator function pointer and userdata from Lua state's global_State structure.
0x00519D80109lua_getfenvPushes environment table of Lua value at index onto stack; handles functions, userdata, and threads differently.
0x00519DF089lua_getfieldRetrieves a table field by string key, creates TString, calls luaV_gettable, and pushes result onto Lua stack.
0x00519E5084lua_getmetatableRetrieves and pushes the metatable of a Lua value at the given stack index; returns 1 if metatable exists, 0 otherwise.
0x00519EB037lua_gettableRetrieves a value from a Lua table at the given index, replacing the top stack value with the result.
0x00519EE017lua_gettopReturns the number of elements on the Lua stack by calculating (top - base) >> 4 from L struct
0x00519F00138lua_getupvalueRetrieves the n-th upvalue of a Lua function at given stack index, pushes it onto stack, returns upvalue name.
0x00519F9080lua_insertMoves top stack element to given index, shifting intermediate elements up to make room (Lua stack manipulation).
0x00519FE042lua_iscfunctionChecks if a Lua value at given stack index is a C function by validating type field equals 6 and isC flag is set.
0x0051A01056lua_isnumberChecks if a Lua value at given index is a number or string convertible to number via luaV_tonumber.
0x0051A05048lua_isstringChecks if Lua value at index is string (type 4) or number (type 3), returns 1 if true else 0
0x0051A08041lua_isuserdataChecks if Lua value at stack index is userdata (full or light type), returns 1 if true
0x0051A0B067lua_lessthanCompares two Lua stack values using Lua ordering rules; returns 1 if idx1 < idx2, else 0.
0x0051A10057lua_loadInitializes Lua parser with reader function and optional chunk name, then executes protected parsing of Lua code chunk.
0x0051A14055lua_newthreadCreates a new Lua coroutine, triggers garbage collection if needed, pushes thread object onto stack with type tag 8.
0x0051A18083lua_newuserdataAllocates and pushes a new Lua userdata object onto the stack, returning pointer to userdata block.
0x0051A1E057lua_nextLua stack manipulation: pops table key, pushes next key-value pair or adjusts stack pointer if iteration complete.
0x0051A22088lua_objlenReturns the length of a Lua value: string length, table element count, or userdata block size based on type.
0x0051A290112lua_pcallWrapper for Lua's protected function call that sets up error handler and adjusts stack before invoking luaD_pcall
0x0051A30032lua_pushbooleanPushes a boolean value onto the Lua stack at the current top, incrementing stack pointer by 16 bytes.
0x0051A320171lua_pushcclosureCreates a Lua C closure with n upvalues from stack, assigns C function pointer, pushes result onto stack.
0x0051A3D046lua_pushfstringPushes formatted string onto Lua stack after triggering garbage collection check if needed.
0x0051A40035lua_pushintegerPushes an integer onto Lua stack as double (type 3), increments stack pointer by 16 bytes
0x0051A43027lua_pushlightuserdataPushes a light userdata pointer onto Lua stack at current position, increments stack top by 16 bytes
0x0051A45063lua_pushlstringPushes a length-specified Lua string onto the stack, interning it and triggering garbage collection if needed.
0x0051A49022lua_pushnilPushes a nil value onto the Lua stack by writing type 0 and advancing the stack pointer by 16 bytes.
0x0051A4B031lua_pushnumberPushes a double value onto the Lua stack as LUA_TNUMBER type, incrementing stack pointer by 16 bytes.
0x0051A4D0103lua_pushstringPushes a C string onto Lua stack as interned TString, or nil if input is NULL
0x0051A54035lua_pushthreadPushes Lua thread onto stack, returns true if L is main thread; manipulates stack pointer and type field.
0x0051A57047lua_pushvaluePushes a copy of the Lua stack element at given index onto top of stack, incrementing stack pointer by 16 bytes.
0x0051A5A045lua_pushvfstringPerforms garbage collection step if needed, then pushes formatted string onto Lua stack
0x0051A5D064lua_rawequalCompares two Lua stack values for raw equality without invoking metamethods; returns 1 if equal, 0 otherwise.
0x0051A61056lua_rawgetPerforms raw table lookup in Lua without invoking metamethods; retrieves value and pushes result onto stack.
0x0051A65057lua_rawgetiPushes value from table at stack index onto stack using raw integer key lookup without invoking metamethods.
0x0051A690111lua_rawsetSets raw table key-value pair without metamethods, handles GC write barrier for table objects in Lua state.
0x0051A700110lua_rawsetiSets a raw table value by integer index, handles Lua stack popping and GC write barrier for table assignments.
0x0051A77068lua_removeRemoves element at stack index, shifts upper elements down, decreases stack top by 1
0x0051A7C0212lua_replacePops stack top value and replaces element at index, with GC barrier for upvalue/environment updates
0x0051A8A026lua_setallocfSets custom memory allocator function and userdata pointer in Lua state's global_State structure.
0x0051A8C0129lua_setfenvSets environment table for Lua functions/userdata/threads; pops table from stack and assigns to target object's environment.
0x0051A95093lua_setfieldSets a Lua table field by key (C string), storing the stack top value and popping it via luaV_settable
0x0051A9B019lua_setlevelCopies nCcalls field (offset 0x34) from source to destination Lua thread structure for execution transfer.
0x0051A9D0169lua_setmetatableSets metatable for Lua value at index by popping table from stack; handles tables, userdata, and type-wide metatables with GC barriers.
0x0051AA8044lua_settableSets table element at index by calling luaV_settable with key and value from stack, then pops both.
0x0051AAB079lua_settopSets Lua stack top position; grows stack with nil values if index >= 0, or pops elements if index < 0.
0x0051AB00213lua_setupvalueSets the n-th upvalue of a Lua function at given stack index from top-of-stack value, with GC write barrier.
0x0051ABE012lua_statusReturns the status byte of a Lua thread (0=normal, 1=yielded).
0x0051ABF045lua_tobooleanConverts Lua stack value at index to C boolean; returns 1 for truthy values, 0 for nil/false.
0x0051AC2040lua_tocfunctionRetrieves C function pointer from Lua stack at given index; returns NULL if value is not a C function
0x0051AC5069lua_tointegerConverts Lua stack value at index to integer, attempting type coercion via luaV_tonumber if needed.
0x0051ACA0115lua_tolstringConverts Lua value at stack index to C string, returning pointer and optionally setting length; converts numbers in-place, returns NULL for incompatible types.
0x0051AD2055lua_tonumberConverts Lua stack value at index to double; returns 0.0 if conversion fails or value is not numeric.
0x0051AD6084lua_topointerExtracts generic pointer from Lua value at given stack index; returns userdata+0x18, GCObject ptr for tables/functions, or 0.
0x0051ADD031lua_tothreadExtracts and returns a Lua thread (coroutine) pointer from stack index if type matches, else NULL.
0x0051ADF045lua_touserdataExtracts userdata pointer from Lua stack: returns light userdata directly or full userdata payload offset by header size.
0x0051AE2034lua_typeReturns the Lua type of a value at the given stack index, or -1 if index is invalid.
0x0051AE5027lua_typenameReturns Lua type name string for a given type constant; handles LUA_TNONE (-1) as special case.
0x0051AE7090lua_xmoveMoves n values between Lua thread stacks by popping from source and pushing to destination thread.
0x0051AED0106luaL_prepbuffer_flushFlushes luaL_Buffer by concatenating accumulated strings when buffer level exceeds threshold, optimizing batching.
0x0051AF4073luaL_fileresult_errorLua aux library function that formats and pushes a file operation error message with errno description, then removes the value at the specified stack index.
0x0051AF9036get_and_print_json_allocatorRetrieves global JSON allocator and prints formatted output via stdio, likely for debug/logging purposes.
0x0051AFC097lua_file_readerLua reader callback that yields file chunks (512 bytes) with skip marker on first call; returns NULL at EOF.
0x0051B03033luaL_loadstring_readerLua reader callback that returns buffer contents on first call, NULL on subsequent calls for script loading
0x0051B06041lua_default_allocLua memory allocator that frees memory when size is 0, otherwise reallocates to requested size
0x0051B090105luaL_addlstringAdds a string of specified length to a Lua buffer, flushing to stack when internal buffer reaches capacity.
0x0051B10041luaL_addstringCalculates length of null-terminated string and adds it to Lua buffer via luaL_addlstring wrapper.
0x0051B130128luaL_addvalueAdds Lua string value to buffer, flushing to stack if insufficient space remains in internal buffer.
0x0051B1B0235luaL_argerrorRaises formatted Lua argument errors, adjusting for method calls by decrementing arg index if function is a method.
0x0051B2A026luaL_buffinitInitializes a Lua buffer structure by setting the Lua state pointer, buffer position, and level counter to zero.
0x0051B2C0136luaL_callmetaLua API function that retrieves and invokes a metamethod from an object's metatable if it exists
0x0051B35043luaL_checkanyValidates that a Lua argument exists at the specified stack index, raising error if absent.
0x0051B380101luaL_checkintegerValidates Lua stack argument is numeric, converts to integer, raises type error if conversion fails
0x0051B3F089luaL_checklstringValidates Lua argument is a string, returns it with length; raises type error if not string.
0x0051B450124luaL_checknumberValidates and converts a Lua stack argument to a number, raising a type error if conversion fails.
0x0051B4D0156luaL_checkoptionValidates Lua argument against list of valid string options, returns index or raises error if invalid option provided.
0x0051B57036luaL_checkstackValidates Lua stack has sufficient space; raises error if lua_checkstack fails
0x0051B5A081luaL_checktypeValidates Lua argument type, raising "TYPE expected, got ACTUAL" error on mismatch.
0x0051B600138luaL_checkudataValidates that a Lua stack argument is userdata with a matching metatable, raising a type error if validation fails.
0x0051B690146luaL_errorRaises a Lua error with formatted message, prepending file:line debug info if available before calling lua_error.
0x0051B730224luaL_findtableTraverses dot-separated Lua table path, creating intermediate tables as needed; returns NULL on success or problematic key on failure.
0x0051B81090luaL_getmetafieldRetrieves and pushes a metafield from an object's metatable in Lua stack, returns 1 if found else 0.
0x0051B870365luaL_gsubLua string global substitution: replaces all occurrences of pattern in string using luaL_Buffer, pushes result onto Lua stack
0x0051B9E045luaL_loadbufferLoads Lua chunk from buffer using luaL_loadstring_reader callback and lua_load for script execution.
0x0051BA10567luaL_loadfileLoads and parses Lua scripts from files, handling shebangs, binary chunks, and stdin with error reporting.
0x0051BC5057luaL_loadstringLoads a null-terminated Lua string as a chunk, using string pointer as reader state for lua_load.
0x0051BC9092luaL_newmetatableCreates new Lua metatable in registry by name; returns 1 if created, 0 if already exists
0x0051BCF040luaL_newstateCreates new Lua state with default allocator and sets panic handler for error recovery
0x0051BD20281luaL_registerRegisters a Lua library by creating module table and registering functions as closures with upvalues
0x0051BE40129luaL_optintegerLua API wrapper that retrieves an optional integer argument, returning default if absent or validating/converting if present.
0x0051BED092luaL_optlstringReturns Lua string argument or default; computes length if pointer provided, matches Lua C API luaL_optlstring
0x0051BF30162luaL_optnumberRetrieves optional Lua number argument with default value; validates type and raises error if non-number provided.
0x0051BFE050luaL_prepbufferFlushes buffered content to Lua stack and returns pointer to internal buffer for writing.
0x0051C02064luaL_pushresultFlushes buffer remainder and concatenates all buffer segments into single Lua string on stack
0x0051C060173luaL_refCreates a reference for a Lua stack value in a table, reusing freed slots or appending new ones, returns reference ID.
0x0051C110224luaI_openlibRegisters a Lua library module by creating tables in _LOADED and globals, then populating with C functions from luaL_Reg array.
0x0051C1F054luaL_typerrorRaises a Lua type error with formatted message showing expected vs actual type using luaL_argerror
0x0051C23085luaL_unrefReleases a Lua reference by returning its slot to the freelist in the reference table at index t[0].
0x0051C290130luaL_wherePushes formatted "source:line: " debug location string onto Lua stack for error reporting at specified call level.
0x0051C32048ragnarok_lua_panic_handlerLua panic handler for RO client that logs unprotected API errors to stderr and triggers allocator diagnostics
0x0051C350207luaB_printLua base library print function that converts arguments to strings via tostring() and outputs them tab-separated to stdout
0x0051C420275luaB_tonumberLua base library tonumber() - converts values to numbers with optional base (2-36) support, base 10 uses lua_tonumber, others use strtoul
0x0051C54086luaB_errorLua base library error function that raises errors with optional stack level and prepends location info for string errors.
0x0051C5A071luaB_getmetatableLua base library function that retrieves and returns a table's metatable or __metatable field, or nil if none exists.
0x0051C5F0118luaB_setmetatableLua base library function that sets a metatable on a table, with protection against overwriting __metatable fields.
0x0051C67071luaB_getfenvLua base library function that retrieves the environment table of a function, or global table for C functions.
0x0051C6C0170luaB_setfenvLua base library function that sets the environment table for a function or thread, with error handling for incompatible objects.
0x0051C77051luaB_rawequalLua binding function that checks raw equality of two values without invoking metamethods, returns boolean result.
0x0051C7B052luaB_rawgetLua binding that performs raw table lookup without metamethods; validates table at arg 1, gets value at arg 2.
0x0051C7F060luaB_rawsetLua binding that performs raw table assignment without invoking metamethods; validates table and key/value arguments.
0x0051C83034luaB_gcinfoLua base library function that queries garbage collector memory usage and returns count in KB to Lua stack.
0x0051C860195luaB_collectgarbageLua collectgarbage() binding; dispatches GC operations (stop/restart/collect/count/step/setpause/setstepmul) with appropriate return values.
0x0051C93048luaB_typeLua binding that returns the type name of a value at stack position 1 as a string
0x0051C96065luaB_nextLua binding for table iteration; validates table at index 1, advances iterator via lua_next, returns key-value pair or nil
0x0051C9B091luaB_loadstringLoads Lua code from a string buffer; returns function on success or nil+error on failure.
0x0051CA1066luaB_loadfileLua library function that loads a Lua file and returns 1 on success or pushes nil+error on failure
0x0051CA6099luaB_loadLua API wrapper that loads Lua code from a reader function, returning compiled chunk or error with traceback.
0x0051CAD080luaB_dofileLoads and executes a Lua file, returning the number of return values pushed onto the Lua stack.
0x0051CB2074luaB_assertLua assertion function that validates first argument is truthy, returns all stack values or errors with optional message.
0x0051CB70176luaB_unpackLua library function that unpacks table elements into multiple return values with bounds checking and stack validation.
0x0051CC20129luaB_selectLua select() function implementation - returns count of arguments from index onward, supports '#' operator for argument count.
0x0051CCB073luaB_pcallWraps lua_pcall with error handling, pushing success boolean result to stack before function return value.
0x0051CD0077luaB_xpcallLua xpcall implementation: executes function with error handler, returns success boolean and results.
0x0051CD50227luaB_tostringLua base library tostring function that converts values to strings, checking __tostring metamethod first, then handling nil/bool/number/string/table types.
0x0051CE5074luaB_costatusLua binding function that retrieves and returns the status string of a coroutine object.
0x0051CEA0123luaB_coresumeResumes a Lua coroutine with arguments, returning success status and results or error.
0x0051CF2092luaB_cocreateCreates a new Lua coroutine thread from a function argument, validating it's a Lua function not a C function.
0x0051CF80105luaB_cowrapLua coroutine.wrap() implementation - creates thread, validates function arg, returns wrapped resume closure
0x0051CFF025luaB_yieldYields current Lua coroutine, returning all stack arguments to resume caller
0x0051D01036luaB_corunningLua coroutine library binding that returns the currently running coroutine or nil if in main thread
0x0051D040208lua_auxresumeResumes a Lua coroutine by validating state, transferring arguments, executing lua_resume, and returning results to caller state.
0x0051D110158lua_costatusDetermines Lua coroutine status: running (0), suspended (1), normal (2), or dead (3) by examining thread state and stack.
0x0051D1B0126lua_generic_readerGeneric Lua reader callback that retrieves string data from reader function for luaB_load compilation, returns string pointer and length.
0x0051D230210luaB_getfuncRetrieves Lua function at specified stack level for debug operations, validating level and extracting function environment.
0x0051D31067luaB_ipairsauxLua ipairs iterator: increments index, retrieves next table element via rawgeti, returns index+value or 0 if nil
0x0051D360101luaB_auxwrapResumes a wrapped Lua coroutine, prepending error location info before propagating exceptions via lua_error.
0x0051D3D055luaB_ipairsLua base library function returning ipairs iterator, table, and zero as initial index after type validation
0x0051D410216luaB_newproxyCreates Lua userdata proxy with optional metatable; supports weak references and metatable copying from existing proxies.
0x0051D4F053luaB_pairsLua base library pairs() iterator - returns next function, table, and nil as initial key after type check
0x0051D530274luaopen_baseInitializes Lua 5.1 base library with standard functions, iterator closures, newproxy, and coroutine sublibrary.
0x0051D650233luaK_addkAdds a constant value to Lua prototype's constant table, avoiding duplicates via hash table, returns constant index.
0x0051D740477lua_codearithLua compiler constant-folding for arithmetic operations; evaluates binary ops at compile time when both operands are numeric constants.
0x0051D950217luaK_codecompEmits Lua comparison instruction (EQ/LT/LE) with operand resolution, register management, and conditional jump concatenation.
0x0051DA3093luaK_codeABC_testJmpEmits ABC-format Lua instruction with conditional jump; chains jump list for test operations.
0x0051DA9085luaK_exp2nextregAllocates next free register for Lua expression, updates max stack size, then discharges expression to that register.
0x0051DAF0475luaK_exp2regLua code generator: discharges expression into target register, handling all expression types (nil, bool, constant, number, upvalue, indexed, relocation).
0x0051DD00288luaK_exp2reg_dischargeDischarges conditional jump expressions to register by emitting LOADBOOL instructions and patching true/false jump targets in Lua bytecode.
0x0051DE2038luaK_freeregFrees a register in Lua code generator if expression is non-constant and register index >= nactvar
0x0051DE5080luaK_invertjumpInverts a conditional test instruction by toggling the A operand (bit 6) between 0 and 1 in Lua bytecode.
0x0051DEA0249luaK_goiftrueGenerates conditional jump code for true expressions; handles NOT optimization, registers allocation, and TESTSET instruction for control flow.
0x0051DFA057luaK_reserveregsReserves n registers in Lua code generator, updating freereg and enforcing 250-register limit with error on overflow.
0x0051DFE0162luaK_codeEmits a Lua instruction into code array, patches jumps, grows code/lineinfo arrays as needed.
0x0051E09045luaK_codeABCEncodes ABC-format Lua instruction (opcode, A, B, C fields) into 32-bit word and emits via luaK_code
0x0051E0C039luaK_codeABxEncodes and emits an ABx-format Lua instruction (opcode + A + Bx fields) for code generation
0x0051E0F0132luaK_concatConcatenates two Lua jump instruction lists by patching the tail of list1 to redirect to list2's start.
0x0051E180290luaK_dischargevarsDischarges Lua variable references (locals, upvalues, globals, indexed) into instruction form for code generation.
0x0051E2D0344luaK_exp2RKConverts Lua expression to RK (register/constant) form, storing constants or discharging to registers for code generation.
0x0051E44080luaK_exp2anyregEnsures Lua expression is in a register, reusing existing register if valid or allocating new one via discharge.
0x0051E490117luaK_exp2nextreg_fullDischarges Lua expression to next available register with register allocation and jump patching for code generation.
0x0051E51097luaK_exp2valConverts Lua expression to value by discharging variables and allocating register if jumps exist.
0x0051E58023luaK_fixlineUpdates the line number metadata for the previously emitted Lua instruction in the code generator's instruction buffer.
0x0051E5A014luaK_setline_to_lastlineSynchronizes current line number with last recorded line in Lua code generator state structure.
0x0051E5B0122luaK_goiffalseLua code generator: emits conditional jump code when expression evaluates false, handles constants and VJMP inversions.
0x0051E65031luaK_indexedSets up indexed table access expression by converting key to RK form and marking expression type as VINDEXED (9).
0x0051E670461lua_leaveblockLua compiler: closes block scope, handles break/continue lists and patches jump targets for while/for loops
0x0051E88059luaK_jumpEmits unconditional JMP instruction, manages jump list concatenation, returns instruction index for Lua code generation.
0x0051E8C0150luaK_nilLua code generator that emits LOADNIL instructions to set register ranges to nil, merging contiguous operations.
0x0051E96043luaK_numberKWraps a numeric value in a TValue with LUA_TNUMBER type tag and adds it to the Lua constant table via luaK_addk.
0x0051E99058luaK_patchtoherePatches jump list to current code position; concatenates with pending jumps if on same line, else patches directly.
0x0051E9D030luaK_patchclosePatches a jump instruction by copying lastline to current line, then concatenates with pending jump list
0x0051E9F04205luaK_posfixLua code generator for postfix binary operators with constant folding; processes arithmetic/comparison/logical ops and generates optimized bytecode instructions.
0x0051FC20468luaK_prefixLua code generator for prefix unary operators (negation, logical NOT, length); handles compile-time optimization and bytecode emission.
0x0051FE2064luaK_checkstackUpdates Lua code generator stack usage, tracks max stack size, errors if registers exceed 249 limit.
0x0051FE6044luaK_codeABx_returnEmits Lua OP_RETURN instruction (opcode 0x1e) with register A and B encoding nresults+1 via ABx format.
0x0051FE90236luaK_selfEmits OP_SELF (0xB) opcode for Lua method calls (obj:method()), managing register allocation and converting keys to RK format.
0x0051FF80130luaK_setlistEmits OP_SETLIST instruction for Lua table constructors, calculating chunk count and handling extra args for large tables.
0x0052001085luaK_setoneretAdjusts Lua expression to return exactly one result; handles VCALL and VVARARG instruction types.
0x00520070165luaK_setmultretAdjusts VCALL/VVARARG expressions for multiple return values, patching instruction fields and managing register allocation.
0x00520120218luaK_storevarLua code generator that emits assignment instructions for variables (local, upval, global, indexed) and manages register allocation.
0x0052021039luaK_stringKWraps a string constant in a TValue with LUA_TSTRING type tag and adds it to the Lua constant table.
0x0052024091luaK_hasjumpsWalks jump chain in Lua bytecode to detect conditional jumps (non-OP_JMP instructions) in code generation.
0x005202A0163luaK_patchlistauxLua 5.1 internal: luaK patchlistaux
0x00520350143luaK_patchtestregPatches test instruction register in Lua bytecode; converts TESTSET to TEST or updates target register A based on parameter.
0x005203E0124luaK_removevaluesRemoves TESTSET instructions from Lua jump chain by converting them to TEST (no assignment), patching conditional tests in bytecode.
0x0052046026luaB_db_getregistryPushes Lua registry table onto stack; implements debug.getregistry() for Ragnarok client scripting
0x0052048047luaB_db_getmetatableLua debug library function that retrieves and returns the metatable of an object, bypassing __metatable metamethod.
0x005204B077luaB_db_setmetatableLua debug library function that sets an object's metatable, bypassing __metatable metamethod, returns success boolean.
0x0052050033luaB_db_getfenvLua debug library wrapper that retrieves and returns the environment table of a given Lua object.
0x0052053062luaB_db_setfenvLua debug library function that sets the environment/fenv table for a given object, validating the table argument and raising error if operation fails.
0x00520570662luaB_db_getinfoLua debug.getinfo() binding that retrieves function/stack frame metadata (source, line, name, upvalues) into a Lua table
0x00520810248luaB_db_getlocalLua debug.getlocal() binding - retrieves name and value of local variable at stack level with optional thread parameter
0x00520910231luaB_db_setlocalLua debug.setlocal wrapper that sets a local variable at specified stack level, supporting optional thread parameter.
0x00520A0092luaB_db_getupvalueLua debug library wrapper that retrieves upvalue name and value from Lua functions, returning pair or nothing for C functions.
0x00520A60100luaB_db_setupvalueLua debug library wrapper that sets an upvalue of a Lua function at specified index, returning upvalue name or 0
0x00520AD0295luaB_db_sethookLua debug library wrapper that sets a debug hook with call/return/line event masks and optional instruction count limit.
0x00520C00228luaB_db_gethookLua debug.gethook() wrapper - returns current hook function, mask string (c/r/l), and hook count for optional thread parameter
0x00520CF0313luaB_db_debugInteractive Lua debug console that reads commands from stdin, executes them via luaL_loadbuffer/lua_pcall, exits on "cont"
0x00520E30585luaB_db_tracebackLua debug.traceback() implementation - formats stack trace with source/line info, handles thread/message/level parameters
0x0052108099luaD_gethooktableRetrieves or creates Lua registry table for storing debug hook functions per thread.
0x005210F0141luaD_hookcallbackInvokes registered Lua debug hook with event name and optional line number; handles hook table lookup and function dispatch.
0x0052118031luaopen_debugInitializes and registers Lua debug library functions in the provided Lua state
0x005211A079luaD_setfield_xmoveSets a field on a Lua table, handling cross-thread value moves via lua_xmove when threads differ.
0x005211F0592luaG_getinfoLua debug info retrieval - populates lua_Debug struct with source, line, name, upvalues based on 'what' flags
0x0052149094luaG_checkopenopValidates Lua operand types (nil/register/RK) against function's register and constant limits for bytecode verification.
0x005214F083luaG_currentlineRetrieves the current line number from a Lua function's debug info by computing PC offset into the lineinfo array.
0x0052155075luaG_currentpcCalculates the current instruction offset (program counter) within a Lua function's code array for a given call frame.
0x005215A0130luaG_findlocalFinds local variable name at given index in call frame; returns "(*temporary)" for unnamed temps or NULL if not found.
0x00521630301luaG_getobjnameRetrieves object name and category (local/global/upvalue/field/method) at register index in Lua call frame.
0x0052179050luaG_knameGets string name of a constant from Lua prototype's constant table; returns string value or '?' if non-string type.
0x005217D048luaG_aritherrorRaises Lua arithmetic error by validating operand type, then reporting type error with 'perform arithmetic on' message.
0x0052180031luaG_checkcodeValidates Lua prototype bytecode by checking against max PC and wildcard register 0xFF.
0x0052182052lua_isCallReturningInstructionChecks if a Lua opcode is a call/return/setlist instruction with valid operand encoding.
0x0052187038luaG_concaterrorRaises a Lua concatenation type error by delegating to luaG_typeerror for error reporting.
0x005218A0140luaG_errormsgDelivers Lua error messages by invoking the error handler function if set, then throws exception code 2
0x0052193080luaG_ordererrorRaises Lua runtime error when attempting to compare incomparable types, reporting type mismatch details.
0x00521980282luaG_runerrorRaises Lua runtime error with formatted source file and line number, invoking error handler if registered.
0x00521AA0138luaG_typeerrorRaises Lua type error with attempt message, trying to resolve variable name via luaG_getobjname for better diagnostics
0x00521B3011lua_gethookRetrieves the hook function pointer from a lua_State structure at offset 0x44.
0x00521B4011lua_gethookcountRetrieves the hook count value from a Lua state structure at offset 0x3c.
0x00521B5012lua_gethookmaskRetrieves the hook event mask byte from lua_State structure at offset 0x38 (call/return/line/count events).
0x00521B60319lua_getinfoLua C API wrapper that retrieves debug info about a function, optionally pushing function object or line table onto stack.
0x00521CA077lua_getlocalRetrieves local variable name and value from Lua debug activation record, pushes value onto stack
0x00521CF0119lua_getstackLua C API implementation that retrieves call stack information at a given level, handling tail calls and populating debug info structure.
0x00521D7046lua_sethookSets Lua debug hook function with event mask and call count on lua_State; clears hook if func or mask is zero.
0x00521DA091lua_setlocalSets a local variable in Lua debug context by copying value from stack top to local variable slot.
0x00521E001194luaG_checkcode_fullValidates Lua bytecode prototype: checks opcode validity, operand ranges, register usage, and returns last instruction assigning to target register.
0x00522330352luaD_adjustvarargsAdjusts Lua stack for vararg functions: fills missing args with nil, creates vararg table with 'n' field, repositions fixed arguments.
0x00522490213luaD_protectedparserParses Lua source/bytecode into closure, handles garbage collection, initializes upvalues, manages stack allocation.
0x0052257073luaD_growCIGrows Lua call info stack by doubling size; throws "stack overflow" error if exceeds 20000 or hard limit 0x4E21.
0x005225C0130luaD_call_protectedProtected Lua function call wrapper that manages C stack depth, executes Lua functions, and triggers garbage collection steps.
0x00522650220luaD_growstackLua VM stack growth handler: expands stack when needed, invokes callback, maintains minimum 0x140 byte buffer
0x0052273039luaD_growstack_hintGrows Lua VM stack by doubling capacity or adding hint value, whichever is larger, then reallocates.
0x00522760199luaD_pcallLua VM protected call wrapper: executes function with error handling, restores state on exception, manages callinfo stack.
0x00522830236luaD_poscallLua VM post-call cleanup: pops callinfo, relocates return values to caller's stack frame, pads with nils.
0x00522920632Lua__CallFunctionLua VM function call dispatcher: handles metamethod lookup, stack management, and executes C or Lua functions with proper call frame setup.
0x00522BA0240luaD_callFunctionExecutes Lua function call with error handling, state preservation, and call stack management for RO script engine.
0x00522C90136luaD_rawrunprotectedExecutes Lua function with setjmp-based exception handling; manages error recovery context stack frame.
0x00522D20121luaD_reallocCIReallocates Lua VM CallInfo stack with bounds checking; updates pointers to base, current, and end positions.
0x00522DA0199luaD_reallocstackReallocates Lua VM stack, adjusts all pointers (upvalues, call frames) to new base address with 0x10-byte TValue alignment.
0x00522E70103luaD_seterrorobjSets error object on Lua stack; handles error cases (stack copy, OOM, error handling failure) for Lua VM exception management.
0x00522EF077luaD_throwLua VM error handler: throws exception via longjmp to error handler or calls panic function and exits
0x00522F40233lua_resumeResumes a Lua coroutine with validation; manages C stack depth, coroutine state, and error handling with stack reallocation.
0x0052303055lua_yieldYields Lua coroutine after validating yield boundary, sets state flag and adjusts stack base by param_2 slots.
0x00523070123luaD_resetstackResets Lua VM state: restores CI stack, closes upvalues, sets error object, trims CI if needed, clears error handler chain.
0x005230F0123luaD_resume_helperResumes Lua coroutine execution: initializes fresh coroutine or resumes from yield, then executes VM instructions.
0x00523170374luaU_dump_stackSerializes Lua stack values to binary format via writer callback, handling booleans, numbers, strings, and functions.
0x005232F0536luaU_dump_debugSerializes Lua function debug information (source, line info, local/upvalue names) via writer callback
0x00523510336luaU_dump_functionSerializes a Lua function prototype by writing source string, line info, parameters, vararg flags, stack size, instructions, constants, nested prototypes, and debug data.
0x00523660131luaU_dump_stringSerializes a Lua string value with length prefix; writes 0 for NULL strings, otherwise writes length+1 followed by string data via write callback.
0x005236F0123luaU_dumpSerializes a compiled Lua chunk by writing header and function prototypes via callback function.
0x00523770165luaF_closeCloses Lua upvalues at or above a stack level, migrating open upvalues to closed state or freeing dead ones.
0x00523820152luaF_findupvalFinds or creates a Lua upvalue for a stack slot, managing open upvalue list with GC marking.
0x005238C063luaF_freeclosureFrees Lua closure object by deallocating memory based on closure type (C or Lua) and upvalue count.
0x00523900143luaF_freeprotoFrees all allocated memory arrays in a Lua function prototype structure (code, constants, nested protos, lineinfo, local vars, upvalues).
0x0052399050luaF_freeupvalFrees a Lua UpVal by unlinking from doubly-linked list if open, then deallocating 0x20 bytes
0x005239D075luaF_getlocalnameRetrieves the name of the nth local variable active at instruction pointer param_3 from Lua Proto debug info.
0x00523A2064luaF_newCclosureAllocates and initializes a new Lua C closure object with specified upvalue count and C function pointer.
0x00523A6088luaF_newLclosureAllocates and initializes a new Lua closure object with specified number of upvalues, clearing upvalue pointers.
0x00523AC0151luaF_newprotoAllocates and initializes a new Lua function prototype structure (0x4c bytes, type 9) in garbage collector.
0x00523B6052luaF_newupvalAllocates and initializes a Lua upvalue structure (0x20 bytes), linking it to GC with type 10, storing value ptr at +0x10.
0x00523BA0217luaC_step_finalizerExecutes one Lua garbage collection finalizer: unlinks object from finalize list, relinks to allgc, calls __gc metamethod if available.
0x00523C80616Lua__GC_FullCycleExecutes a complete Lua garbage collection cycle: marks reachable objects, sweeps unreachable ones, handles weak references and finalizers.
0x00523EF027luaC_fix_objectPins a Lua object to prevent garbage collection by clearing mark bit and linking to fixed GC list.
0x00523F1050luaC_barrierLua GC write barrier: marks object during propagate phase or resets parent's color bits to match GC state.
0x00523F50246luaC_callAllFinalizersProcesses Lua garbage collection finalizers by iterating finalize list, invoking __gc metamethods via protected calls.
0x00524050331luaC_sweeplist_partialLua garbage collector: sweeps hash table buckets incrementally, marking/freeing dead objects and updating GC color bits.
0x005241C0133luaC_fullgcExecutes a full Lua garbage collection cycle, resetting GC state and running all phases until completion.
0x0052425037luaC_linkLinks a new Lua GC object into the allgc list, setting its color to current white and object type tag.
0x00524280116luaC_linkupvalLinks upvalue to GC allgc list and marks it gray during propagate phase or resets to current white.
0x00524300164luaC_separateudataSeparates userdata objects with __gc finalizers from allgc list to finalize list, returns accumulated memory size.
0x005243B0515luaC_stepLua garbage collector incremental step; cycles through marking roots, propagating, sweeping strings/objects, and finalizing with step multiplier pacing.
0x005245D0214luaC_markMTsLua GC: marks metatables for 10 basic types (nil through thread), updating GC state and gray-marking table/closure/userdata references
0x005246D0122luaC_markrootsLua GC root marking: clears write barriers, marks main thread/registry/metatables, sets GC to propagate phase
0x00524750675Lua__GC_SweepFreeListLua GC sweep phase: traverses gray objects, frees tables/closures/upvalues, shrinks collections
0x00524A10627Lua__GC_TraverseObjectLua GC traverses object by type (table/closure/thread/proto), marks as gray, traverses children, returns memory size estimate.
0x00524CA0194Lua__GC_MarkObjectLua garbage collector mark phase: marks objects as reachable by clearing white bits and adding to gray worklist for traversal.
0x00524D80367Lua__GC_StepExecutes one incremental garbage collection step in Lua VM state machine (mark/sweep/finalize phases, returns work cost).
0x00524F10274luaC_sweeplistLua garbage collector sweep phase that iterates through linked list of GC objects, frees dead ones by type, updates mark bits for live objects.
0x00525040324luaC_traverseclosureLua GC traversal of closure objects: marks proto/upvalues for Lua closures, TValues for C closures
0x005251A0434Lua__GC_TraverseTableMarks Lua table for GC, handles weak references, traverses array and hash parts, returns 1 if table has weak refs.
0x0052536062luaio_register_builtinsRegisters Lua standard library modules (base, io, math, etc.) by iterating a function table and calling each with its module name.
0x005253A0154luaio_typeLua io.type() implementation - returns "file"/"closed file" string or nil based on FILE* userdata state
0x00525440118luaio_closeCloses a Lua file handle by retrieving and invoking the __close metamethod from the file's environment table.
0x005254C074luaio_gcLua IO library garbage collector metamethod that closes FILE* userdata by invoking __close from its environment table
0x0052551076luaio_tostringLua IO library __tostring metamethod for FILE* userdata; returns "file (closed)" or "file (0xADDR)"
0x00525560216luaio_openLua binding for io.open() - opens file via fopen, returns FILE* userdata or nil+error message+errno
0x00525640216luaio_popenLua binding for io.popen() - opens process pipe, returns FILE* userdata or nil with error message and errno
0x00525720124luaio_tmpfileLua binding for io.tmpfile() - creates temporary file, returns FILE* userdata or nil+error message+errno
0x005257A023luaio_input_setSets the default input file handle for Lua IO operations by delegating to luaio_setdefault with mode 1.
0x005257C023luaio_output_setWraps luaio_setdefault to set the default Lua output file stream with mode 2.
0x005257E082luaio_lines_methodLua IO library: creates iterator closure for file:lines() to read lines from file handle
0x00525840281luaio_linesLua IO library function that opens a file for line-by-line reading and returns an iterator closure with auto-close support.
0x0052596073luaio_read_globalReads from stdin via Lua IO library, retrieves FILE* from registry and delegates to luaio_read_impl
0x005259B064luaio_read_methodLua IO library wrapper that validates FILE* userdata and delegates file read operations to luaio_read_impl.
0x005259F073luaio_write_globalWrites data to stdout via Lua io.write(); retrieves FILE* from registry, validates it's open, delegates to luaio_write_impl.
0x00525A4064luaio_write_methodLua file I/O method wrapper that validates FILE* userdata and delegates write operations to luaio_write_impl
0x00525A80181luaio_seekLua IO library binding for file:seek() - seeks file position and returns new position or error
0x00525B40177luaio_setvbufLua binding for file:setvbuf() - sets file buffering mode (none/full/line) with optional size parameter
0x00525C00146luaio_flush_globalLua binding for io.flush() - flushes stdout and returns status/error code to Lua
0x00525CA0137luaio_flush_methodLua IO library binding for file:flush() - flushes file buffer and returns boolean success or error details
0x00525D306luaio_get_global_dataReturns pointer to global Lua IO state structure used for file operations and data persistence in game client.
0x00525D4051luaio_call_closeRetrieves and invokes the __close metamethod from a Lua file object's environment table.
0x00525D8062luaio_fileerrorFormats file operation error message as "filename: strerror" and raises Lua argument error with the message.
0x00525DC036luaio_fscanf_readWrapper retrieving Lua IO global data and invoking stdio vfscanf to parse formatted input from file stream.
0x00525DF0210luaio_setdefaultSets default Lua I/O file (input/output) by filename or FILE* handle, stores in registry, returns file object.
0x00525ED0493luaio_read_implImplements Lua io.read() supporting formats: *n (number), *a (all), *l (line), and byte counts from FILE stream
0x005260C0226luaio_write_implWrites Lua values (numbers as %.14g format, strings as binary) to FILE*, returns status with errno on failure
0x005261B0119luaio_fcloseCloses a Lua FILE* userdata handle via fclose(), returning success boolean or error details.
0x0052623036luaio_nocloseLua IO library __close metamethod for standard streams; returns nil and error message preventing closure.
0x00526260122luaio_pcloseLua binding that closes a piped file handle via _pclose(), returning success boolean or error details to Lua.
0x005262E0167luaio_lines_iteratorLua IO iterator that reads one line from file; returns 1 on success, 0 on EOF with optional autoclose.
0x00526390552luaopen_ioInitializes Lua IO library with FILE* metatable, stdin/stdout/stderr userdata, and file operation handlers
0x005265C0208luaio_read_charsReads up to N bytes from FILE into Lua buffer in 512-byte chunks, returns 1 if data read else 0
0x00526690247luaio_read_lineLua IO library function that reads a complete line from a file stream, strips trailing newline, and returns the result via Lua stack buffer.
0x0052679096luaX_check_next_charChecks if current char matches any in set; if yes, saves it and advances to next char, returning 1.
0x005267F0143luaX_inclinenumberLua lexer increments line counter while handling CR/LF and LF/CR line ending pairs, errors if lines exceed 0x7ffffffc
0x005268801380luaX_lexLua 5.1 internal: luaX lex
0x00526E9073luaX_initInitializes Lua lexer by interning 21 reserved keywords and marking them with reserved flag and indices.
0x00526EE0214luaX_lexerrorLua lexer error handler that formats "source:line: message near 'token'" and throws syntax error (code 3)
0x00526FC026luaX_nextLua lexer token advancement: retrieves next token via luaX_lex and stores result at offset 0x20
0x00526FE088luaX_newstringLua lexer: creates and interns a new string, adds to string table, triggers GC if memory threshold exceeded.
0x0052704059luaX_lookaheadLua lexer lookahead function that peeks next token without consuming current, storing state in lookahead buffer.
0x00527080140luaX_setinputInitializes Lua lexer state with input source: sets up ZIO reader, allocates 0x20-byte token buffer, reads first character.
0x0052711023luaX_token2str_stubWrapper that extracts token string from lexer state and reports lexical error with formatted message.
0x0052713071luaX_token2strConverts Lua tokens to strings for error messages; control chars become "char(N)", printable chars shown literally.
0x00527180484luaX_read_long_stringLexer function parsing Lua long strings/comments with bracket nesting ([=[...]=]), handling newlines and EOF detection.
0x005273E0390luaX_read_numeralLua 5.1 internal: luaX read numeral
0x00527570670luaX_read_stringLua lexer function that parses quoted strings, handles escape sequences (\a \b \f \n \r \t \v \\ \' \" \NNN), and creates interned string objects.
0x00527920190luaX_saveLua lexer buffer management: appends character to token buffer with dynamic reallocation, throws error if lexical element exceeds 0x7ffffffd bytes.
0x005279E0325luaX_skip_sepCounts equal signs in Lua bracket separators (e.g., `[=[`), returns count or ~count if mismatched closing bracket.
0x00527B3056luamath_absLua binding for math.abs() - returns absolute value of a number argument passed from Lua script
0x00527B7054luamath_sinLua binding for math.sin() that converts number argument to double, computes sine using SSE2, and returns result to Lua stack.
0x00527BB060luamath_sinhLua math library binding for hyperbolic sine function; validates number argument and returns sinh(x) result.
0x00527BF054luamath_cosLua binding for math.cos(x) - computes cosine of a number using SSE2 and pushes result to Lua stack.
0x00527C3060luamath_coshLua binding for math.cosh(x) - retrieves number argument and pushes hyperbolic cosine result to Lua stack
0x00527C7054luamath_tanLua binding for math.tan() that computes tangent using SSE2 precision and pushes result to Lua stack
0x00527CB060luamath_tanhLua binding for math.tanh() - validates number argument and returns hyperbolic tangent value to Lua
0x00527CF054luamath_asinLua binding that computes arc sine of a number and pushes the result onto the Lua stack
0x00527D3054luamath_acosLua binding for math.acos() - retrieves number argument, computes arc cosine, pushes result onto Lua stack
0x00527D7054luamath_atanLua binding for math.atan() that retrieves a number argument, computes arctangent, and pushes result to Lua stack.
0x00527DB077luamath_atan2Lua binding for math.atan2(y, x); pops two numbers, computes arc tangent, pushes result
0x00527E0057luamath_ceilLua binding for math.ceil(x) - retrieves number argument, returns smallest integer >= x to Lua stack
0x00527E4057luamath_floorLua binding for math.floor() - retrieves number argument, floors it, pushes result back to Lua stack
0x00527E8077luamath_fmodLua binding for math.fmod(x, y); validates two numeric arguments and returns floating-point remainder
0x00527ED085luamath_modfLua binding for math.modf(x) that splits a number into integral and fractional parts, returning both values to Lua.
0x00527F3074luamath_sqrtLua math.sqrt wrapper that computes square root with SSE2 precision handling for negative values
0x00527F8074lua_math_powLua binding for math.pow(x,y); retrieves two numbers from Lua stack, computes x^y, pushes result back
0x00527FD054luamath_logLua binding that computes natural logarithm of a number and pushes result onto Lua stack
0x0052801054luamath_log10Lua binding for math.log10() - computes base-10 logarithm and pushes result onto Lua stack
0x0052805054luamath_expLua binding for math.exp(x); computes e^x using SSE2 and pushes result onto Lua stack
0x0052809040luamath_degLua math.deg(x) binding - converts radians to degrees by dividing input by pi and multiplying by 180
0x005280C040luamath_radLua binding for math.rad() - converts degrees to radians by multiplying input by ฯ€/180
0x005280F063luamath_frexpLua binding for math.frexp() - decomposes float into mantissa and exponent, returns 2 values to Lua stack
0x0052813059luamath_ldexpLua binding for math.ldexp(m, e) - computes m * 2^e and returns result to Lua stack
0x00528170115luamath_minLua binding that returns the minimum value from variable numeric arguments, pushing result onto Lua stack
0x005281F0115luamath_maxLua binding function that implements math.max() - iterates through variable arguments and returns the maximum numeric value.
0x0052827014luamath_random_implCalls rand() to generate a random number for Lua math.random() function, not specifically for seeding.
0x005283C027luamath_randomseedLua binding for math.randomseed() - extracts integer argument and seeds C runtime RNG via srand()
0x005283E0130luaopen_mathInitializes Lua math library with standard functions (sin, cos, tan) and constants (pi, huge).
0x00528470188luaM_growauxDynamically grows a Lua memory allocation block, doubling size with overflow checks and error handling.
0x0052853069luaM_reallocReallocates Lua memory via state allocator, throws exception on allocation failure, updates total memory usage counter.
0x0052858023luaM_toobigRaises a Lua runtime error when memory allocation request exceeds maximum allowed block size limit.
0x005285A0103luapkg_loadlibLua binding for package.loadlib() - loads C library and returns function pointer or error message
0x00528610436luapkg_requireLua module loader that searches package.loaders, caches results in _LOADED table, handles circular dependencies
0x005287D0468luapkg_moduleLua module() function - creates module table, sets _NAME/_PACKAGE fields, applies module initialization functions
0x005289B092luapkg_seeallSets module metatable's __index to global environment, enabling module access to global functions via Lua package.seeall()
0x00528A10302luapkg_searchpathSearches Lua package.path/package.cpath for a module file by replacing dots with separators and testing file existence
0x00528B4044luapkg_loadlib_gcLua garbage collector finalizer that unloads dynamic libraries by calling FreeLibrary on stored HMODULE handles.
0x00528B70253luapkg_loadlib_implLoads a DLL via LoadLibraryA, retrieves a function via GetProcAddress, caches the module handle in Lua registry, returns status code.
0x00528C70167luapkg_loader_cLoads C module libraries by searching cpath, constructing luaopen_X function names, and dynamically linking DLLs.
0x00528D20150luapkg_loader_crootLua C module loader that searches for root package DLL and resolves luaopen_X_Y function entry point for C submodules.
0x00528DC0105luapkg_loader_luaLua package loader that searches for and loads Lua modules from package.path, returning loaded file or error.
0x00528E30114luapkg_loader_preloadLua package loader that retrieves preloaded modules from package.preload table, returning nil with error message if module not found.
0x00528EB055luapkg_loaderrorFormats and raises a Lua error for module loading failures with module name, file path, and error details.
0x00528EF0318luaopen_packageInitializes Lua package library with module loaders, search paths, and configuration for RO client scripting system.
0x0052903077luapkg_make_funcnameConverts Lua module name to C function name by stripping dash prefix, replacing dots with underscores, and prepending 'luaopen_'
0x00529080129luapkg_push_syserrorRetrieves Windows system error message and pushes formatted string onto Lua stack via FormatMessageA or fallback fstring.
0x00529110244luapkg_setpathConfigures Lua package.path/package.cpath by reading environment variables and replacing '!' placeholders with executable directory
0x00529210336luaO_chunkidFormats Lua chunk identifiers for error messages, handling @file paths, =literals, and string chunks with truncation.
0x0052936027luaO_fb2intDecodes Lua floating-point byte (fb) format to integer; extracts exponent and mantissa for table size hints.
0x0052938044luaO_int2fbEncodes unsigned integer to floating-point byte format (exponent-mantissa); inverse of luaO_fb2int for Lua number serialization.
0x005293B040luaO_log2Computes floor(log2(x)) by dividing into high bits via loop and looking up result in 256-entry table.
0x005293E023luaO_pushvfstringForwards variadic arguments to luaO_pushfstring_impl for formatted Lua string creation
0x00529400713luaO_pushfstring_implFormats variable argument string with %s/%d/%f/%c/%p specifiers and pushes result onto Lua stack
0x0052974077luaO_rawequalObjCompares two Lua TValue objects for raw equality by type then value (numbers use ==, others compare pointers).
0x005297A0162luaO_str2dConverts string to double, with hex (0x prefix) support; returns 1 on success, 0 on parse failure.
0x0052989043luaos_executeLua binding for os.execute() - executes system command and returns exit code to Lua
0x005298C0118luaos_removeLua binding for os.remove() - deletes file and returns true on success or nil+error message+errno on failure
0x00529940131luaos_renameLua binding for os.rename() - renames file, returns true on success or nil+error message+errno on failure
0x005299D0108luaos_tmpnameLua binding for os.tmpname() - generates unique temporary filename and returns it to Lua script
0x00529A4041luaos_getenvLua binding for os.getenv() - retrieves environment variable value and returns it to Lua script
0x00529A7051luaos_clockLua binding for os.clock() - pushes CPU time in seconds to Lua stack by dividing clock() by CLOCKS_PER_SEC
0x00529AB0652luaos_dateImplements Lua os.date() function; formats timestamps as strings or tables with date/time components, supports UTC mode with '!' prefix
0x00529D40626luaos_timeLua binding for os.time() - returns current Unix timestamp or converts Lua date table to time_t via mktime64
0x00529FC085luaos_difftimeLua binding for os.difftime() - calculates time difference in seconds between two time_t values
0x0052A02073luaos_setlocaleLua binding for os.setlocale() - wraps C setlocale() with category lookup from options table
0x0052A07026luaos_exitLua binding for os.exit() - terminates process with optional exit code from Lua argument
0x0052A09031luaopen_osRegisters Lua os library functions (clock, date, time, difftime, setlocale, exit) for RO client scripting
0x0052A0B0121luaY_adjust_assignAdjusts Lua assignment lists by handling multi-return values and padding missing values with nil.
0x0052A13070luaY_adjustlocalvarsMarks local variables as active in Lua parser by setting their startpc values in function's local variable table.
0x0052A180412luaY_assignmentLua parser function that processes assignment statements with multiple LHS variables, handling recursive chaining and RHS expression evaluation.
0x0052A320128luaY_blockLua parser: enters scope, parses block statements, removes variables, emits close instruction, patches pending jumps.
0x0052A3A0744luaY_bodyLua parser: parses function body with parameters (including 'self' and varargs), creates closure prototype, manages local variables
0x0052A690102luaY_breakstatLua parser function that processes 'break' statements by finding enclosing loop, emitting CLOSE and JMP opcodes.
0x0052A700104luaY_check_matchLua parser error handler that validates matching closing tokens (e.g., 'end' for 'do') and reports contextual syntax errors.
0x0052A770103luaY_checknameValidates current token is a name (0x11d), stores string constant in Lua table, initializes expression node structure.
0x0052A7E0131luaY_chunkLua parser that processes a sequence of statements with 200-level syntax nesting limit enforcement.
0x0052A890429luaY_close_funcCloses Lua function scope: emits RETURN opcode, shrinks code/constant/local/upvalue arrays to final sizes, restores parent FuncState.
0x0052AA4048luaY_codestringInitializes a Lua expression node as a string constant by storing the string index and setting type/info fields.
0x0052AA70636luaY_constructorLua parser for table constructor syntax ({...}), handles list items and key-value pairs, emits NEWTABLE/SETLIST/SETTABLE opcodes.
0x0052ACF088luaY_errorlimitLua parser error handler for resource limit violations; formats and reports "too many X" errors with function line information.
0x0052AD5075luaY_explist1Parses comma-separated Lua expression list, returns count of expressions parsed.
0x0052ADA0388luaY_forbodyLua parser: generates bytecode for for-loop body, handling loop variables scope and control flow patching.
0x0052AF30391luaY_fornumLua parser function that parses numeric for-loop syntax (for i=start,limit[,step]), creating hidden variables and validating syntax.
0x0052B0C0595luaY_forstatParses Lua for statements, dispatching to numeric or generic iteration based on syntax (for i=... vs for k,v in...)
0x0052B320340luaY_funcargsLua parser function that parses function call arguments (parenthesized, table, or string literal) and emits CALL opcode.
0x0052B480493luaY_ifstatLua parser for if/elseif/else/end statements; chains test-then blocks and patches jump targets between branches.
0x0052B670328luaY_indexupvalueLua parser function that finds or creates an upvalue index for a function, enforcing a 60-upvalue limit per function.
0x0052B7C0236luaY_parserLua parser entry point: initializes lexer, parses chunk, validates EOF token, returns compiled proto object
0x0052B8B0217luaY_new_localvarRegisters a new local variable in Lua function scope, allocating space in locvars array and mapping to active register slot.
0x0052B990224luaY_open_funcInitializes new Lua function scope by creating Proto, FuncState, constant hash table, and pushing values onto Lua stack.
0x0052BA70393luaY_primaryexpLua parser function that parses primary expressions (parenthesized, names) and their suffixes (field access, indexing, method calls).
0x0052BD10225luaY_recfieldLua parser function that parses and emits bytecode for record field assignment in table constructors (e.g., [expr]=expr or name=expr).
0x0052BE0074luaY_removevarsLua parser function that removes local variables from scope by setting their end PC and decrementing active variable count.
0x0052BE50446luaY_repeatstatParses Lua repeat...until statement with nested block scoping, condition evaluation, and break/loop control flow patching.
0x0052C010104luaY_singlevarLua parser resolves single variable name by checking token type, looking up in local/upvalue scopes, falls back to global variable.
0x0052C080242luaY_singlevarauxLua parser function that resolves variable names by searching local scope, then recursively checking enclosing functions to build upvalue chains.
0x0052C1801669luaY_statementLua parser statement dispatcher handling if/for/while/repeat/return/break/do/local/function and expression statements
0x0052C870678luaY_subexprParses Lua subexpressions with operator precedence handling for unary/binary ops and primary expressions.
0x0052CD20147luaY_test_then_blockParses Lua if/elseif condition block: evaluates expression, emits conditional jump, validates 'then' keyword, parses block body.
0x0052CDC034luaY_testnextTests if current token matches param_2; consumes it via lookahead if match, returns boolean result
0x0052CDF088luaY_yindexLua parser function that parses bracketed index expressions [expr], validates closing bracket, converts expression to value.
0x0052CE5016luaE_callFinalizersWrapper that invokes luaC_callAllFinalizers to execute all pending Lua finalizers during client shutdown.
0x0052CE60135lua_close_implCloses Lua state by freeing upvalues, sweeping objects, deallocating string table, call stack, and invoking allocator to free lua_State structure.
0x0052CEF0116luaE_init_stateInitializes Lua VM state by setting up stack, registry/globals tables, string table, tag methods, and lexer.
0x0052CF7077luaE_freethread_implDeallocates a Lua thread state by closing upvalues, freeing call stack, stack, and state structure.
0x0052CFC095luaE_newthreadAllocates and initializes a new Lua thread state by copying parent thread's environment and stack configuration.
0x0052D02090luaE_freethreadFrees a Lua thread by closing resources, separating userdata, running finalizers, and closing the Lua state.
0x0052D080349lua_newstateAllocates and initializes a new Lua state for script execution in the game client, setting up memory and default configurations.
0x0052D1E0101luaE_init_stack_stateInitializes Lua call stack state structure with zero values and default settings (stack top at 0x1000000).
0x0052D250137luaD_init_stackInitializes Lua VM stack and call frame structures, allocating 0xc0 bytes for stack and 0x2d0 bytes for call info
0x0052D2E0628luaS_newlstrLua string interning function that creates/retrieves unique string objects with hash table management and automatic resizing.
0x0052D560100luaS_newudataAllocates and initializes a Lua userdata object, linking it into the garbage collector chain.
0x0052D5D0223luaS_resizeResizes Lua string hash table by reallocating memory and rehashing all string entries into new bucket array
0x0052D6B041luaB_str_lenLua binding function that returns the length of a string argument passed to Lua script.
0x0052D6E0162luaB_str_subLua string.sub() implementation - extracts substring from string using start/end indices with negative index support
0x0052D790192luaB_str_reverseLua binding function that reverses a string by iterating backwards through input and building output via buffer
0x0052D850179luaB_str_lowerLua binding function that converts a Lua string argument to lowercase using tolower() and returns the result to Lua.
0x0052D910179luaB_str_upperLua binding function that converts a Lua string argument to uppercase and returns the result to Lua.
0x0052D9D0144luaB_str_repLua C API function that repeats a string N times by appending it to a buffer and returning the result to Lua.
0x0052DA60209luaB_str_byteLua API function that extracts bytes from a string as integers, pushing each onto the stack within optional start/end indices.
0x0052DB40186luaB_str_charLua builtin that converts variable integer arguments to a byte string, validating each byte is 0-255 range.
0x0052DC00128luaB_str_dumpLua binding function that serializes a Lua function to bytecode string via lua_dump with error handling.
0x0052DC8018luaB_str_findWrapper that calls luaB_str_find_aux with mode=1 to find first occurrence of substring in Lua string
0x0052DCA018luaB_str_matchLua string matching wrapper that delegates to luaB_str_find_aux with mode 0 for pattern matching
0x0052DCC067luaB_str_gmatchLua string.gmatch implementation - creates iterator closure for pattern matching across string
0x0052DD1021luaB_str_gfind_deprecatedRaises Lua error indicating string.gfind was renamed to string.gmatch in current Lua version
0x0052DD30461luaB_str_gsubLua string.gsub implementation - replaces pattern matches in strings with substitutions up to limit
0x0052DF001283luaB_str_formatImplements Lua string.format() function, parsing format specifiers and converting arguments to formatted strings with buffer management.
0x0052E4D0442lua_pattern_add_valueProcesses Lua replacement patterns in string.gsub, handling format specifiers (%d, %0) and replacement types (string/function/table).
0x0052E6A0113lua_pattern_classendParses and returns pointer past end of single Lua pattern character class (handles %, [...], and literal chars)
0x0052E720260lua_gmatch_iteratorLua iterator for gmatch pattern matching; finds next pattern match in string and pushes captured groups onto stack.
0x0052E830139luaopen_stringInitializes Lua string library with gmatch/gfind functions and sets up metatable with __index field
0x0052E8C01023lua_pattern_matchLua pattern matching engine that recursively matches strings against Lua regex patterns with support for character classes, quantifiers (*, +, ?, -), and balanced bracket matching.
0x0052ED30238lua_pattern_match_classMatches character against Lua pattern class (alpha, digit, space, etc.); inverts result if class char is uppercase.
0x0052EE70350lua_pattern_matchbracketclassMatches a character against a Lua pattern bracket class (e.g., [%d], [a-z], [^...]), supporting character ranges and escape sequences.
0x0052F020147lua_pattern_max_expandLua pattern matching with greedy quantifier expansion; matches string against pattern with max character consumption then backtracks.
0x0052F0C0212lua_pattern_push_capturesPushes Lua pattern match captures onto stack, handling string/position captures with validation for unfinished/invalid indices.
0x0052F1A0148lua_pattern_push_onecapturePushes a single Lua capture group result onto the stack; handles unfinished captures, position captures, and substring captures.
0x0052F24076lua_pattern_start_captureManages Lua pattern matching capture groups by pushing capture onto stack, attempting match, and rolling back on failure.
0x0052F290717luaB_str_find_auxLua string.find() implementation supporting both plain substring and Lua pattern matching with capture groups
0x0052F56024lua_str_dump_writerLua dump writer callback that appends serialized Lua bytecode chunks to a buffer via luaL_addlstring.
0x0052F58069luaH_mainposition_numComputes hash table main position for numeric keys in Lua hash table; returns direct position if key equals special value, else modulo hash.
0x0052F5D084luaH_freeFrees a Lua hash table structure by deallocating its array bucket, node array, and header metadata.
0x0052F630159luaH_getLua hash table lookup that retrieves values by key, handling numeric and string keys with fallback to linear probing on hash collisions.
0x0052F6D0236luaH_getnGets the length of a Lua table by binary searching for the last non-nil array element index.
0x0052F7C0146luaH_getnumLua hash table lookup for numeric keys; returns table entry or nil if key not found
0x0052F86057luaH_getstrLua hash table lookup by string key; returns hash node or nil object if key not found
0x0052F8A094luaH_newAllocates and initializes a new Lua table object with specified array and hash part sizes, links to garbage collector.
0x0052F900383luaH_nextLua hash table iterator that retrieves the next key-value pair, handling both array and hash portions of table traversal.
0x0052FA8063luaH_resizearrayResizes Lua hash table array portion; calls luaH_resize with computed hash size based on lsizenode field.
0x0052FAC0230luaH_newkeyInserts new key into Lua table, validates non-nil/non-NaN keys, triggers resize if needed.
0x0052FBB070luaH_setnum_hintSets a numeric key in Lua hash table, creating new entry if key doesn't exist with hint value 3
0x0052FC0089luaH_setstr_hintSets a string key in Lua hash table, inserting new key-value pair if string key not found or value is nil
0x0052FC60147luaH_mainpositionComputes hash table main position for Lua table keys by type (bool/number/string/userdata), applying modulo to hash value.
0x0052FD10243luaH_newkey_internalInserts new key-value pair into Lua hash table, handling collisions via rehashing and chain relinking.
0x0052FE10591luaH_rehashLua table rehash - counts hash bucket distribution and determines optimal array/hash size allocation
0x00530060404luaH_resizeResizes Lua hash table by rehashing array and hash bucket elements to new size configuration
0x00530200106luaH_setarraysizeResizes a Lua hash table's array part, reallocating memory and zero-initializing new elements.
0x00530270199luaH_sethashsizeResizes Lua hash table by allocating and initializing bucket array with power-of-2 size
0x00530340133luaB_table_foreach_iLua table library function that iterates over array part of table, calling function f(i,v) for each element until non-nil return
0x005303D0133luaB_table_foreachLua table library function that iterates over table pairs, calling a callback function for each key-value pair until callback returns non-nil.
0x00530460149luaB_table_maxnFinds the largest positive numeric key in a Lua table by iterating through key-value pairs and returning the maximum number
0x0053050043luaB_table_getnLua binding that retrieves the length of a table and pushes it as an integer onto the Lua stack.
0x0053053047luaB_table_setnLua library function that raises an obsolescence error when table.setn() is called, maintaining backwards compatibility with deprecated Lua API.
0x00530560164luaB_table_insertLua standard library function that inserts a value into a table at a specified or default position.
0x00530610144luaB_table_removeRemoves element at index from Lua table, shifting subsequent elements down and returning removed value
0x005306A0345luaB_table_concatConcatenates Lua table elements with a separator string, validating that all elements are strings.
0x0053080095luaB_table_sortLua binding for table.sort() - validates table and optional comparator function, then sorts table in-place
0x00530860945luaB_table_sort_auxQuicksort implementation for Lua table.sort() with median-of-3 pivot selection and comparison callback support.
0x00530C2031luaopen_tableRegisters Lua table library functions (concat, insert, remove, sort) with Lua state
0x00530C40110luaB_sort_compareCompares two Lua values using custom comparator function or default less-than operator for sort operations.
0x00530CB043luaT_gettmbyobjRetrieves tagged method from hash table; sets flag bit if method not found in metatable.
0x00530CE079luaT_gettmRetrieves metamethod from table/userdata metatable or global type metatable by event index in Lua state
0x00530D3084luaT_initInitializes Lua tagged method (metamethod) name strings in global state, creates interned strings for each metamethod name.
0x00530D90154lua_loadfile_with_error_handlingLoads and executes a Lua file with signal handling, error tracing, and garbage collection.
0x00530E30177lua_dostringExecutes Lua code from a buffer with error handling, signal management, and garbage collection in RO client.
0x00530EF0581lua_dotty_replImplements interactive Lua REPL loop; reads stdin, handles multi-line input, executes Lua code, prints results with error handling.
0x00531140469lua_handle_scriptLoads and executes a Lua script file with command-line arguments, setting up 'arg' table and error handling.
0x0053132039setup_lua_signal_hookRegisters a signal handler and attaches a Lua hook to intercept signal events for script execution.
0x0053135033lua_hook_error_handlerDisables Lua hooks and raises an error, likely for exception handling in Lua VM integration
0x00531380166lua_pmainInitializes Lua state, executes protected main implementation, handles errors, and cleans up resources.
0x00531430849lua_main_implParses Lua command-line options (-e/-l/-i/-v/--), executes scripts/stdin, handles LUA_INIT environment variable, enters REPL if interactive.
0x0053182046print_lua_version_and_allocator_infoPrints Lua 5.1.4 version string to stderr and outputs JSON allocator information, then flushes output.
0x00531850299lua_readlineReads a line from stdin with optional prompt, handling '=' prefix for Lua return statements in interactive mode.
0x00531980160lua_report_errorReports Lua errors to stderr by extracting error message from Lua stack top and flushing output.
0x00531A20162lua_traceback_handlerLua error handler that enriches error messages with debug.traceback() stack information for debugging.
0x00531AD0755luaU_load_constantsDeserializes Lua constant values (nil, boolean, number, string) from bytecode stream into function prototype.
0x00531DE0756luaU_load_debugDeserializes Lua bytecode debug information (line numbers, local variables, upvalues) from binary stream with validation.
0x005320E0591luaU_load_functionDeserializes a Lua function prototype from precompiled chunk data, validating nesting depth and bytecode integrity.
0x00532330108luaU_load_intReads and validates a signed 32-bit integer from Lua precompiled chunk data stream, throws on EOF or negative values.
0x005323A0155luaU_load_stringReads and validates a precompiled Lua chunk from binary stream, allocating space and creating a new Lua string.
0x0053244028luaU_headerInitializes Lua bytecode file header with magic number (0x1bLua) and format/version/size flags for chunk validation.
0x00532460250luaU_undumpLoads and validates Lua bytecode chunks by verifying magic header then deserializing precompiled functions
0x00532560491luaV_arithLua VM arithmetic operation dispatcher; performs +,-,*,/,%,^ on coerced numbers or invokes metamethods.
0x00532770162luaV_callTMCalls a Lua metamethod by pushing it and 3 arguments onto stack, executing it, and storing result at destination offset.
0x00532820120luaV_call_orderTMAttempts order comparison metamethod; returns 1 if TM exists and equal, 0 if unequal, -1 if absent
0x005328A0134luaV_get_equalTMRetrieves equality metamethod from Lua objects, checking both operands for matching metamethods with bit-flag caching.
0x00532930127luaV_strcmp_embedded_nullsCompares two Lua strings handling embedded nulls via strcoll, returns mismatch at first null boundary or length difference.
0x005329B0668luaV_concatLua VM concatenation operator: coerces numbers to strings, handles string concatenation with overflow checks, invokes metamethods if needed.
0x00532C50169luaV_equalvalLua VM equality comparison for nil, numbers, strings, tables/userdata with __eq metamethod support.
0x00532D205658luaV_executeLua 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.
0x00534400228luaV_gettableLua VM table access with __index metamethod chain traversal (max 100 depth, prevents infinite loops)
0x005344F0108luaV_lessthanPerforms less-than comparison for Lua values, handling numbers and strings with metamethod fallback.
0x00534560404luaV_settableLua VM table assignment with __newindex metamethod chain traversal (max 100 depth), handles GC barriers
0x0053470073luaV_tonumberConverts Lua value to number; returns param_2 with converted value if successful, NULL otherwise.
0x00534750136luaV_tostringConverts Lua number value to string using "%.14g" format, creates new Lua string, updates value type tag to 4 (string)
0x005347E062luaZ_getcReads next character from Lua buffered input stream, calling reader function when buffer exhausted, returns char or 0xFFFFFFFF on EOF
0x0053482039luaZ_initInitializes a Lua stream/buffer structure with state pointer, buffer, size, and read function pointers.
0x0053485069luaZ_lookaheadLua lexer lookahead - returns next character from input stream, refilling buffer when empty
0x005348A085luaZ_openspaceAllocates/reallocates Lua buffer space, ensuring minimum 32 bytes or requested size with overflow protection
0x00534900109luaZ_readReads bytes from a Lua buffered input stream (ZIO) into a destination buffer, refilling when needed.
0x00534970792luaU_print_codeDisassembles and prints Lua bytecode instructions from a function prototype with operand decoding and constant/upvalue references.
0x00534CD0413luaU_print_constantPrints a Lua constant value with proper escape sequences; handles nil, boolean, number, and string types.
0x00534F10516luaU_print_constantsPrints Lua function constants table with type-specific formatting (nil, bool, number, string).
0x005351B0462luaU_print_functionDumps Lua function prototype details (header, code, constants, locals, upvalues) for debugging/disassembly
0x0053538048print_to_stdout_with_allocatorOutputs formatted text to stdout using a global JSON allocator for buffer management
0x0056AD70115lua_register_AccountLinkedUserData_LoadRegisters Lua command binding for AccountLinkedUserData::Load function with string assignment setup
0x0056AE80115lua_cmd_init__AccountLinkedUserData_Save__register_commandRegisters Lua command handler for AccountLinkedUserData save operation by initializing command string identifier.
0x0056AFD0115register_lua_change_party_master_commandRegisters a Lua command handler for the "Change_PartyMaster" party management command with the Lua VM.
0x0056B150115STL_string__assign_cstring_lengthCalculates null-terminated string length and assigns it to a std::string object for "CharacterLinkedUserData_Load"
0x0056B290115RegisterCharacterLinkedUserDataSaveCommandRegisters a Lua command binding for "CharacterLinkedUserData_Save" string initialization in Lua environment.
0x0056B3F0115lua_cmd_init__Emblem_DownloadInitializes Lua command binding for emblem download functionality, sets up string reference for "Emblem_Download"
0x0056B530115init_emblem_upload_commandInitializes Lua command registration for guild emblem upload functionality with string allocation.
0x0056B690115lua_cmd_register__MyParty_LoadRegisters "MyParty_Load" Lua command by computing string length and assigning to internal command table
0x0056B7D0115string_length_calculateCalculates string length of "PartyInfo_Load" by iterating to null terminator, then calls std_string assignment.
0x0056B910115lua_register_PartyList_LoadRegisters "PartyList_Load" as a Lua command by creating a string and passing it to Lua registration system.
0x0056BAF0115lua_register_MerchantStoreInformation_LoadRegisters Lua command for loading merchant store information by calculating and assigning string length.
0x0056BC30115lua_MerchantStoreInformation_SaveInitInitializes Lua command binding for MerchantStoreInformation Save function; registers string constant with Lua VM.
0x0056BD90115lua_cmd_init__register_party_commandRegisters a Lua command string "Register_Party" by calculating its length and assigning it to a string object.
0x0056BF00115lua_register_cmd__Stop_RecruitingRegisters "Stop_Recruiting" Lua command by assigning string to command registry with length metadata.
0x0056C040115lua_register_twitter_send_commandRegisters a Lua command binding for Twitter data sending functionality with string initialization.
0x00583C3043handle_assertion_failureFormats and prints assertion failure message with file:line info, then terminates process.
0x0059744F99lua_CEmotionSystem__set_valueLua binding: checks integer argument, inserts into unordered_map with string key, returns 1
0x005974C0197lua_UIItemCatalog_GetItemDisplayNameLua binding retrieving item display name from catalog by item ID, handling string storage allocation for names >15 chars
0x005975DF44lua_return_trueLua C function that does nothing but return 1 (success)
0x00597610152lua_emotion_get_int_int_and_stringValidates 2 integer and 1 string Lua parameters, computes string length, assigns to std::string object.
0x00597704114lua_CEmotionSystem__set_entry_by_coordsLua binding: takes two integer args and a string arg (coords + name), assigns string from Lua to std::string
0x005977D784lua_get_string_arg_and_assignLua binding: gets a string argument via luaL_checklstring, assigns it to a std::string
0x00597885263lua_CEmotionSystem__register_emotionLua binding for emotion registration. Resolves message string via CSimpleMsgMgr or CMsgStringTable, then calls CEmotionSystem__RegisterEmotionEntry with the resolved display text and parameters. Returns 1.
0x00597990326lua_UIItemCatalogWnd_handlerLua binding that validates and processes item catalog window parameters, extracting/measuring a string argument from Lua stack.
0x00597B2C814lua_CItemCatalog__add_entryLua 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.
0x00597EF0195lua_UIItemCatalog_GetCategoryItemNameLua binding that retrieves an item's name from a catalog category and returns it to Lua script.
0x0059800F44lua_return_true_0059800fLua C function: SEH cleanup, returns 1
0x00598040179lua_emotion_get_string_paramExtracts and assigns a string parameter from Lua stack position 5, validates 4 integer params first.
0x0059815784lua_get_string_arg_and_assign_00598157Lua binding: gets a string argument via luaL_checklstring, assigns to a std::string
0x0059822285lua_CEmotionSystem__build_emotion_from_itemLua binding: calls CEmotionSystem__BuildEmotionFromItem with 3 args, cleans up 2 strings, returns 1
0x005983E0148lua_emotion_get_argsExtracts emotion ID (int) and emotion name (string) from Lua stack for emotion display/animation.
0x005984DF707lua_CItemCatalog__register_sale_itemLua 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.
0x005989E0185lua_cmd__GetNpcLocationRadiusInvokes Lua script function to retrieve NPC location radius value from game scripting layer.
0x0059B12018lua_cmd__LoadMapSkyDataLoads MapSkyData Lua script via CLua::DoString to initialize sky and weather configuration data.
0x0059B140193lua_cmd__IsBackGroundFogCalls Lua IsBackGroundFog function and sets fog flag on active UIWindowMgr mode's weather data if enabled.
0x0059B210252lua_cmd__CallGetBackgroundColorCalls Lua GetBackgroundColor function to retrieve and apply current map background color via renderer.
0x0059BCA0360lua_cmd__GetOldCloudTypeAndInfoRetrieves old cloud type count via Lua, iterates through each cloud, and applies weather effects using CWeatherEffect::SelectEffectByType.
0x0059BE10180lua_cmd__IsDrawStarCalls Lua IsDrawStar() function and selects weather effect type 9 (stars) if result is true.
0x0059C070119lua_AccountLinkedUserData_Load_registerRegisters Lua command for loading account-linked user data by assigning string constant to std::string.
0x0059F6D0119InitLuaCommand_AccountLinkedUserDataSaveInitializes Lua command binding for AccountLinkedUserData Save operation via std::string assignment
0x00622AF01054RegisterLuaFunctions_EpisodeRegisters Lua functions for episode/intro system (InsertIntro, InsertIntroContents, InsertEpisode, etc.) with CLuaState
0x00627470259Lua_InsertWeaponContentsLua binding validating 3 args (number, string, string) for weapon content insertion; returns bool+error message on failure.
0x00627692119lua_CNavigator__cleanup_and_return2_00627692Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00627710764Lua_InsertArmorContentsLua 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.
0x00627A10228Lua_InsertWeaponSubMenuLua binding that validates and inserts a weapon submenu item; takes numeric ID and string name, returns success boolean and error message.
0x00627BB643lua_CNavigator__string_init_and_return2_00627bb6Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00627BF0462Lua_InsertArmorSubMenuLua binding that validates 4 args (3 numbers + 1 string) and calls CAdventureGuideMgr to insert armor submenu (type=6), returns success bool and error message.
0x00627DC0259Lua_InsertDungeonContentEntryLua binding function that validates 3 arguments (number, string, string) for dungeon content insertion, returns boolean status with error message.
0x00627FE2119lua_CNavigator__cleanup_and_return2_00627fe2Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00628060689Lua_InsertDungeonContentsLua binding that validates 7 arguments (5 numbers, 2 strings) for dungeon content insertion, returns success bool and error message.
0x00628320228Lua_InsertDungeonSubEntryLua binding that validates dungeon sub-entry insertion parameters (number + string), returns boolean status with error message.
0x006284C443lua_CNavigator__string_init_and_return2_006284c4Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x006284F0460Lua_InsertDungeonRecommendItemLua binding that validates 3 numeric + 1 string argument, inserts dungeon recommendation item via CAdventureGuideMgr
0x006286C0259Lua_InsertEpisodeContentEntryLua binding that validates and inserts episode content entry with numeric ID and two string parameters into game state.
0x006288E2119lua_CNavigator__cleanup_and_return2_006288e2Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00628960753Lua_InsertEpisodeContentsLua binding that validates 8 arguments (6 numbers + 2 strings) for episode content insertion, returns success bool and error message.
0x00628C60228Lua_InsertEpisodeSubEntryLua binding that validates and inserts an episode sub-entry; expects numeric ID and string name arguments.
0x00628E0443lua_CNavigator__string_init_and_return2_00628e04Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00628E30518Lua_InsertEpisodeSubMenuLua binding that validates 4 numeric args + 1 string arg, calls CAdventureGuideMgr__EpisodeSubMenu__SetString_Wrapper to insert episode submenu, returns success bool + error message.
0x00629040350Lua_InsertQuestContentsLua binding that validates 4 args (number + 3 strings) and assigns quest content strings to internal fields via std_string assignment.
0x006292E0393Lua_InsertIntroContentsLua binding that validates 3 args (number, string, string) and calls CAdventureGuideMgr to insert intro guide content, returning success bool and error message.
0x00629470259Lua_InsertQuestSubMenuLua binding that validates and inserts a quest submenu entry with numeric ID and two string parameters, returns success boolean and error message.
0x00629692119lua_CNavigator__cleanup_and_return2_00629692Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00629710245Lua_SetDateRangeLua binding that validates 3 arguments (string, number, number) for date range filtering and returns success status with error message.
0x006298E943lua_CNavigator__string_init_and_return2_006298e9Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00629920211Lua_SetGuideDescription_buggyLua binding that validates 2 string arguments but has logic error; only processes arg1, ignores arg2, always returns false+error.
0x00629B0A119lua_CNavigator__cleanup_and_return2_00629b0aLua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00629B90259Lua_InsertGuideEntryLua binding that validates and inserts a guide entry with numeric ID and two string parameters, returns boolean success status.
0x00629DB2119lua_CNavigator__cleanup_and_return2_00629db2Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x00629E30689Lua_InsertAdvGuideSubContentLua callback validating 7 arguments (5 numbers, 2 strings) and inserting adventure guide sub-content via CAdventureGuideMgr
0x0062A0F0228Lua_InsertAdvGuideContentEntryLua binding that validates and inserts adventure guide content entry; requires numeric ID and string description arguments.
0x0062A29443lua_CNavigator__string_init_and_return2_0062a294Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0062A2C0460Lua_InsertAdvGuideRecommendLua binding that validates 3 numeric + 1 string argument, inserts adventure guide recommendation via CAdventureGuideMgr, returns success status
0x0062A490259Lua_InsertAdvGuideContentEntryBLua binding that validates 3 arguments (number, string, string) for adventure guide content entry insertion, returns boolean+error message.
0x0062A6B2119lua_CNavigator__cleanup_and_return2_0062a6b2Lua callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x0062A730764Lua_InsertAdvGuideRecommendItemLua binding that validates and extracts 8 parameters (7 numbers + 1 string) for Adventure Guide recommendation item insertion
0x0062AA30228Lua_InsertAdvGuideSubEntryBLua binding that validates and inserts an adventure guide sub-entry with numeric ID and string name parameters.
0x0062ABD643lua_CNavigator__string_init_and_return2_0062abd6Lua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0062AC10462Lua_SetAdvGuideAttributesLua binding that validates 4 arguments (3 numbers + 1 string) and calls CAdventureGuideMgr to set adventure guide attribute data.
0x0062ED20617Lua_InsertAdvGuideContentsLua binding validating 5 args (num,str,str,str,num) and calling CAchievementMgr::InsertAchieveInfo, returns success bool+error string
0x0062EF90475Lua_InsertAdvGuideSubItemLua binding validating 4 args (num,str,num,num), inserting adventure guide sub-item via CAdventureGuideMgr, returns success+error msg
0x0062F170364Lua_InsertAchieveRewardBuffLua binding that validates 2 numeric arguments and calls CAchievementMgr::InsertRewardBuff, returning success bool and error message string.
0x0062F2E0364Lua_InsertAchieveRewardItemLua binding that validates 2 numeric args and calls CAchievementMgr::InsertRewardItem, returning success bool and error message string.
0x0062F450364Lua_InsertAchieveRewardTitleLua binding that validates 2 number arguments and calls CAchievementMgr::InsertRewardTitle, returning success bool and error message string.
0x0062F5C0275Lua_SetAchieveInfoLua binding that validates and processes achievement info (2 numbers + 1 string), returns boolean status and error message.
0x0062F7DF44lua_CNavigator__string_init_and_return2_0062f7dfLua callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0062F810424Lua_SetAchieveTabLua binding that validates 3 numeric arguments and calls CAchievementMgr::SetAchieveIDByTab, returning success bool and error message.
0x00632AA0562lua_AddPetEvolutionRecipeLua binding that validates 4 numeric args (petEggId, evolutionPetEggId, materialItemId, materialCount) and adds pet evolution recipe with material validation.
0x00632CE0354lua_InsertPetAutoFeedingLua binding that validates pet egg ID, inserts auto-feeding entry via CCheckAttendanceMgr, returns bool+string result.
0x00643683113lua_CWorldView__cleanup_strings_and_returnLua CWorldView callback epilog: initializes one empty string, destroys another local string, then returns to caller.
0x00646F1C40lua_epilog_string_init_return0_00646f1cLua callback epilog: initializes a local std::string to empty and returns 0 to Lua.
0x0064709B116lua_epilog_cleanup_return0Lua callback epilog: initializes one empty string, destroys another local string, then returns 0 to Lua.
0x0064C86840lua_epilog_string_init_return0_0064c868Lua callback epilog: initializes a local std::string to empty and returns 0 to Lua.
0x0064CB0F41lua_epilog_string_init_return0_0064cb0fLua callback epilog: initializes a local std::string to empty and returns 0 to Lua.
0x00655FEF43lua_CEnchantWnd__string_init_and_return2Lua CEnchantWnd callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0065685644lua_CEnchantWnd__string_init_and_return2_00656856Lua CEnchantWnd callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00656CFB33lua_epilog_return2Lua callback epilog: returns 2 to Lua after SEH cleanup.
0x0066A1F015lua_trampoline__SubSkillDelayLua trampoline that delegates skill delay reduction to CEnchantEffect's Lua binding implementation.
0x0066A20015lua_trampoline__SubSkillMDamageLua trampoline that delegates to CEnchantEffect::Lua_SubSkillMDamage for magical damage skill calculations.
0x0066A21015lua_trampoline__SubSkillSPTrampoline wrapper that delegates Lua skill SP subtraction calls to CEnchantEffect's implementation.
0x0066A22015lua_trampoline__SubSpecificSpellCastTimeTrampoline wrapper that delegates to CEnchantEffect::Lua_SubSpecificSpellCastTime for Lua spell cast time adjustment
0x0066A23015lua_trampoline__SubSpellCastTimeLua trampoline wrapper that delegates spell cast time subtraction logic to CEnchantEffect class method.
0x0066A24015lua_trampoline__SubSpellDelayLua trampoline wrapper that delegates spell delay subtraction to CEnchantEffect::Lua_SubSpellDelay
0x0066A25015lua_trampoline__AddExtParamLua trampoline wrapper that delegates enchant effect parameter addition to CEnchantEffect__Lua_AddExtParam
0x0066A26015lua_trampoline__AddGuideAttackLua trampoline wrapper that delegates AddGuideAttack call to CEnchantEffect class implementation.
0x0066A27015lua_trampoline__AddHPdrainLua trampoline wrapper that delegates HP drain effect addition to CEnchantEffect class method
0x0066A28015lua_trampoline__AddHealModifyPercentTrampoline wrapper that forwards Lua heal modify percent addition calls to CEnchantEffect implementation.
0x0066A29015lua_trampoline__AddHealValueLua trampoline wrapper that delegates AddHealValue enchant effect handling to CEnchantEffect class
0x0066A2A015lua_trampoline__AddIgnore_MRES_RacePercentLua trampoline that delegates to CEnchantEffect::Lua_AddIgnore_MRES_RacePercent for magic resistance race percentage ignore registration.
0x0066A2B015lua_trampoline__AddIgnore_RES_RacePercentLua trampoline that delegates to CEnchantEffect to add race resistance percentage to ignore list
0x0066A2C015lua_trampoline__AddMDamage_PropertyLua trampoline wrapper that delegates magic damage property addition to CEnchantEffect's Lua binding handler
0x0066A2D015lua_trampoline__AddMDamage_SizeLua trampoline that delegates magic damage size addition to CEnchantEffect::Lua_AddMDamage_Size
0x0066A2E015lua_trampoline__AddMdamage_ClassLua trampoline wrapper that delegates to CEnchantEffect::Lua_AddMdamage_Class for magic damage enchantment registration
0x0066A30015lua_trampoline__AddMdamage_RaceLua trampoline that delegates AddMdamage_Race enchant effect calls to CEnchantEffect class implementation
0x0066A31015lua_trampoline__AddMeleeAttackDamageLua trampoline wrapper that delegates melee attack damage calculation to CEnchantEffect::Lua_AddMeleeAttackDamage
0x0066A32015lua_trampoline__AddMeleeAttackReflectLua trampoline that forwards melee attack reflect enchantment addition to CEnchantEffect class method.
0x0066A33015lua_trampoline__AddNeverknockbackLua trampoline wrapper that delegates to CEnchantEffect::Lua_AddNeverknockback to apply knockback immunity effect.
0x0066A35015lua_trampoline__AddRangeAttackDamageLua trampoline that delegates range attack damage calculation to CEnchantEffect's Lua binding method.
0x0066A36015lua_trampoline__AddReceiveItem_EquipLua trampoline that delegates AddReceiveItem_Equip enchant effect handling to CEnchantEffect class method.
0x0066A37015lua_trampoline__AddReflectMagicLua trampoline that delegates AddReflectMagic enchant effect calls to CEnchantEffect class implementation
0x0066A39015lua_trampoline__AddSFCTEquipAmountLua trampoline that delegates SFCT (Special Force Combat Technique) equip amount addition to CEnchantEffect class
0x0066A3B015lua_trampoline__AddSFCTEquipPermillLua trampoline that delegates SFCT equip permill addition to CEnchantEffect class method.
0x0066A3C015lua_trampoline__AddSPconsumptionLua trampoline wrapper that delegates SP consumption effect addition to CEnchantEffect class method.
0x0066A3D015lua_trampoline__addspconsumptionTrampoline wrapper that forwards SP consumption addition requests to CEnchantEffect's Lua binding implementation.
0x0066A3E015lua_trampoline__AddSPdrainLua trampoline wrapper that delegates SP drain effect addition to CEnchantEffect::Lua_AddSPdrain
0x0066A3F015lua_trampoline__AddSkillDelayTrampoline wrapper that delegates Lua skill delay addition to CEnchantEffect's implementation
0x0066A40015lua_trampoline__AddSkillMDamageLua trampoline that delegates skill magic damage addition to CEnchantEffect's Lua binding method.
0x0066A41015lua_trampoline__AddSkillSPLua trampoline that forwards skill SP addition calls to CEnchantEffect's Lua binding implementation.
0x0066A42015lua_trampoline__AddSpecificSpellCastTimeLua trampoline that delegates spell cast time addition to CEnchantEffect's Lua binding method.
0x0066A43015lua_trampoline__AddSpellCastTimeLua trampoline wrapper that delegates spell cast time addition to CEnchantEffect's Lua interface
0x0066A44015lua_trampoline__AddSpellDelayLua trampoline wrapper that delegates spell delay addition to CEnchantEffect's Lua interface method.
0x0066A45015lua_trampoline__AddBowAttackDamageTrampoline wrapper that delegates bow attack damage calculation to CEnchantEffect's Lua binding method.
0x0066A46015lua_trampoline__BodyAttributeTrampoline wrapper that forwards Lua BodyAttribute calls to CEnchantEffect's implementation
0x0066A47015lua_trampoline__ClairvoyanceTrampoline wrapper that delegates Clairvoyance skill effect processing to CEnchantEffect::Lua_Clairvoyance
0x0066A48015lua_trampoline__ClassAddDamageTrampoline wrapper that delegates to CEnchantEffect__Lua_ClassAddDamage for Lua damage calculation binding.
0x0066A49015lua_trampoline__ClassSubDamageTrampoline wrapper that delegates to CEnchantEffect::Lua_ClassSubDamage for Lua binding
0x0066A4A015lua_trampoline__ConditionTrampoline wrapper that delegates Lua condition evaluation to CEnchantEffect's Lua binding method
0x0066A4B015lua_trampoline__DisableSkillLua trampoline wrapper that delegates to CEnchantEffect::Lua_DisableSkill for skill disabling logic
0x0066A4C015lua_trampoline__EnableSkillLua trampoline that forwards skill enablement calls to CEnchantEffect's Lua interface handler
0x0066A4D015lua_trampoline__IndestructibleArmorLua trampoline that delegates IndestructibleArmor enchant effect invocation to CEnchantEffect class method.
0x0066A4E015lua_trampoline__IndestructibleWeaponLua trampoline wrapper that delegates IndestructibleWeapon enchant effect calls to CEnchantEffect::Lua_IndestructibleWeapon
0x0066A4F015lua_trampoline__MagicimmuneLua trampoline that delegates magic immunity effect handling to CEnchantEffect's Lua binding method.
0x0066A50015lua_trampoline__AddCRIPercent_RaceTrampoline wrapper that delegates CRI percent race bonus calculation to CEnchantEffect Lua binding
0x0066A51015lua_trampoline__NoDispellLua trampoline that delegates NoDispell enchant effect initialization to CEnchantEffect class handler
0x0066A52015lua_trampoline__NoJamstoneLua trampoline wrapper that delegates NoJamstone enchant effect initialization to CEnchantEffect class method.
0x0066A53015lua_trampoline__NoMadogearfuelLua trampoline that delegates NoMadogearfuel enchant effect handling to CEnchantEffect class method.
0x0066A54015lua_trampoline__PerfectDamageTrampoline wrapper that delegates to CEnchantEffect::Lua_PerfectDamage for Lua script integration
0x0066A55015lua_trampoline__RaceAddDamageLua trampoline wrapper that delegates race damage addition to CEnchantEffect's Lua binding method.
0x0066A56015lua_trampoline__RaceAddDamageSelfTrampolines CEnchantEffect::Lua_RaceAddDamageSelf() call for Lua binding to race-based self damage modification.
0x0066A57015lua_trampoline__RaceSubDamageTrampoline wrapper that delegates Lua RaceSubDamage calls to CEnchantEffect's Lua binding implementation.
0x0066A58015lua_trampoline__RaceSubDamageSelfTrampoline wrapper that delegates race-based self damage calculations to CEnchantEffect's Lua binding method.
0x0066A59015lua_trampoline__ReincarnationLua trampoline that delegates Reincarnation effect handling to CEnchantEffect__Lua_Reincarnation
0x0066A5A015lua_trampoline__SetIgnoreDEFClassLua trampoline wrapper that delegates SetIgnoreDEFClass call to CEnchantEffect class method.
0x0066A5B015lua_trampoline__AddDamage_CRILua trampoline wrapper that delegates to CEnchantEffect::Lua_AddDamage_CRI for critical damage effect handling
0x0066A5C015lua_trampoline__SetIgnoreDEFRaceLua wrapper that delegates SetIgnoreDEFRace call to CEnchantEffect class
0x0066A5D015lua_trampoline__SetIgnoreDefClass_PercentLua trampoline wrapper that delegates SetIgnoreDefClass_Percent calls to CEnchantEffect for enchantment mechanics.
0x0066A5E015lua_trampoline__SetIgnoreDefRace_PercentLua trampoline that forwards SetIgnoreDefRace_Percent call to CEnchantEffect Lua binding method
0x0066A5F015lua_trampoline__SetIgnoreMdefClassTrampoline wrapper that forwards SetIgnoreMdefClass calls to CEnchantEffect Lua binding implementation.
0x0066A60015lua_trampoline__SetIgnoreMdefRaceLua trampoline that delegates SetIgnoreMdefRace call to CEnchantEffect class with one parameter.
0x0066A61015lua_trampoline__SetInvestigateTrampoline wrapper that delegates Lua SetInvestigate call to CEnchantEffect class implementation
0x0066A62015lua_trampoline__SplashAttackTrampoline wrapper that delegates SplashAttack Lua binding to CEnchantEffect class implementation
0x0066A65015lua_trampoline__SubBowAttackDamageTrampoline wrapper that delegates bow attack damage calculation to CEnchantEffect Lua binding method.
0x0066A66015lua_trampoline__AddDamage_PropertyLua trampoline that delegates AddDamage_Property calls to CEnchantEffect Lua binding implementation.
0x0066A67015lua_trampoline__SubCRIPercent_RaceTrampoline wrapper that delegates SubCRIPercent_Race Lua binding to CEnchantEffect class implementation.
0x0066A68015lua_trampoline__SubDamage_CRITrampoline wrapper that forwards Lua critical damage calculation to CEnchantEffect's SubDamage_CRI method.
0x0066A69015lua_trampoline__SubDamage_PropertyLua wrapper trampoline that delegates to CEnchantEffect::Lua_SubDamage_Property for enchant damage property handling
0x0066A6A015lua_trampoline__SubDamage_SKIDTrampoline wrapper that delegates SubDamage_SKID enchant effect calculations to CEnchantEffect Lua implementation
0x0066A6B015lua_trampoline__SubDamage_SizeTrampoline wrapper that delegates Lua SubDamage_Size query to CEnchantEffect's Lua binding implementation.
0x0066A6C015lua_trampoline__SubEXPPercent_KillRaceLua trampoline that delegates SubEXPPercent_KillRace calculation to CEnchantEffect class method
0x0066A6D015lua_trampoline__SubExtParamTrampoline wrapper that delegates Lua enchant effect parameter subtraction to CEnchantEffect::Lua_SubExtParam
0x0066A6E015lua_trampoline__SubGuideAttackLua trampoline wrapper that delegates SubGuideAttack effect handling to CEnchantEffect class method.
0x0066A6F015lua_trampoline__SubHPdrainLua trampoline wrapper that delegates SubHPdrain effect handling to CEnchantEffect class method
0x0066A70015lua_trampoline__SubHealModifyPercentLua trampoline wrapper that delegates SubHealModifyPercent enchant effect calculations to CEnchantEffect class
0x0066A71015lua_trampoline__AddDamage_SKIDTrampoline wrapper that forwards Lua AddDamage_SKID calls to CEnchantEffect implementation
0x0066A72015lua_trampoline__SubHealValueLua trampoline wrapper that forwards SubHealValue calls to CEnchantEffect's Lua implementation
0x0066A73015lua_trampoline__SubIgnore_MRES_RacePercentLua trampoline wrapper that delegates to CEnchantEffect's SubIgnore_MRES_RacePercent method for enchant calculations.
0x0066A74015lua_trampoline__SubIgnore_RES_RacePercentLua trampoline wrapper that delegates to CEnchantEffect's SubIgnore_RES_RacePercent method for handling race resistance subtraction calculations.
0x0066A75015lua_trampoline__SubMDamage_PropertyTrampoline wrapper that forwards Lua calls to CEnchantEffect::Lua_SubMDamage_Property for enchantment property handling.
0x0066A76015lua_trampoline__SubMDamage_SizeLua trampoline wrapper that delegates SubMDamage size query to CEnchantEffect Lua binding method.
0x0066A77015lua_trampoline__SubMdamage_ClassTrampoline wrapper that delegates SubMdamage class Lua binding to CEnchantEffect implementation
0x0066A78015lua_trampoline__SubMdamage_RaceTrampoline wrapper that delegates Lua SubMdamage_Race enchant effect calculation to CEnchantEffect class method.
0x0066A79015lua_trampoline__SubMeleeAttackDamageTrampolines lua_SubMeleeAttackDamage call to CEnchantEffect::Lua_SubMeleeAttackDamage for melee damage calculation.
0x0066A7A015lua_trampoline__SubMeleeAttackReflectLua trampoline wrapper that delegates melee attack reflect damage calculation to CEnchantEffect class method.
0x0066A7B015lua_trampoline__SubNeverknockbackLua trampoline that delegates to CEnchantEffect::Lua_SubNeverknockback to handle knockback immunity status
0x0066A7C015lua_trampoline__AddDamage_SizeLua trampoline that delegates AddDamage_Size enchant effect calls to CEnchantEffect class implementation
0x0066A7E015lua_trampoline__SubRangeAttackDamageLua trampoline that delegates sub-range attack damage calculation to CEnchantEffect class method.
0x0066A7F015lua_trampoline__SubReceiveItem_EquipTrampoline wrapper that delegates SubReceiveItem_Equip Lua callback to CEnchantEffect class handler
0x0066A80015lua_trampoline__SubReflectMagicLua trampoline that delegates SubReflectMagic enchant effect processing to CEnchantEffect class method.
0x0066A82015lua_trampoline__SubSFCTEquipAmountTrampoline wrapper that delegates to CEnchantEffect::Lua_SubSFCTEquipAmount to subtract SFCT equipment amount via Lua.
0x0066A83015lua_trampoline__SubSFCTEquipPermillLua trampoline wrapper that delegates SubSFCT (Sub-stat Enchant Effect) equipment permill calculation to CEnchantEffect class method.
0x0066A84015lua_trampoline__SubSPconsumptionTrampoline that forwards SP consumption effect Lua calls to CEnchantEffect implementation
0x0066A85015lua_trampoline__subspconsumptionTrampoline that delegates SP consumption effect initialization to CEnchantEffect's Lua binding method
0x0066A86015lua_trampoline__SubSPdrainLua trampoline wrapper that delegates SP drain enchantment effect logic to CEnchantEffect::Lua_SubSPdrain
0x0066A87015lua_trampoline__AddEXPPercent_KillRaceLua trampoline wrapper that delegates AddEXPPercent_KillRace call to CEnchantEffect class method
0x0066B1F086lua_table_iterator__read_string_keyLua 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.
0x0066B7AD129lua_table_iterator__read_number_and_stringLua table iterator helper. Reads number (tonumber) then optionally string (tolstring) from table entry. Returns count of values read (1 or 2).
0x0068A740583lua_get_datatable_valueRetrieves a numeric value from a DataTable using Lua stack arguments as keys, validates input and returns result to Lua.
0x0068B020583lua_DataTable__LookupByArgs_BLua binding that looks up DataTable entries by numeric arguments, validates input, and returns matching row ID or 0.
0x0068B6A0340lua_DataTable__ExtractStringBeforeDotExtracts substring from UI mode string up to first dot separator for Lua DataTable access.
0x0068B8AF195lua_push_string_from_localPushes local std::string to Lua stack via lua_pushstring. Handles SSO buffer and heap-allocated string. Returns 1 value to Lua.
0x0068BD40463lua_DataTable__LookupByArgs_CLua binding that looks up SkillTree entries by numeric arguments, validates input, and returns entry ID to Lua.
0x0068C2B0591lua_DataTable__LookupByArgs_ALua binding that collects numeric args into int vector key, finds/creates DataTable singleton, performs lower_bound lookup, returns result or error.
0x0068C560179lua_CEnchantEffect__GetStringArgLua binding that validates string argument and assigns it to a std::string, returns error if arg not string
0x0068C69D40lua_epilog_string_init_return0_0068c69dLua callback epilog: initializes a local std::string to empty and returns 0 to Lua.
0x00694880163LuaCall__ItemDB_To_ItemIDCalls Lua ItemDB_To_ItemID function to convert item name string to item ID, returns integer ID or 0 on error
0x0069C940163lua_CLoadingTipMgr__SetTipArg1Lua binding for CLoadingTipMgr that sets a loading tip argument from a Lua string parameter with type validation.
0x0069CB23119lua_CItem__cleanup_and_return2Lua CItem callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x0069CBA0164lua_CLoadingTipMgr__SetTipArg2Lua binding that validates string argument and assigns it to CLoadingTipMgr's tip argument 2
0x0069CDD0120lua_CItem__cleanup_and_return2_0069cdd0Lua CItem callback epilog: initializes one empty string, destroys another local string, then returns 2 to Lua.
0x0069CE50163lua_CLoadingTipMgr__SetTipArg3Lua binding that validates and assigns a string argument to CLoadingTipMgr's tip parameter (arg3).
0x0069D099186lua_CItem__cleanup_two_strings_and_return2Lua CItem callback epilog: initializes one empty string, destroys two other local strings, then returns 2 to Lua.
0x0069E230164lua_InsertNeedItemLua binding that validates a string argument and inserts it into a need item collection for quest/shop requirements.
0x0069E3E244lua_CItem__string_init_and_return2Lua CItem callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0069E420369lua_InsertEndableMapLua binding function that inserts a map into an endable maps collection after converting its file path to a hashed key.
0x0069E5A0369lua_InsertStartableMapLua binding that inserts a startable map into game state by converting file path to key and adding to rbtree.
0x0069FCD0549lua_InsertPackageLua callback validating 5 arguments (3 numbers, 1 string, 1 number) and inserting entry into neo-package item table
0x006A0780247lua_C_AddItemSoldLua binding that validates numeric argument and initializes/uses CPaidItemMgr to collect sold items by group ID
0x006AABF944lua_epilog_string_init_return_falseLua callback epilog: initializes a local std::string to empty and returns false (0) to Lua.
0x00731EE144lua_CRuneSystem__string_init_and_return2Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x0073259B44lua_CRuneSystem__string_init_and_return2_0073259bLua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00732C9B44lua_CRuneSystem__string_init_and_return2_00732c9bLua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x007335E444lua_CRuneSystem__string_init_and_return2_007335e4Lua CRuneSystem callback epilog: initializes a local std::string to empty and returns 2 to Lua.
0x00A7D930293lua_ChampionMonsterMgr__InsertOrUpdateLua wrapper for ChampionMonsterMgr::InsertOrUpdate; validates 2 numeric args (mob_id, value), calls native function, returns bool+message
0x00A7DA60370lua_ChampionMonsterMgr__AddRewardLua callback that validates two numeric arguments (mob_id, reward_value), looks up mob in STL map, and pushes reward into its vector.
0x00A7EBF0123lua_CMapObjTree__AddObjStringLua callback that finds/inserts map object by ID and appends a std::string to its string vector at offset 0x38, reallocating if needed.
0x00A7FA30305lua_CMapObjTree__SetObjScaleLua callback that sets scale value (+0x88 offset) for map object via CMapObjTree::FindOrInsert, returns bool and message.
0x00A7FD20306lua_CMapObjTree__SetObjVisibleLua callback that sets visibility flag (offset +0x84) for map object by ID via CMapObjTree::FindOrInsert, returns bool+message
0x00A7FE60305lua_CMapObjTree__SetObjRotationLua binding for CMapObjTree::SetObjRotation - validates 2 number args, finds/inserts object, sets rotation at offset +0x8c, returns bool+message
0x00A9A6E0238CLuaManager__AddVectorEntryAdds a vector entry to CLuaManager's vector at offset 0x80, copying two strings into a 0x30-byte struct
0x00A9A7D0752CLua__CallScriptFunctionInvokes Lua script functions with marshalling of typed arguments (bool/int/double/string) and return values via format string parsing.
0x00A9ABC0786CLua__CallScriptMethodCalls a Lua method on a table object, pushing table/function name and arguments per format string, handling return values.
0x00A9B00098lua_show_error_msgboxDisplays formatted Lua runtime error message in a MessageBox dialog with vsnprintf formatting.
0x00A9B07085CLua__GetGlobalBoolRetrieves a boolean value from a Lua global variable, validating type and returning false if invalid or Lua state is null.
0x00A9B0D0102CLua__GetGlobalIntRetrieves integer value from Lua global variable; returns -1 if not numeric, 0 if Lua state invalid.
0x00A9B140245CLua__GetGlobalStringRetrieves a string value from Lua global variable and copies it to output std::string, returns empty string if Lua state null or type mismatch.
0x00A9B2C057CLua__GetGlobalTableRetrieves a global Lua table by name; returns 1 if table exists, 0 otherwise.
0x00A9B300786CLua__GetGlobalSortedListRetrieves a Lua global table, builds linked list from entries, merge-sorts by 3rd field, returns sorted list.
0x00A9B660429CLua__GetGlobalTypedValueRetrieves a typed global value from Lua table; converts type index to format char ('d'/'s'/'l') and extracts value
0x00A9B810514CLua__GetGlobalTypedStringRetrieves a typed string from Lua global table, converting based on type index (0=double, 1=string, 2=long)
0x00A9BA20104CLua__GetTableFieldRetrieves a field from Lua table using numeric or string key; returns 1 if result is table, else type bitmask.
0x00A9BA90255CLua__PushAndGetArgsPushes Lua value to stack and retrieves typed return value; format string controls push/get types (d=int, s=string, l=double)
0x00A9BB9067CLua__LoadAndExecuteBufferLoads and executes Lua bytecode buffer via luaL_loadbuffer and lua_pcall, returning execution status.
0x00A9BBE026CLua__FreeStateSafely frees a Lua state/thread by calling luaE_freethread and nullifying the pointer to prevent use-after-free.
0x00A9BC0054CLua__ResetStateDestroys existing Lua state and creates a new one, registering builtins and script bindings for RO client scripting.
0x00A9BC4067CLua__CreateThreadCreates new Lua thread from state, stores registry reference, returns thread pointer or 0 on failure.
0x00A9BC90327CLua__DoStringCLua::DoString executes a Lua script string by computing its length and passing it to Lua's string execution handler.
0x00A9C2E0800CLua__RegisterScriptBindingsRegisters Lua C bindings for UI, effects, skills, items, and game mechanics to expose C functions to Lua scripts.
0x00A9C600131lua_c_ChangeDirectoryOfDatasLua binding that retrieves a string argument from the Lua stack and assigns it to a global std::string for the game data directory path.
0x00A9CA00126lua_c_GetRGBColorLua callback converting RGB color components to packed integer with base offset for client color codes.
0x00A9CB80161lua_c_AddNeedSkillListLua binding that adds a prerequisite skill requirement to a skill's dependency list via CSkillTreeMgr.
0x00A9CC30327lua_c_AddSkillListLua callback that validates skill name against hardcoded string, then creates and adds skill entry with ID, level, and numeric parameters.
0x00A9CD80201lua_c_GetCmdOnOffValueLua binding that retrieves on/off command setting value, lazily initializes COptionConfig singleton, returns boolean or special value
0x00A9CE50282lua_c_SetCmdOnOffListLua callback that registers command on/off states into COptionConfig, storing string-ID pairs in global list at DAT_015ff680.
0x00A9CF70166lua_SetSubChatWndListLua callback that adds a string to sub-chat window list if count < 10, used for chat window tab configuration.
0x00A9D460131lua_SetSubChatWndOptionLua binding that retrieves a string argument from Lua stack and assigns it to a sub-chat window option storage buffer via std::string assignment.
0x00A9D610122lua_TraceValueLua binding that extracts a string argument from Lua stack and stores it in a std::string for debug tracing/logging purposes.
0x00A9D720123lua_add_cashshop_banner2Lua binding that retrieves a string parameter from Lua and assigns it to a std::string for a secondary cashshop banner image path.
0x00A9D940123lua_add_cashshop_bannerLua binding that retrieves a cash shop banner image path string and assigns it to an internal std::string storage.
0x00A9DB60131lua_add_checkAttendance_bannerLua binding that retrieves and stores an image path string for the attendance check UI banner.
0x00A9DD9082lua_add_ingredientLua callback that validates crafting window (0x122) exists, then adds ingredient to recipe via CVendingItemList.
0x00A9DDF062lua_add_ingredient_lapine_upgrade_boxLua callback that adds an item to the Lapine upgrade box ingredient list after validating UI window 0x12e exists.
0x00A9DEF0102CLua__UnorderedMapNodeFreeFrees a CLua unordered_map node by clearing next-pointer, destroying string key, and deallocating 0x24-byte memory block.
0x00A9DF60237CLua__UnorderedMapInsertInserts 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.
0x00B17F10968lua__SetEffectPropertyLua binding that modifies effect object properties (position, color, UV, texture) by ID via property type switch.
0x00B18E70707lua_SetEffectPropertyLua binding function that modifies effect properties (position, rotation, color, animation) via CEffectManager lookup by handle.
0x00B3B1B0182lua__SetNavigationTargetLua binding that sets navigation target from number ID and string destination name parameters
0x00C3C25040LuaState__ctorInitializes a LuaState object by setting vtable, creating a new Lua state via luaL_newstate(), and setting validity flag.
0x00C3C28082LuaState__dtorDestructor for LuaState wrapper class; frees Lua thread and nullifies pointer with stack cookie protection.
0x00C3C2E0100LuaState__scalar_dtorDestructor for LuaState that cleans up thread resources and optionally deallocates the object instance.
0x00C3C35018LuaState__resetInitializes a new Lua state and stores the pointer at offset +4 in the LuaState object.
0x00C3C37028LuaState__closeCloses a Lua state by freeing its thread and zeroing the state pointer at offset +4.
0x00C3C39055LuaThread__ctorInitializes a LuaThread object by creating a new Lua coroutine from parent state and setting ownership flag.
0x00C3C3E039LuaThread__scalar_dtorDestructor for LuaThread scalar type; sets vftable, clears member, conditionally deallocates 12-byte object.
0x00C3C41033LuaThread__resetCreates a new Lua thread from parent state and stores it in the thread object's state field.
0x00D58E30333CItemOwner__CallDrawOnTopCalls Lua "DrawOnTop" or "_New_DrawOnTop" to render item overlays with coordinates and UI state parameters.