gdke icon indicating copy to clipboard operation
gdke copied to clipboard

Can Android also be decompiled

Open fgknnc opened this issue 1 year ago • 11 comments

Can apk also be decompiled

fgknnc avatar Aug 30 '24 23:08 fgknnc

Can apk also be decompiled

Nope. GDKE uses DLL injection, which is only for Windows. I don't know if macOS/Linux supports it, but it can't be for mobile (iOS, iPadOS, Android)

PaologGithub avatar Aug 31 '24 06:08 PaologGithub

? > > No. GDKE uses DLL injection and is only available for Windows. I don't know if macOS/Linux supports it, But it's not available for mobile devices (iOS, iPad OS, Android).

How do I find the encryption key for the gde file on Android?

fgknnc avatar Sep 01 '24 18:09 fgknnc

? > > No. GDKE uses DLL injection and is only available for Windows. I don't know if macOS/Linux supports it, But it's not available for mobile devices (iOS, iPad OS, Android).

How do I find the encryption key for the gde file on Android?

I don't really know. You can't really inject things into an apk. Try using apktool, and watch the files to see if somewhere there is a trace of the key

PaologGithub avatar Sep 02 '24 04:09 PaologGithub

your best bet would be to use ida/ghidra/etc to reverse the binary and find the encryption key. i have a guide in the description although might be outdated for newer godot games

char-ptr avatar Sep 03 '24 06:09 char-ptr

How can I obtain the encryption key for an Android game made with Godot?

fgknnc avatar Oct 01 '24 22:10 fgknnc

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

char-ptr avatar Oct 03 '24 18:10 char-ptr

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

I inverted the apk binary with ida, but I didn't find the gdscript::load_byte_code function

fgknnc avatar Oct 05 '24 09:10 fgknnc

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

I inverted the apk binary with ida, but I didn't find the gdscript::load_byte_code function

One new godot (4.x), it isn't anymore this function. I don't know what this is now, but the gdscript::load_byte_code is for godot 3.x

PaologGithub avatar Oct 05 '24 09:10 PaologGithub

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

I inverted the apk binary with ida, but I didn't find the gdscript::load_byte_code function

One new godot (4.x), it isn't anymore this function. I don't know what this is now, but the gdscript::load_byte_code is for godot 3.x

It is made by Godot 3.2

fgknnc avatar Oct 05 '24 09:10 fgknnc

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

I inverted the apk binary with ida, but I didn't find the gdscript::load_byte_code function

One new godot (4.x), it isn't anymore this function. I don't know what this is now, but the gdscript::load_byte_code is for godot 3.x

it's now this function https://github.com/godotengine/godot/blob/db66bd35af704fe0d83ba9348b8c50a48e51b2ba/core/io/file_access_pack.cpp#L150 (specifically this part https://github.com/godotengine/godot/blob/db66bd35af704fe0d83ba9348b8c50a48e51b2ba/core/io/file_access_pack.cpp#L246-L260)

char-ptr avatar Oct 05 '24 11:10 char-ptr

How can I obtain the encryption key for an Android game made with Godot?

read my previous message c:

I inverted the apk binary with ida, but I didn't find the gdscript::load_byte_code function

One new godot (4.x), it isn't anymore this function. I don't know what this is now, but the gdscript::load_byte_code is for godot 3.x

it's now this function https://github.com/godotengine/godot/blob/db66bd35af704fe0d83ba9348b8c50a48e51b2ba/core/io/file_access_pack.cpp#L150 (specifically this part https://github.com/godotengine/godot/blob/db66bd35af704fe0d83ba9348b8c50a48e51b2ba/core/io/file_access_pack.cpp#L246-L260)

I found open_and_parse, but it's not a function. What should I do next

fgknnc avatar Oct 06 '24 05:10 fgknnc