Hi Edge,
I met an exception but I can not really know what's the root cause. I tried to find out the exception point via MAP file and asm debug trace.
Can you give me some hint what function I use to cause this fatal exception?
Thanks!
1)
MAP file shows the exception happened here!
2)
asm trace and exception happened at 000B91E4
I met an exception but I can not really know what's the root cause. I tried to find out the exception point via MAP file and asm debug trace.
Can you give me some hint what function I use to cause this fatal exception?
Thanks!
1)
MAP file shows the exception happened here!
- Code:
?ClassEDisplay_PixelCopy@@YAXPAX0JJJJKKKKKKE@Z 00095510 f Edge:emod_dsp.obj
2)
asm trace and exception happened at 000B91E4
- Code:
?Free@E2DSurface@@UAAXXZ:
000B9080 stmdb sp!, {r4, r5, lr}
000B9084 mov r4, r0
000B9088 ldrb r3, [r4, #0x5E]
000B908C cmp r3, #0
000B9090 beq 000B91E4
000B9094 ldr r3, [r4, #0x80]
000B9098 cmp r3, #0
000B909C movhi r3, #1
000B90A0 strhi r3, [r4, #0x80]
000B90A4 blhi 000B9028
000B90A8 ldr r3, [r4, #4]
000B90AC mov r5, #0
000B90B0 cmp r3, #0
000B90B4 beq 000B91DC
000B90B8 ldr r1, [r4, #0x34]
000B90BC cmn r1, #1
000B90C0 beq 000B90D4
000B90C4 ldr r0, [r3, #4]
000B90C8 bl 00096758
000B90CC mvn r3, #0
000B90D0 str r3, [r4, #0x34]
000B90D4 ldrb r2, [r4, #0x5E]
000B90D8 movs r3, r2
000B90DC addmi r3, r3, #0xF
000B90E0 mov r3, r3, asr #4
000B90E4 sub r3, r2, r3, lsl #4
000B90E8 cmp r3, #1
000B90EC bne 000B9104
000B90F0 ldr r3, [r4, #4]
000B90F4 ldr r1, [r4, #0x74]
000B90F8 ldr r0, [r3, #0x1C]
000B90FC bl 000946C8
000B9100 str r5, [r4, #0x74]
000B9104 ldr r3, [r4, #4]
000B9108 ldr r1, [r4, #0xC]
000B910C ldr r0, [r3, #0x1C]
000B9110 bl 000946C8
000B9114 ldr r3, [r4, #4]
000B9118 ldr r1, [r4, #0x3C]
000B911C str r5, [r4, #0xC]
000B9120 ldr r0, [r3, #0x1C]
000B9124 bl 000946C8
000B9128 ldr r3, [r4, #4]
000B912C ldr r1, [r4, #0x38]
000B9130 str r5, [r4, #0x3C]
000B9134 ldr r0, [r3, #0x1C]
000B9138 bl 000946C8
000B913C ldr r3, [r4, #4]
000B9140 ldr r1, [r4, #0x68]
000B9144 str r5, [r4, #0x38]
000B9148 ldr r0, [r3, #0x1C]
000B914C bl 000946C8
000B9150 ldr r3, [r4, #4]
000B9154 ldr r1, [r4, #0x64]
000B9158 str r5, [r4, #0x68]
000B915C ldr r0, [r3, #0x1C]
000B9160 bl 000946C8
000B9164 ldr r3, [r4, #4]
000B9168 ldr r1, [r4, #0x6C]
000B916C str r5, [r4, #0x64]
000B9170 ldr r0, [r3, #0x1C]
000B9174 bl 000946C8
000B9178 ldr r3, [r4, #4]
000B917C ldr r1, [r4, #0x70]
000B9180 str r5, [r4, #0x6C]
000B9184 ldr r0, [r3, #0x1C]
000B9188 bl 000946C8
000B918C ldr r0, [r4, #0x78]
000B9190 str r5, [r4, #0x70]
000B9194 bl 00094134
000B9198 ldr r0, [r4, #8]
000B919C str r5, [r4, #0x78]
000B91A0 bl 00094134
000B91A4 ldr r3, [r4, #0x60]
000B91A8 str r5, [r4, #8]
000B91AC movs r1, r3
000B91B0 beq 000B91C8
000B91B4 ldr r3, [r4, #4]
000B91B8 ldr r3, [r3, #4]
000B91BC ldr r0, [r3, #0x24]
000B91C0 bl 000D50E4
000B91C4 str r5, [r4, #0x60]
000B91C8 ldr r3, [r4, #4]
000B91CC mov r2, #0
000B91D0 mov r1, r4
000B91D4 ldr r0, [r3, #4]
000B91D8 bl 00096864
000B91DC strb r5, [r4, #0x5E]
000B91E0 str r5, [r4, #0x80]
000B91E4 ldmia sp!, {r4, r5, pc}