View Single Post
Old 2009-04-30, 07:58   Link #313
Doughnuts
Senior Member
 
Join Date: Dec 2007
Location: England
Age: 37
I'm sure you meant Integer, since floats have no sign (or are always signed). There'd be no reason for anyone to store a counter in a float anyway.

Considering the value in the mutagen file is 65536, rather than 65535 (the maximum value of a 16b int), It'd make sense to assume that the counter is held as a 32b int in memory and treated as such, so unless there are any additional checks, you 'should' be able to increase it.

I'm curious as to whether that mutagen file actually does anything though. I've changed the value in the file, reloaded the app and attached a debugger, found what appears to be the code that does the normal comparison to the max search results and checked it's value again, but it remains 65536 and not the value I changed it to. :s. Hopefully though, you could just NOP the JBE after the comparison and if there are no further checks, you'll be able to get as many search results as you want, but the effects will be unpredictable.
Doughnuts is offline   Reply With Quote