- (void) hookInsertObject:(id)anObject atIndex:(NSUInteger)index { if (anObject && index <= self.count) { [self hookInsertObject:anObject atIndex:index]; }else{ handleCrashException(JJExceptionGuardArrayContainer,[NSString stringWithFormat:@"NSMutableArray insertObject invalid index:%tu total:%tu insert object:%@",index,self.count,anObject]); } }
if (anObject && index <= self.count) {
[self hookInsertObject:anObject atIndex:index];
}else{
handleCrashException(JJExceptionGuardArrayContainer,[NSString stringWithFormat:@"NSMutableArray insertObject invalid index:%tu total:%tu insert object:%@",index,self.count,anObject]);
}
}