[TIMOB-16153] Fixed some hook related bugs related to TiSDK 3.2.0.GA.