I've made a several jumps to overwrite default limit value(56), it works well at some functions, but not for CCoronas__RegisterCorona(0x542490).
I tried to change the code at 0x5425B7 with several ways, but it didn't work. So i just ended up with this:
CPatch::SetChar(0x5425B7+0x3, 127); CPatch::SetChar(0x5425C5+0x3, 127);
I don't know how to change
.text:005425B7 01C cmp dx, 38h
and so on to make it work with the number more than 127. With 128 it's kinda works, i have one more corona but game starts to lag like hell, from 60 fps to 5-10.
Any advice would be appreciated.
CCoronas__RegisterCorona on pastebin || pseudocode