You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hbc-decompiler index.android.bundle zamer.js Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Python311\Scripts\hbc-decompiler.exe\__main__.py", line 7, in <module> File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 91, in main do_decompilation(state, file_handle) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 67, in do_decompilation decompile_function(state, global_function_index) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 52, in decompile_function dehydrated.output_code(state) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 236, in output_code op.closure_decompile(self) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 452, in closure_decompile hbc_decompiler.decompile_function(self.state, self.function_id, File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 52, in decompile_function dehydrated.output_code(state) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 236, in output_code op.closure_decompile(self) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 452, in closure_decompile hbc_decompiler.decompile_function(self.state, self.function_id, File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 50, in decompile_function pass4_name_closure_vars(state, dehydrated) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\pass4_name_closure_vars.py", line 77, in pass4_name_closure_vars var_name = '_closure%d_slot%d' % (function_body.local_items[token.register].nesting_quantity, ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: 1
As a (temporary) workaround you can use Kirlif's fork of hbctool which has a working disassembler up to version 96 or even the official hbcdump disassembler.
Edit: Ah if it's only the decompiler that doesn't work then you don't have too many options unfortunately
I get this error
hbc-decompiler index.android.bundle zamer.js Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "C:\Python311\Scripts\hbc-decompiler.exe\__main__.py", line 7, in <module> File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 91, in main do_decompilation(state, file_handle) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 67, in do_decompilation decompile_function(state, global_function_index) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 52, in decompile_function dehydrated.output_code(state) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 236, in output_code op.closure_decompile(self) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 452, in closure_decompile hbc_decompiler.decompile_function(self.state, self.function_id, File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 52, in decompile_function dehydrated.output_code(state) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 236, in output_code op.closure_decompile(self) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\defs.py", line 452, in closure_decompile hbc_decompiler.decompile_function(self.state, self.function_id, File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\hbc_decompiler.py", line 50, in decompile_function pass4_name_closure_vars(state, dehydrated) File "C:\Python311\Lib\site-packages\hermes_dec\decompilation\pass4_name_closure_vars.py", line 77, in pass4_name_closure_vars var_name = '_closure%d_slot%d' % (function_body.local_items[token.register].nesting_quantity, ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ KeyError: 1
File:
https://www.mediafire.com/file/4wbv2a2c8xu4tjd/index.android.bundle/file
The text was updated successfully, but these errors were encountered: