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

Error KeyError: 1 (Version 96) #13

Open
mragonias opened this issue Aug 17, 2024 · 0 comments
Open

Error KeyError: 1 (Version 96) #13

mragonias opened this issue Aug 17, 2024 · 0 comments

Comments

@mragonias
Copy link

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

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

1 participant