ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Apr 13, 2021 1:13 am

All times are UTC




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Dec 02, 2020 5:39 am 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 764
The game loads the sounds from the "s" file, however for my distribution of the game the "compressed" version isn't present and the game runs on Java instead of C++ (at least on Android which is what I'm looking at), unfortunately converting the smali function that loads the sound files to Java errors the decompiler out... According to code, there's headerless ADPCM data in the file in some form. Can someone crack this sound file? Please note I renamed the file to make name sorting easier. https://anonfiles.com/5aD5efvfp8/SouthP ... ile_uncomp


Attachments:
File comment: SMALI files
SRCSmali.zip [345.08 KiB]
Downloaded 77 times

_________________
Hacking Angry Birds since 2016
Top
   
PostPosted: Wed Dec 02, 2020 7:35 pm 

Joined: Sat Sep 28, 2019 7:00 pm
Posts: 330
Here are functions, where most work with the sound file is being done. Sampler invokes p_mixeri_readSoundFile to read into byte buffer and then invokes decodeadpcm (int version) to decode that buffer. There is also "short" version of that function, but it seems it's not used.
I advise you to convert dex to jar and use fernflower based decompiler or some wrapper for it, like bytecode viewer, to decompile dex/apk directly.


Attachments:
decode_functions.zip [3.78 KiB]
Downloaded 51 times

_________________
You can request AES keys on rin forums (the list with keys is also there)
AES keys finder and latest UE4 bms scripts: in this post
Top
   
PostPosted: Wed Dec 02, 2020 8:52 pm 
User avatar

Joined: Fri Apr 20, 2018 12:41 am
Posts: 764
I did use an online smali to Java converter but I guess its a little outdated. Thanks anyway.

_________________
Hacking Angry Birds since 2016


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited