Finding FName/FNamePool Funcs
By the way, they don't really use FNamePool namespace, you'll have to look at UnrealNames.cpp in UE source for some NamePool functions.
FNamePool::FNamePool (aka StaticInit before FNamePool):
You can recognize it because it has a lot of vars
IDA String: ??0FNamePool@@QEAA@XZ
FName::ToString(FString &):
You can recognize it because it has 4 args (arg 0, arg 8, arg 10, arg 18)
String to use "NameDefaultErrorCtx" Click the xref for _%d (above). And then scroll down for a second and it should be there.
IDA String: ?ToString@FName@@QEBAXAEAVFString@@@Z
FName::ToString(wchar_t*, uint):
You can recognize it because it has src or buffer, 2 vars, and 2 args.
String to use "NameDefaultErrorCtx" Click the xref for _%d (above).
Scroll up for like a second or two and there it should be.
IDA String: ?ToString@FName@@QEBAIPEA_WI@Z
FName::ToString():
You can recognize it because it has 3 vars and 3 args
String to use "NameDefaultErrorCtx" Click the xref for _%d (above).
Scroll up for 5-10 seconds.
If you go to the loc under the function, that calls FNamePool::FNamePool. If you go to the loc under the first loc (second loc), that calls FNameEntry::GetPlainNameString.
IDA String: ?ToString@FName@@QEBA?AVFString@@XZ
GetNamePool() (GetNames for pool):
Finding FNamePool:
Method 1:
Method 2 (using FMemory::Free):
Last updated
Was this helpful?