Arithmetic operation resulted in an overflow.

See original GitHub issue

Note: if you do not provide all of the following information I will directly ignore and close this issue

Initializing metadata...
Metadata Version: 27
Initializing il2cpp file...
Detected this may be a dump file.
Input il2cpp dump address or input 0 to force continue:
baaec000
Il2Cpp Version: 27
Input global-metadata.dat dump address:
aa52e000
Searching...
CodeRegistration : bd40bf60
MetadataRegistration : bd40bfe0
System.OverflowException: Arithmetic operation resulted in an overflow.
   at Il2CppDumper.BinaryStream.ReadClassArray[T](Int64 count) in C:\projects\il2cppdumper\Il2CppDumper\IO\BinaryStream.cs:line 197
   at Il2CppDumper.Il2Cpp.Init(UInt64 codeRegistration, UInt64 metadataRegistration) in C:\projects\il2cppdumper\Il2CppDumper\Il2Cpp\Il2Cpp.cs:line 136
   at Il2CppDumper.Il2Cpp.AutoPlusInit(UInt64 codeRegistration, UInt64 metadataRegistration) in C:\projects\il2cppdumper\Il2CppDumper\Il2Cpp\Il2Cpp.cs:line 91
   at Il2CppDumper.Program.Init(String il2cppPath, String metadataPath, Metadata& metadata, Il2Cpp& il2Cpp) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 197
ERROR: An error occurred while processing.
Press any key to exit...

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Perfarecommented, Aug 9, 2022

@VanHoevenTR It is already supported after this, you need to control some behavior in config file. refer to this https://github.com/Perfare/Il2CppDumper#configuration and #598

0reactions
masagratorcommented, Dec 29, 2022

@BoomboomDada Unity is changing stuff with every release. Without access to source code, author must add compability based on what they have. Issue is not with compability with 32-bit apps, issue is that this tool is just not perfect. Create another issue otherwise author will omit your issue since you added stuff after it was closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - Arithmetic operation resulted in an overflow. (Adding ...
Solution: Use an Int64 for your volume. With a max value of 9223372036854775807 , you're probably more on the safe side. Share.
Read more >
** Troubleshooting ** "Arithmetic operation resulted in an ...
If you click Quit, the application will close immediately. Arithmetic operation resulted in an overflow. ... Example #2 (Controller 10.4.0):.
Read more >
[Solved] - Arithmetic operation resulted in an overflow
Step 1: Close the opened application ; Step 2: Go to Run command (Windows + R) ; Step 3: Type %temp% ; Step...
Read more >
"OverflowException occurred Arithmetic operation resulted ...
Go to Application pool=>Advance settings and enable 32 bit application to true. It resolved it for me. Permalink. Share this answer.
Read more >
Arithmetic operation resulted in an overflow - Help
It means that CInt argument is out of range of Integer, -0x80000000 to 0x7FFFFFFF And it happens when NetApiBufferFree returns an error: error ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found