This function returns 1 if the core is in Thumb state, 0 if the core is in ARM state.
unsigned ARMulif_ThumbBit(RDI_ModuleDesc *mdesc)
mdesc
where:
is the handle for the core.