The strings of the language resource library, loaded into a table by identifier.
More...
Go to the source code of this file.
|
| #define | STRING_RESOURCE_COUNT 302 |
| | The number of strings of the language resource library, numbered from 1.
|
The strings of the language resource library, loaded into a table by identifier.
◆ STRING_RESOURCE_COUNT
| #define STRING_RESOURCE_COUNT 302 |
The number of strings of the language resource library, numbered from 1.
◆ LoadStringTableFromDll()
| void LoadStringTableFromDll |
( |
void | | ) |
|
Load the string table of the language resource library.
The table is cleared each time, and the strings are loaded only the first time.
- Ghidra address:
- BRD3D: 0x10073f60
- Ghidra address:
- BRGlide: 0x1006d1a0
◆ GetStringResource()
| char * GetStringResource |
( |
unsigned | nResourceId | ) |
|
Look up a string of the loaded string table.
- Parameters
-
| nResourceId | Identifier of the string resource. |
- Returns
- The string, managed by the table, or NULL for an identifier out of range.
- Ghidra address:
- BRD3D: 0x10074030
- Ghidra address:
- BRGlide: 0x1006d280
◆ FreeStringTable()
| void FreeStringTable |
( |
void | | ) |
|
Free the buffer of the strings.
- Ghidra address:
- BRD3D: 0x10074050
- Ghidra address:
- BRGlide: 0x1006d2a0
◆ g_apszStringResourceTable
The strings of the language resource library by identifier.
The first entry is unused.
- Ghidra address:
- BRD3D: 0x11829370
- Ghidra address:
- BRGlide: 0x1186c488
◆ g_pStringTableBuffer
| char* g_pStringTableBuffer |
|
extern |
The buffer the strings are loaded into, allocated once.
- Ghidra address:
- BRD3D: 0x1182982c
◆ g_dwStringTableUsedBytes
| size_t g_dwStringTableUsedBytes |
|
extern |
The bytes of g_pStringTableBuffer the loaded strings use.
- Ghidra address:
- BRD3D: 0x11829830
◆ g_dwStringTableBufferSize
| size_t g_dwStringTableBufferSize |
|
extern |
The size of g_pStringTableBuffer, the size of the library file.
- Ghidra address:
- BRD3D: 0x11829834