Dobby icon indicating copy to clipboard operation
Dobby copied to clipboard

Crash with few functions while hooking them twice or more?

Open RusJJ opened this issue 3 years ago • 4 comments

So, in a GTA:SA for Android we have a function for handling screen touching. It's name is AND_TouchEvent. If you hook it twice, it will crash the whole game with SIGBUS. The function starts with: HEX:

F0 B5 03 AF 2D E9 00 0F 8D B0 44 F2 40 26 01 28 99 46 93 46 8A 46 4F F0 00 05

Disasm (IDA):

.text:002697C0 PUSH {R4-R7,LR} .text:002697C2 ADD R7, SP, #0xC .text:002697C4 PUSH.W {R8-R11} .text:002697C8 SUB SP, SP, #0x34 .text:002697CA MOVW R6, #IDA Failed Here .text:002697CE CMP R0, #1

Cydia Substrate and Inline hook is failed on it too. What may be wrong with that?

RusJJ avatar Jan 04 '23 21:01 RusJJ

only crash with hooked twice ?

jmpews avatar Jan 15 '23 06:01 jmpews

Sure. That happens using Cydia tho

RusJJ avatar Jan 19 '23 18:01 RusJJ

Have you tried anything?

RusJJ avatar Jan 29 '23 09:01 RusJJ

So it's abandoned? Damn man

RusJJ avatar Jul 03 '23 10:07 RusJJ