Encoding
Base64, Base62, RC4, hex, BigNum, CBOR/JSON, UTF-8, GameGuard XOR/hex obfuscation
| Address | Size | Name | Description |
|---|---|---|---|
| 0x004DD810 | 351 | STL_utf8_encode_codepoint | Encodes a Unicode codepoint to UTF-8 bytes, determining sequence length (1-4 bytes) and delegating to appropriate encoder via jump table. |
| 0x004DE410 | 193 | STL_detect_bom_encoding | Detects BOM encoding type (UTF-8/16/32 LE/BE) and advances pointer past BOM; returns encoding ID or unknown. |
| 0x004DE4E0 | 118 | STL_detect_encoding_from_bom_or_nulls | Detects text encoding (UTF-32/UTF-16/UTF-8) by checking BOM or null byte patterns in buffer. |
| 0x004DEFC0 | 165 | STL_utf8_validate_trailing_bytes | Validates UTF-8 multi-byte character sequences by checking continuation byte markers and lead byte ranges for E0, ED, F0, F4. |
| 0x0050B0E0 | 719 | hex_encode_bytes | Encodes binary data as hexadecimal string characters |
| 0x0050B3C0 | 84 | hex_encode_byte_range | Encodes binary data as hexadecimal string characters |
| 0x0050B420 | 27 | base64_encode_standard | Wrapper that encodes data using standard base64 alphabet (A-Z, a-z, 0-9, +/, =) for RO client data encoding. |
| 0x0050B440 | 27 | base64_encode_standard_to_string | Wrapper that encodes data to base64 using standard alphabet (A-Za-z0-9+/=) and writes to string |
| 0x0050B460 | 27 | base64_decode_standard | Wrapper that decodes base64-encoded data using standard RFC 4648 alphabet (+/ padding). |
| 0x0050B480 | 1330 | base64_encode | Encodes binary data to base64 using provided lookup table, appending result to std::string output buffer with dynamic allocation. |
| 0x0050B9D0 | 354 | base64_encode_to_string | Encodes binary data to base64 string using custom alphabet from param_3 config, with configurable padding char |
| 0x0050BB40 | 382 | base64_decode_from_string | Encodes 3-byte chunks into 4-character base64 strings using custom alphabet, padding with configurable char. |
| 0x0050BCC0 | 27 | base64url_encode | Encodes data using base64url alphabet (RFC 4648) with '-' and '_' instead of '+' and '/' |
| 0x0050BCE0 | 27 | base64url_encode_to_string | Encodes data to base64url format (RFC 4648) using URL-safe alphabet with '-' and '_' instead of '+' and '/' |
| 0x0050BD00 | 27 | base64url_decode | Decodes base64url-encoded strings using RFC 4648 alphabet (replacing + with - and / with _) |
| 0x0050BEF0 | 877 | json_escape_string | Escapes JSON string by encoding special chars (\b\t\n\f\r\"\\), control chars, non-ASCII (if param_3), and / (if param_4) as \uXXXX or surrogate pairs. |
| 0x0050C9A0 | 1059 | BigNum__ParseDecimalString | Parses decimal string into BigNum, handles negative sign, validates digits, builds limb representation with error handling. |
| 0x0050CF80 | 314 | utf8_decode_codepoint_v2 | Decodes single UTF-8 codepoint from byte stream, validates trailing bytes, returns U+FFFD for invalid sequences. |
| 0x0050D840 | 1123 | BigInt__SerializeToBase256 | Serializes a big integer to base-256 representation by repeatedly dividing by 256 and pushing remainder bytes to vector. |
| 0x00515050 | 159 | JsonValue__GetArrayRange | Extracts begin/end iterators from JSON array value, throws exception if type is not array (type==9). |
| 0x005150F0 | 174 | JsonValue__GetArrayRange_recursive | Recursively dereferences JSON array values of type reference (0xC) to extract array bounds into output parameter. |
| 0x005151A0 | 199 | JsonValue__GetBool | Extracts boolean value from JSON value object, handling bool/int/reference types with recursive dereferencing. |
| 0x00515290 | 159 | JsonValue__GetByteString | Extracts byte string data (type 8) from JsonValue, recursively dereferences type 0xC references, throws on type mismatch. |
| 0x00515330 | 158 | JsonValue__GetCString | Extracts C string pointer from JSON value, dereferencing type 6/7/C nodes; throws exception if not string type. |
| 0x005153D0 | 318 | JsonValue__GetDouble | Extracts double value from JsonValue, supporting int/uint/half-float/double/string types with locale-aware parsing and reference dereferencing. |
| 0x00515540 | 181 | JsonValue__GetStringPtrLen | Extracts string pointer and length from JsonValue; handles inline strings (type 6), allocated strings (type 7), and references (type 0xC). |
| 0x00515600 | 275 | BigInt__Compare | Compares two BigInt objects by sign, then magnitude (128-bit limbs), returns -1/0/1 with negation if negative. |
| 0x00515720 | 165 | JsonValue__HasMapKey | Checks if a JSON map contains a given key; dereferences type 0xC references and searches the map's string-keyed entries. |
| 0x005157D0 | 185 | BigInt__AllocateLimbs | Allocates and initializes limb array for BigInt, rounding count to 4-limb multiples, using aligned allocation for sizes >=4KB. |
| 0x00515D60 | 3571 | BigInt__DivMod | Performs big integer division with remainder using Knuth Algorithm D, handling both single and multi-limb divisors. |
| 0x00516BE0 | 801 | CborValue__Accept | Implements visitor pattern dispatch for CBOR value types, invoking appropriate handler vtable methods based on value type tag. |
| 0x00516F40 | 180 | CborValue__GetMajorType | Extracts the major type (upper 3 bits) from a CBOR value's type byte at offset +4 |
| 0x00517000 | 276 | CborValue__MapLookup | Looks up a key in a CBOR map structure, returns pointer to value at offset +0x18, throws exception if key not found or invalid type. |
| 0x00517120 | 49 | CborValue__GetByteStringTag | Extracts 8-byte tag value from CBOR byte string, dereferencing indirect references (type 0xC) until reaching actual data. |
| 0x00517160 | 167 | CborValue__FindMapEntry | Locates a key entry in a CBOR map/tag structure; returns iterator to matching or end position for binary search. |
| 0x005752A0 | 129 | safe_wchar_realloc | Reallocates wide-character buffer with size validation; doubles allocation size and throws error code 0x8007000e on failure. |
| 0x00575650 | 182 | mbstr_to_wstr_alloc | Converts multibyte string to dynamically allocated wide string using locale-aware _Mbrtowc conversion, caller must free. |
| 0x00581BF0 | 71 | count_mbcs_chars | Counts multi-byte characters in a string within optional bounds using CharNextExA for codepage-aware iteration. |
| 0x00581C40 | 71 | count_utf8_chars | Counts UTF-8 characters in a byte range by skipping continuation bytes (0x80-0xBF), handling null-terminated or bounded strings. |
| 0x00581C90 | 76 | get_mbcs_byte_length | Calculates byte length of MBCS string within optional bounds using CharNextExA for proper multi-byte character iteration. |
| 0x00581CE0 | 36 | utf8_skip_char | Skips past one UTF-8 character by advancing pointer over continuation bytes (0x80-0xBF). |
| 0x00581D10 | 34 | utf8_retreat_char | Moves a UTF-8 string pointer backwards by one character, skipping continuation bytes (0x80-0xBF). |
| 0x005843D0 | 423 | BigNum__SubtractRepeated | Repeatedly subtracts a divisor from a BigNum until result < divisor, returning quotient via trial division with borrow propagation. |
| 0x00588820 | 334 | utf8_decode_codepoint | Decodes UTF-8 byte sequence to Unicode codepoint with validation flags for underflow, surrogates, and max codepoint violations. |
| 0x005F6A30 | 1820 | base64_decode | Decodes base64-encoded strings with optional newline stripping, outputting to STL string buffer with length validation. |
| 0x005F7160 | 115 | base64_decode_assign | Assigns base64-decoded data from param_1 to STL string param_2, managing stack frame setup/teardown |
| 0x005F71E0 | 155 | base64_encode_with_string_output | Wraps base64_encode_to_string_v2 to encode param_1 into an STL string output, with stack canary protection. |
| 0x005F7280 | 2808 | std_string__append_base64_char | Appends a single base64-encoded character to a std::string with dynamic reallocation, using param_4 to select alphabet variant. |
| 0x005F8180 | 90 | base64_decode_char_lookup | Decodes base64 character to 6-bit value (0-63); supports standard and URL-safe alphabet variants (+/- and -/_ mappings. |
| 0x006B2EF0 | 1630 | JSON__EscapeString | Escapes JSON string by wrapping in quotes and converting special chars (\b,\t,\n,\f,\r,\",\\) and control chars (<0x20) to escape sequences. |
| 0x006B35E0 | 149 | JSON__IntToString | Converts a signed integer to a string representation and assigns it to a std::string object. |
| 0x006B3760 | 293 | JSON__DoubleToString | Converts double to JSON string, formats with "%#.16g", strips trailing zeros and unnecessary decimals. |
| 0x006B3B10 | 1334 | JSON__WriteArray | Serializes a Variant array to JSON format, supporting both inline and expanded (newline-indented) output modes. |
| 0x006B4050 | 1056 | JSON__WriteArray_PrettyPrint | Serializes JSON array to string with pretty-printing, handling multiline formatting, indentation, and element iteration with commas. |
| 0x00735B60 | 1652 | rc4_crypt | RC4 stream cipher encryption/decryption processing 8 bytes per iteration, updating S-box state and XORing keystream with data |
| 0x007FBBD0 | 257 | item_link_base62_decode | Decodes a base62-encoded string into an integer value using alphabet "0-9a-zA-Z". |
| 0x007FBCE0 | 694 | item_link_base62_encode | Encodes a numeric value using base-62 alphabet into a std::vector<char> string buffer. |
| 0x0081C4B0 | 257 | DecodeBase62String | Decodes a base-62 encoded string (0-9a-zA-Z) into a 32-bit integer value for item/chat IDs. |
| 0x00842A20 | 257 | Base62__Decode | Decodes a base-62 encoded string (0-9a-zA-Z) into an integer using positional weighting with base 62. |
| 0x00842B30 | 694 | Base62__Encode | Encodes a 32-bit integer to base-62 string using charset "0-9a-zA-Z", stores result in std::string output parameter. |
| 0x0097DF00 | 257 | base62_decode | Decodes base-62 encoded string (0-9a-zA-Z) to integer using positional notation with base 62. |
| 0x0097E170 | 140 | find_line_break_in_text | Finds the next line break in text, skipping multi-byte color codes and handling character boundaries for rendering. |
| 0x00A85F20 | 107 | string_to_lower_mbcs | Converts ASCII uppercase letters to lowercase in MBCS strings, respecting multibyte character boundaries via CharNextExA. |
No function here matches that. Search all 43,836 functions instead.