function thermal2_gotHit() /* entry=290 class_id=0x04E8 slot=0x06 */
{
  set_info(0x020C, *(arg_06));
  process_exclude();
  FREE.slot_35(arg_0C, arg_0A);
  if (!retval) {
    local_04 = Item.getQHi(arg_06);
    if (Item.getFrame(arg_06) <= 0) {
      return;
    }
    else {
      spawn ITEM.slot_29(pid, 120, arg_0C, arg_0A, arg_06);
      suspend;
      /* dword_to_word  */
      if (process_result) {
        FREE.slot_20(1);
        if (!retval) {
        }
        return;
      }
      else {
        spawn ITEM.slot_2A(pid, 0, 2, arg_06);
        suspend;
        /* loopscr value_u8=0x24 */
        /* loopscr value_u8=0x46 */
        /* loop current_var=0xFE string_bytes=0xE loop_type=0x2 */
        while (!condition) {
          spawn ITEM.slot_2A(pid, 0, 1, local_02);
          suspend;
          /* loopnext  */
        }
        spawn TRIGGER.slot_20(pid, (0 + 0x0080), *(arg_06), arg_06);
        suspend;
        spawn FREE.slot_2C(pid, 0x00000000);
        suspend;
      }
    }
  }
  return;
}
