124 files changed.

This commit is contained in:
Milxnor
2023-04-15 19:53:58 -04:00
parent 63473de425
commit bbf28ed9e9
124 changed files with 60988 additions and 577 deletions

View File

@@ -109,7 +109,7 @@ inline __int64 GetIndexFromVirtualFunctionCall(__int64 NativeAddr)
return HexToDec(wtf);
}
inline __int64 GetFunctionIdxOrPtr(UFunction* Function)
inline __int64 GetFunctionIdxOrPtr(UFunction* Function, bool bBreakWhenHitRet = false)
{
if (!Function)
return 0;
@@ -195,7 +195,9 @@ inline __int64 GetFunctionIdxOrPtr(UFunction* Function)
if (!RetAddr && *(uint8_t*)(NativeAddr + i) == 0xC3)
{
RetAddr = NativeAddr + i;
// break;
if (bBreakWhenHitRet)
break;
}
}