Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on UE 4.12 due to GObjects = nullptr #280

Open
SakuraKoi opened this issue Jan 10, 2025 · 2 comments
Open

Crash on UE 4.12 due to GObjects = nullptr #280

SakuraKoi opened this issue Jan 10, 2025 · 2 comments

Comments

@SakuraKoi
Copy link

SakuraKoi commented Jan 10, 2025

Game name: Hide and Shriek (free on steam)
Unreal version: 4.12 (unsure, RE-UE4SS said it's, game exe doesnt have version

When I try to dump sdk, it crashed, and debugging shows that the error occurs at the following location

return UEType(ByIndex(GObjects + Off::FUObjectArray::GetObjectsOffset(), Index, SizeOfFUObjectItem, FUObjectItemInitialOffset, NumElementsPerChunk));

Both GObjects and ByIndex is nullptr

CallStack:

 	0000000000000000()	
>	Dumper-7.dll!ObjectArray::GetByIndex<UEObject>(int Index)
 	Dumper-7.dll!OffsetFinder::FindUObjectFlagsOffset()
 	Dumper-7.dll!Off::Init()
 	Dumper-7.dll!Generator::InitEngineCore()
 	Dumper-7.dll!MainThread(HINSTANCE__ * Module)

Log:

Started Generation [Dumper-7]!

Dumper-7 by me, you & him


Searching for GObjects...

Found 'TNameEntryArray GNames' at offset 0x24ED068

Found FName::AppendString at Offset 0x208FC0

<crashed>

Another dumper found a GObjects address out of module section and changes everytime game starts (dynamic?
That dumper successfully dumped something, it should be a valid address, but it's also broken due to lacks class fields
So it seems this game's GObjects not located within the module section and allocated dynamiclly?

I've tried rewrite ObjectArray::Init directly point to that address and dump again, it crashed again on a different location

If you could give me some advice on how to solve this problem, I'd appreciate it.
Thank's for reading, I'm completely a newbie at reversing the Unreal engine, so please apologize if I have any dumb questions :)

@Fischsalat
Copy link
Collaborator

So what am I supposed to do with "it crashes on a different location"? Overwrite the module name for GObjects properly and attach the visual studio debugger.

@ElCapor
Copy link

ElCapor commented Jan 21, 2025

sigma i agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants